Closed s-a closed 2 years ago
I recently switched to a new computer and it was giving me the same error 'ERR_DLOPEN_FAILED'. I traced to error line to a file in my node_modules folder, so I deleted my node_modules file then reran $ npm i That seemed to fix the issue for me. Probably some type of verbiage or syntax it doesn't like in one of your packages for nodejs 14 that was standard in nodejs 12.
I've reinstalled node, npm package and in package.json changed script typed npm start dev and it worked, dont know why and dont know how.
I've reinstalled node, npm package and in package.json changed script typed npm start dev and it worked, dont know why and dont know how.
can you explain it ?
I recently switched to a new computer and it was giving me the same error 'ERR_DLOPEN_FAILED'. I traced to error line to a file in my node_modules folder, so I deleted my node_modules file then reran $ npm i That seemed to fix the issue for me. Probably some type of verbiage or syntax it doesn't like in one of your packages for nodejs 14 that was standard in nodejs 12.
This ended up working for me as well. Thank you!
Just delete node_modules and run npm i , it will resolve the issue
What version of pkg are you using?
5.5.1
What version of Node.js are you using?
v14.18.2
What operating system are you using?
Windows
What CPU architecture are you using?
x64
What Node versions, OSs and CPU architectures are you building for?
default
Describe the Bug
When I start the compiled executable if get the following error message.
I recently upgraded nodejs from 12 to 14. This worked before in node 12 and currently in node 14 when I start the app with
node
without executable container. I also tried to compile with node12-x64 but this leads also to the same errror.Expected Behavior
The error should not occur
To Reproduce
Make use of a native module (native-reg). Compile and execute.