Skip to content

Error installing on node 12.22.10 #52

@Vaibhav-Agarwal06

Description

@Vaibhav-Agarwal06

We are getting below error when we run sudo sh build.sh
OS: ubuntu 18.04
node version: v12.22.10
npm version: 6.14.16

agorasdk.target.mk:119: recipe for target 'Release/obj.target/agorasdk/agora_node_ext/Agor
aSdk.o' failed
make: *** [Release/obj.target/agorasdk/agora_node_ext/AgoraSdk.o] Error 1
make: Leaving directory '/home/ubuntu/record/src/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/node-gyp/lib/build.js:194
:23)
gyp ERR! stack at ChildProcess.emit (events.js:314:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:276:1
2)
gyp ERR! System Linux 4.15.0-1021-aws
gyp ERR! command "/usr/bin/node" "/usr/bin/node-gyp" "build"
gyp ERR! cwd /home/ubuntu/record/src
gyp ERR! node -v v12.22.10
gyp ERR! node-gyp -v v8.4.1
gyp ERR! not ok
cp: cannot stat 'build/Release/agorasdk.node': No such file or directory

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