Skip to content

ERR! build error #434

@sachinbanugariya

Description

@sachinbanugariya

Description

build not complited gives errors

Expected Behavior

Actual Behavior

Possible Fix

Screenshots or Log

root@test:~/NodeOS# npm install

node-pty@0.6.10 install /root/NodeOS/node_modules/node-pty
node scripts/install.js

make: Entering directory '/root/NodeOS/node_modules/node-pty/build'
CXX(target) Release/obj.target/pty/src/unix/pty.o
pty.target.mk:101: recipe for target 'Release/obj.target/pty/src/unix/pty.o' failed
make: *** [Release/obj.target/pty/src/unix/pty.o] Error 127
make: Leaving directory '/root/NodeOS/node_modules/node-pty/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/root/NodeOS/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Linux 4.15.0-64-generic
gyp ERR! command "/usr/bin/node" "/root/NodeOS/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /root/NodeOS/node_modules/node-pty
gyp ERR! node -v v8.10.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
NodeOS@1.0.0-RC3 /root/NodeOS
└── (empty)

npm ERR! Linux 4.15.0-64-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE

npm ERR! node-pty@0.6.10 install: node scripts/install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-pty@0.6.10 install script 'node scripts/install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-pty package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node scripts/install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs node-pty
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls node-pty
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /root/NodeOS/npm-debug.log
npm ERR! code 1

Steps to Reproduce

  1. fresh install ubuntu 18
  2. install git and npm
  3. clone repo of nodeos
  4. inside repo first step : bin/install-dependencies
  5. second step: npm install >> gives error, which pasted above.

Context

npm install

Your Environment

  • Operating System used: ubuntu 18
  • Platform used: linux
  • Node Version used (locally): v8.10.0
  • NPM Version used (locally): 3.5.2
  • NodeOS Version used: lastest cloned
  • Special Environment Variables used:
  • Link to your project:

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