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
{{ message }}
This repository has been archived by the owner on Dec 9, 2018. It is now read-only.
I'm also having installation issues when running "npm install contextify"
Here is my output:
>[email protected] preinstall /Users/applemacbookpro/Sites/node/project/node_modules/contextify
> node-waf clean ||true; node-waf configure build
Nothing to clean (project not configured)
Setting srcdir to : /Users/applemacbookpro/Sites/node/project/node_modules/contextify
Setting blddir to : /Users/applemacbookpro/Sites/node/project/node_modules/contextify/build
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /usr
'configure' finished successfully (0.065s)
Waf: Entering directory `/Users/applemacbookpro/Sites/node/project/node_modules/contextify/build'[1/2] cxx: src/contextify.cc -> build/Release/src/contextify_1.o../src/contextify.cc:1:18: error: node.h: No such file or directory../src/contextify.cc:3: error: ‘v8’ is not a namespace-name../src/contextify.cc:3: error: expected namespace-name before ‘;’ token../src/contextify.cc:4: error: ‘node’ is not a namespace-name../src/contextify.cc:4: error: expected namespace-name before ‘;’ token../src/contextify.cc:8: error: expected initializer before ‘<’ token../src/contextify.cc:9: error: expected initializer before ‘<’ token../src/contextify.cc:10: error: expected initializer before ‘<’ token../src/contextify.cc:11: error: expected initializer before ‘<’ token../src/contextify.cc:14: error: expected initializer before ‘<’ token../src/contextify.cc:16: error: expected initializer before ‘<’ token../src/contextify.cc:19: error: expected initializer before ‘<’ token../src/contextify.cc:21: error: expected initializer before ‘<’ token../src/contextify.cc:23: error: expected initializer before ‘<’ token../src/contextify.cc:28: error: ISO C++ forbids declaration of ‘Persistent’ with no type../src/contextify.cc:28: error: expected ‘;’ before ‘<’ token../src/contextify.cc:29: error: ISO C++ forbids declaration of ‘Persistent’ with no type../src/contextify.cc:29: error: expected ‘;’ before ‘<’ token../src/contextify.cc:30: error: ISO C++ forbids declaration of ‘Persistent’ with no type../src/contextify.cc:30: error: expected ‘;’ before ‘<’ token../src/contextify.cc:32: error: ‘Persistent’ has not been declared../src/contextify.cc:32: error: expected ‘,’ or ‘...’ before ‘<’ token../src/contextify.cc:36: error: ‘Local’ has not been declared../src/contextify.cc:36: error: expected ‘,’ or ‘...’ before ‘<’ token../src/contextify.cc:40: error: ‘Local’ has not been declared../src/contextify.cc:40: error: expected ‘,’ or ‘...’ before ‘<’ token../src/contextify.cc: In member function ‘void ContextifyInfo::SetContext(int)’:../src/contextify.cc:33: error: ‘struct ContextifyInfo’ has no member named ‘context’../src/contextify.cc:33: error: ‘context’ was not declared in this scope../src/contextify.cc: In member function ‘void ContextifyInfo::SetSandbox(int)’:../src/contextify.cc:37: error: ‘struct ContextifyInfo’ has no member named ‘sandbox’../src/contextify.cc:37: error: ‘Persistent’ was not declared in this scope../src/contextify.cc:37: error: ‘Object’ was not declared in this scope../src/contextify.cc:37: error: ‘::New’ has not been declared../src/contextify.cc:37: error: ‘sandbox’ was not declared in this scope../src/contextify.cc: In member function ‘void ContextifyInfo::SetGlobal(int)’:../src/contextify.cc:41: error: ‘struct ContextifyInfo’ has no member named ‘global’../src/contextify.cc:41: error: ‘Persistent’ was not declared in this scope../src/contextify.cc:41: error: ‘Object’ was not declared in this scope../src/contextify.cc:41: error: ‘::New’ has not been declared../src/contextify.cc:41: error: ‘global’ was not declared in this scope../src/contextify.cc: At global scope:../src/contextify.cc:49: error: expected initializer before ‘<’ tokenWaf: Leaving directory `/Users/applemacbookpro/Sites/node/project/node_modules/contextify/build'Build failed: -> task failed (err #1): {task: cxx contextify.cc -> contextify_1.o}npm ERR! error installing [email protected] Error: [email protected] preinstall: `node-waf clean ||true; node-waf configure build`npm ERR! error installing [email protected]`sh "-c""node-waf clean || true; node-waf configure build"` failed with 1npm ERR! error installing [email protected] at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/exec.js:49:20)npm ERR! error installing [email protected] at ChildProcess.emit (events.js:67:17)npm ERR! error installing [email protected] at ChildProcess.onexit (child_process.js:192:12)npm ERR![email protected] preinstall: `node-waf clean ||true; node-waf configure build`npm ERR!`sh "-c""node-waf clean || true; node-waf configure build"` failed with 1npm ERR!npm ERR! Failed at the [email protected] preinstall script.npm ERR! This is most likely a problem with the contextify package,npm ERR! not with npm itself.npm ERR! Tell the author that this fails on your system:npm ERR! node-waf clean ||true; node-waf configure buildnpm ERR! You can get their info via:npm ERR! npm owner ls contextifynpm ERR! There is likely additional logging output above.npm ERR!npm ERR! System Darwin 10.8.0npm ERR!command"node""/usr/bin/npm""install""contextify"npm ERR!npm ERR! Additional logging details can be found in:npm ERR! /Users/applemacbookpro/Sites/node/project/npm-debug.lognpm not ok
node v 0.4.8
npm v 1.0.6
node-waf v 1.5.16
Any idea what it is?
The text was updated successfully, but these errors were encountered:
It looks like it can't find the v8 or node header files....so something is probably broken with your installation. Have you tried re-installing node? Do you have v8.h and node.h on your system? npm 1.0.6 is old at this point, so you could also try checking out the code and building it to see if it's something with npm (run node-waf configure build in the contextify directory).
I'm also having installation issues when running "npm install contextify"
Here is my output:
node v 0.4.8
npm v 1.0.6
node-waf v 1.5.16
Any idea what it is?
The text was updated successfully, but these errors were encountered: