Closed ander7agar closed 5 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hey could you resolve the issue. I am having the same problem. I am not sure if it comes from better-sqlite3
⨯ cannot execute cause=exit status 1
out=
> better-sqlite3@7.1.1 install C:\Users\vabis\Desktop\Playground\projects\project-app\node_modules\better-sqlite3
> prebuild-install || npm run build-release
> better-sqlite3@7.1.1 build-release C:\Users\vabis\Desktop\Playground\projects\project-app\node_modules\better-sqlite3
> node-gyp rebuild --release
C:\Users\vabis\Desktop\Playground\projects\project-app\node_modules\better-sqlite3>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild --release ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild --release )
errorOut=prebuild-install WARN install No prebuilt binaries found (target=10.1.5 runtime=electron arch=x64 libc= platform=win32)
gyp ERR! clean error
gyp ERR! stack Error: EPERM: operation not permitted, unlink 'C:\Users\vabis\Desktop\Playground\projects\project-app\node_modules\better-sqlite3\build\Release\better_sqlite3.node'
gyp ERR! System Windows_NT 10.0.19041
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--release"
gyp ERR! cwd C:\Users\vabis\Desktop\Playground\projects\project-app\node_modules\better-sqlite3
gyp ERR! node -v v12.16.1
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! better-sqlite3@7.1.1 build-release: `node-gyp rebuild --release`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the better-sqlite3@7.1.1 build-release script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\vabis\AppData\Roaming\npm-cache\_logs\2021-01-03T19_30_31_413Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! better-sqlite3@7.1.1 install: `prebuild-install || npm run build-release`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the better-sqlite3@7.1.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\vabis\AppData\Roaming\npm-cache\_logs\2021-01-03T19_30_31_429Z-debug.log
command='C:\Program Files\nodejs\node.exe' 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js' rebuild better-sqlite3@7.1.1 node-sass@4.14.1
workingDir=
I'm trying to compile my application for Windows, but the compilation process throws this error:
I tried using
electron-rebuild
, but it does not solve anything. Another curious fact is that if I use theelectron-builder install-app-deps
orelectron-builder build -w --x64
it blocks inrebuilding native production dependencies ...
and never ends.In case it is necessary these are the versions: