Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failed with Node 0.10.21 and npm 1.4.21 #433

Closed
sbrunner opened this issue Dec 4, 2015 · 3 comments
Closed

Build failed with Node 0.10.21 and npm 1.4.21 #433

sbrunner opened this issue Dec 4, 2015 · 3 comments
Milestone

Comments

@sbrunner
Copy link
Member

sbrunner commented Dec 4, 2015

related to #424 (comment)

@sbrunner sbrunner changed the title Build failed with Node 0.10.21 Build failed with Node 0.10.21 and npm 1.4.21 Dec 4, 2015
@sbrunner
Copy link
Member Author

The errors I have:

npm install --force
npm WARN using --force I sure hope you know what you are doing.
npm WARN package.json demo@0.0.1 No repository field.

> utf-8-validate@1.2.1 install /var/www/vhosts/geomapfish-demo/private/master/node_modules/openlayers/node_modules/closure-util/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate
> node-gyp rebuild

make[1]: Entering directory '/var/www/vhosts/geomapfish-demo/private/master/node_modules/openlayers/node_modules/closure-util/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate/build'
  CXX(target) Release/obj.target/validation/src/validation.o
In file included from ../src/validation.cc:15:0:
../node_modules/nan/nan.h:328:47: error: ‘REPLACE_INVALID_UTF8’ is not a member of ‘v8::String’
   static const unsigned kReplaceInvalidUtf8 = v8::String::REPLACE_INVALID_UTF8;
                                               ^
validation.target.mk:86: recipe for target 'Release/obj.target/validation/src/validation.o' failed
make[1]: *** [Release/obj.target/validation/src/validation.o] Error 1
make[1]: Leaving directory '/var/www/vhosts/geomapfish-demo/private/master/node_modules/openlayers/node_modules/closure-util/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/share/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:809:12)
gyp ERR! System Linux 3.16.0-4-amd64
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /var/www/vhosts/geomapfish-demo/private/master/node_modules/openlayers/node_modules/closure-util/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/utf-8-validate
gyp ERR! node -v v0.10.29
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok 
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

@sbrunner
Copy link
Member Author

For me the suspect commit is: openlayers/openlayers@3f30072

@fredj
Copy link
Member

fredj commented Jan 19, 2016

See nodejs/nan#414

sbrunner added a commit to camptocamp/c2cgeoportal that referenced this issue Jan 19, 2016
sbrunner added a commit to camptocamp/c2cgeoportal that referenced this issue Jan 22, 2016
sbrunner added a commit to camptocamp/c2cgeoportal that referenced this issue Jan 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants