Skip to content

Unable to send data to MindSphere: Unexpected token '=' #155

Answered by sn0wcat
Mbonss asked this question in Q&A
Discussion options

You must be logged in to vote

I could reproduce it. The problem only occurs if you install the mindconnect node while building the docker image.

FROM nodered/node-red:2.1.3
RUN  npm install @mindconnect/node-red-contrib-mindconnect

This will show the following error, and the error you are seeing is just a follow up error because the validation function can't find the AJV library.

npm WARN [email protected] requires a peer of ajv@^8.8.2 but none is installed. You must install peer dependencies yourself.

For some reason npm has a problem to handle dependencies in the version 2.1.3 of the image when installing the library via NPM command while building docker container.

This doesn't happen if you use e.g. the latest v…

Replies: 4 comments 6 replies

Comment options

You must be logged in to vote
3 replies
@Mbonss
Comment options

@sn0wcat
Comment options

@Mbonss
Comment options

Comment options

You must be logged in to vote
1 reply
@Mbonss
Comment options

Comment options

You must be logged in to vote
1 reply
@Mbonss
Comment options

Comment options

You must be logged in to vote
1 reply
@Mbonss
Comment options

Answer selected by sn0wcat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants