You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
child_process: customFds option is deprecated, use stdio instead.
make: Entering directory /home/ubuntu/workspace/node_modules/sync-prompt/build' CXX(target) Release/obj.target/sync_prompt/src/sync_prompt.o ../src/sync_prompt.cc: In function ‘void setStdinEcho(bool)’: ../src/sync_prompt.cc:33:18: error: aggregate ‘setStdinEcho(bool)::termios tty’ has incomplete type and cannot be defined struct termios tty; ^ ../src/sync_prompt.cc:34:31: error: ‘tcgetattr’ was not declared in this scope tcgetattr(STDIN_FILENO, &tty); ^ ../src/sync_prompt.cc:36:21: error: ‘ECHO’ was not declared in this scope tty.c_lflag &= ~ECHO; ^ ../src/sync_prompt.cc:38:20: error: ‘ECHO’ was not declared in this scope tty.c_lflag |= ECHO; ^ ../src/sync_prompt.cc:40:34: error: ‘TCSANOW’ was not declared in this scope (void) tcsetattr(STDIN_FILENO, TCSANOW, &tty); ^ ../src/sync_prompt.cc:40:47: error: ‘tcsetattr’ was not declared in this scope (void) tcsetattr(STDIN_FILENO, TCSANOW, &tty); ^ make: *** [Release/obj.target/sync_prompt/src/sync_prompt.o] Error 1 make: Leaving directory/home/ubuntu/workspace/node_modules/sync-prompt/build'
gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
gyp ERR! System Linux 3.14.13-c9
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/ubuntu/workspace/node_modules/sync-prompt
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm ERR! Linux 3.14.13-c9
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "sync-prompt"
npm ERR! node v0.12.0
npm ERR! npm v2.5.1
npm ERR! code ELIFECYCLE
npm ERR! sync-prompt@0.4.1 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sync-prompt@0.4.1 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the sync-prompt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls sync-prompt
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/ubuntu/workspace/npm-debug.log
The text was updated successfully, but these errors were encountered:
I see the following message on trying 'npm install sync-prompt'
child_process: customFds option is deprecated, use stdio instead.
make: Entering directory
/home/ubuntu/workspace/node_modules/sync-prompt/build' CXX(target) Release/obj.target/sync_prompt/src/sync_prompt.o ../src/sync_prompt.cc: In function ‘void setStdinEcho(bool)’: ../src/sync_prompt.cc:33:18: error: aggregate ‘setStdinEcho(bool)::termios tty’ has incomplete type and cannot be defined struct termios tty; ^ ../src/sync_prompt.cc:34:31: error: ‘tcgetattr’ was not declared in this scope tcgetattr(STDIN_FILENO, &tty); ^ ../src/sync_prompt.cc:36:21: error: ‘ECHO’ was not declared in this scope tty.c_lflag &= ~ECHO; ^ ../src/sync_prompt.cc:38:20: error: ‘ECHO’ was not declared in this scope tty.c_lflag |= ECHO; ^ ../src/sync_prompt.cc:40:34: error: ‘TCSANOW’ was not declared in this scope (void) tcsetattr(STDIN_FILENO, TCSANOW, &tty); ^ ../src/sync_prompt.cc:40:47: error: ‘tcsetattr’ was not declared in this scope (void) tcsetattr(STDIN_FILENO, TCSANOW, &tty); ^ make: *** [Release/obj.target/sync_prompt/src/sync_prompt.o] Error 1 make: Leaving directory
/home/ubuntu/workspace/node_modules/sync-prompt/build'gyp ERR! build error
gyp ERR! stack Error:
make
failed with exit code: 2gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
gyp ERR! System Linux 3.14.13-c9
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/ubuntu/workspace/node_modules/sync-prompt
gyp ERR! node -v v0.12.0
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok
npm ERR! Linux 3.14.13-c9
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "sync-prompt"
npm ERR! node v0.12.0
npm ERR! npm v2.5.1
npm ERR! code ELIFECYCLE
npm ERR! sync-prompt@0.4.1 install:
node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sync-prompt@0.4.1 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the sync-prompt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls sync-prompt
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/ubuntu/workspace/npm-debug.log
The text was updated successfully, but these errors were encountered: