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
I get an error Cannot find module '../build/default/canvas', and when I follow the steps described in the Requirements the "node-gyp configure" command does not work as expected... :/
Firs issue, I have to make
sudo nodejs /usr/local/lib/node_modules/node-gyp/bin/node-gyp.js configure in order to avoid a "command not found" error feedback.
Second issue (and hopefully, last ;) ), when launching this command I get the following error :
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp info spawn python
gyp info spawn args [ '/usr/local/lib/node_modules/node-gyp/gyp/gyp',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/home/yann/bombayCrushed/Bombay-Crushed/node_modules/canvas/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/home/yann/.node-gyp/0.6.19/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/home/yann/.node-gyp/0.6.19',
gyp info spawn args '-Dmodule_root_dir=/home/yann/bombayCrushed/Bombay-Crushed/node_modules/canvas',
gyp info spawn args '--depth=.',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.' ]
/bin/sh: 1: node: not found
gyp: Call to 'node -p -e "require('path').relative('.', require('path').dirname(require.resolve('nan')))"' returned exit status 127. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/node-gyp/lib/configure.js:415:16)
gyp ERR! stack at ChildProcess.emit (events.js:70:17)
gyp ERR! stack at maybeExit (child_process.js:362:16)
gyp ERR! stack at Process.onexit (child_process.js:398:5)
gyp ERR! System Linux 3.2.53-xenU-8869-x86_64
gyp ERR! command "nodejs" "/usr/local/lib/node_modules/node-gyp/bin/node-gyp.js" "configure"
gyp ERR! cwd /home/yann/bombayCrushed/Bombay-Crushed/node_modules/canvas
gyp ERR! node -v v0.6.19
gyp ERR! node-gyp -v v0.9.6
gyp ERR! not ok
Any idea appreciated... Thanks !
The text was updated successfully, but these errors were encountered:
Hello,
I get an error Cannot find module '../build/default/canvas', and when I follow the steps described in the Requirements the "node-gyp configure" command does not work as expected... :/
Firs issue, I have to make
sudo nodejs /usr/local/lib/node_modules/node-gyp/bin/node-gyp.js configure in order to avoid a "command not found" error feedback.
Second issue (and hopefully, last ;) ), when launching this command I get the following error :
Any idea appreciated... Thanks !
The text was updated successfully, but these errors were encountered: