-
Hi, I added the master branch to my yocto project. Fetching and compilation worked without issues, but when I deploy the result to my target system and run node.js I get this error:
Looking at the repo I can not find the /dist/ directory as well. I reckon that I overlook something... |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi! The Line 40 in 2f96438 |
Beta Was this translation helpful? Give feedback.
-
Ok, I managed to get it to work. The trick was to use the Registry Module Approach with devtool instead of the projects code approach. Means using devtool add "npm://registry.npmjs.org;package=socket.io;version=4.4.1" instead of devtool add https://github.com/socketio... |
Beta Was this translation helpful? Give feedback.
Ok, I managed to get it to work. The trick was to use the Registry Module Approach with devtool instead of the projects code approach. Means using devtool add "npm://registry.npmjs.org;package=socket.io;version=4.4.1" instead of devtool add https://github.com/socketio...
That created successfully the /dist directory and copied it on the target system. Don't know why the git approach did not work in this case, as other npm packages do work like this. But I am glad that it is up and running now.