问题
Getting below error for return process.dlopen(module, path._makeLong(filename))
module.js:597
return process.dlopen(module, path._makeLong(filename));
^
Error: The specified procedure could not be found.
\\?\C:\SLIM_WORKSPACE\slim\slim-web\node_modules\gulp-sass\node_modules\node-sass\vendor\win32-x64\binding.node
at Error (native)
at Object.Module._extensions..node (module.js:597:18)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (C:\SLIM_WORKSPACE\slim\slim-web\node_modules\gulp-sass\node_modules\node-sass\lib\index.js:211:15)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
回答1:
I know am a bit late but this worked for me.
Issue these commands to help you remove/delete your project modules and then update them
$rm -rf node_modules/
$npm update
回答2:
You only need to update your node and npm packages in the latest version.
$nvm install --lts // For install Node latest version
$npm update // For update all NPM packages in latest version
$nvm alias default **versionName** // For steup node default version of your PC or server```
来源:https://stackoverflow.com/questions/46398592/node-js-error-return-process-dlopenmodule-path-makelongfilename