Answer the question
In order to leave comments, you need to log in
Why does npm swear at some files when installing a library?
Following the instructions , I'm trying to install Electron and then connect React to it, but when executing
npm install --save-dev @babel/core @babel/preset-react babel-loader
Error: ENOENT: no such file or directory, copyfile 'vendor/7z-ia32.exe' -> 'vendor/7z.exe'
at Object.copyFileSync (fs.js:2059:3)
at Object.<anonymous> (C:\work\services\mix-chat-react\node_modules\electron-winstaller\script\select-7z-arch.js:14:8)
at Module._compile (internal/modules/cjs/loader.js:1068:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:933:32)
at Function.Module._load (internal/modules/cjs/loader.js:774:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47 {
errno: -4058,
syscall: 'copyfile',
code: 'ENOENT',
path: 'vendor/7z-ia32.exe',
dest: 'vendor/7z.exe'
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question