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

Install Error when rebuild native dependencies #77

Open
Deuscx opened this issue Sep 8, 2022 · 0 comments
Open

Install Error when rebuild native dependencies #77

Deuscx opened this issue Sep 8, 2022 · 0 comments

Comments

@Deuscx
Copy link

Deuscx commented Sep 8, 2022

when install ref-napi, install script 'node-gyp-build' error

  • node-gyp: 7.1.2
 gyp ERR! node -v v14.19.1
    gyp ERR! node-gyp -v v7.1.2
    gyp ERR! not ok
    node-pre-gyp ERR! build error
    node-pre-gyp ERR! stack Error: Failed to execute 'D:\Program Files\nodejs\node.exe D:\z\ortc-demo\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --module=D:\z\ortc-demo\node_modules\canvas\build\Release\canvas.node --module_name=canvas --module_path=D:\z\ortc-demo\node_modules\canvas\build\Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=electron-v16.2' (1)
    node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (D:\z\ortc-demo\node_modules\@mapbox\node-pre-gyp\lib\util\compile.js:89:23)
    node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:400:28)
    node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1058:16)
    node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)
    node-pre-gyp ERR! System Windows_NT 10.0.19042
    node-pre-gyp ERR! command "D:\\Program Files\\nodejs\\node.exe" "D:\\z\\ortc-demo\\node_modules\\@mapbox\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
    node-pre-gyp ERR! cwd D:\z\ortc-demo\node_modules\canvas
    node-pre-gyp ERR! node -v v14.19.1
    node-pre-gyp ERR! node-pre-gyp -v v1.0.8
    node-pre-gyp ERR! not ok
error Command failed with exit code 
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

1 participant