Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting UNCAUGHT EXCEPTION while doing npm run build:windows #176

Open
HARJEETSINGHX opened this issue Feb 20, 2024 · 1 comment
Open

Getting UNCAUGHT EXCEPTION while doing npm run build:windows #176

HARJEETSINGHX opened this issue Feb 20, 2024 · 1 comment

Comments

@HARJEETSINGHX
Copy link

HARJEETSINGHX commented Feb 20, 2024

I have cloned the repo and am doing npm: run build: windows getting the following error.

Please let me know what am doing wrong.

node-pre-gyp ERR! UNCAUGHT EXCEPTION node-pre-gyp ERR! stack Error: ENOENT: no such file or directory, rename 'build-tmp-napi-v3' -> 'build' node-pre-gyp ERR! stack at Object.renameSync (fs.js:756:3) node-pre-gyp ERR! stack at Object.module.exports.swap_build_dir_in (C:\Users\91956\AppData\Roaming\nvm\v14.0.0\node_modules\node-pre-gyp\lib\util\napi.js:179:6) node-pre-gyp ERR! stack at C:\Users\91956\AppData\Roaming\nvm\v14.0.0\node_modules\node-pre-gyp\lib\build.js:21:18 node-pre-gyp ERR! stack at handle_gyp_opts (C:\Users\91956\AppData\Roaming\nvm\v14.0.0\node_modules\node-pre-gyp\lib\util\handle_gyp_opts.js:102:12) node-pre-gyp ERR! stack at do_build (C:\Users\91956\AppData\Roaming\nvm\v14.0.0\node_modules\node-pre-gyp\lib\build.js:13:5) node-pre-gyp ERR! stack at build (C:\Users\91956\AppData\Roaming\nvm\v14.0.0\node_modules\node-pre-gyp\lib\build.js:49:16) node-pre-gyp ERR! stack at Object.self.commands.<computed> [as build] (C:\Users\91956\AppData\Roaming\nvm\v14.0.0\node_modules\node-pre-gyp\lib\node-pre-gyp.js:52:37) node-pre-gyp ERR! stack at run (C:\Users\91956\AppData\Roaming\nvm\v14.0.0\node_modules\node-pre-gyp\bin\node-pre-gyp:82:30) node-pre-gyp ERR! stack at Object.<anonymous> (C:\Users\91956\AppData\Roaming\nvm\v14.0.0\node_modules\node-pre-gyp\bin\node-pre-gyp:134:1) node-pre-gyp ERR! stack at Module._compile (internal/modules/cjs/loader.js:1185:30) node-pre-gyp ERR! System Windows_NT 10.0.22000 node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "build" "--debug" node-pre-gyp ERR! cwd C:\Users\91956\active-win

Screenshot 2024-02-20 224638
@Nantris
Copy link

Nantris commented Sep 12, 2024

It builds for me. What version of Windows? Are you running cmd as administrator? You probably shouldn't be doing that, though I don't know it's necessarily the cause of your problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants