Skip to content

Install Error when rebuild native dependencies #77

Description

@Deuscx

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 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions