Error: The specified module could not be found on window10
panda6412 opened this issue · comments
LiouYouYang commented
I am trying require('imagemagick-native'), after I have followed README.md , installed lots of thing, but it output this log, I have no idea how to trace, could anybody give some advise or opinion
const imagemagick= require('imagemagick-native');
Below is the error log
internal/modules/cjs/loader.js:730
return process.dlopen(module, path.toNamespacedPath(filename));
^
Error: The specified module could not be found.
\\?\C:\project\print-helper-server\node_modules\imagemagick-native\build\Release\imagemagick.node
at Object.Module._extensions..node (internal/modules/cjs/loader.js:730:18)
at Module.load (internal/modules/cjs/loader.js:600:32)
at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
at Function.Module._load (internal/modules/cjs/loader.js:531:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.<anonymous> (C:\project\print-helper-server\node_modules\imagemagick-native\index.js:1:18)
at Module._compile (internal/modules/cjs/loader.js:701:30)
at Module._compile (C:\project\print-helper-server\node_modules\pirates\lib\index.js:99:24)
at Module._extensions..js (internal/modules/cjs/loader.js:712:10)
[nodemon] app crashed - waiting for file changes before starting...
Here is my environment version
- Windows 10 x64
- node (v10.15.3)
- Visual Studio 2015 Community
- Windows 7 64-bit SDK
- Imagemagick dll binary x86 Q16 (v6.8.9-6)