Skip to content

Instantly share code, notes, and snippets.

@JoshBroomberg
Created October 10, 2016 21:30
Show Gist options
  • Save JoshBroomberg/c94a0c421a57ddf007dbb0e0f204c957 to your computer and use it in GitHub Desktop.
Save JoshBroomberg/c94a0c421a57ddf007dbb0e0f204c957 to your computer and use it in GitHub Desktop.
npm WARN package.json minerva-schools@0.1.0 No repository field.
npm WARN package.json minerva-schools@0.1.0 No license field.
npm WARN deprecated URIjs@1.16.1: package renamed to "urijs" (lower-case), please update accordingly
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@1.0.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN optional dep failed, continuing fsevents@1.0.14
> jpegtran-bin@3.1.0 postinstall /srv/schools/node_modules/image-webpack-loader/node_modules/imagemin/node_modules/imagemin-jpegtran/node_modules/jpegtran-bin
> node lib/install.js
✔ jpegtran pre-build test passed successfully
> optipng-bin@3.1.2 postinstall /srv/schools/node_modules/image-webpack-loader/node_modules/imagemin/node_modules/imagemin-optipng/node_modules/optipng-bin
> node lib/install.js
✔ optipng pre-build test passed successfully
> gifsicle@3.0.4 postinstall /srv/schools/node_modules/image-webpack-loader/node_modules/imagemin/node_modules/imagemin-gifsicle/node_modules/gifsicle
> node lib/install.js
✔ gifsicle pre-build test passed successfully
> pngquant-bin@3.1.1 postinstall /srv/schools/node_modules/image-webpack-loader/node_modules/imagemin-pngquant/node_modules/pngquant-bin
> node lib/install.js
✔ pngquant pre-build test passed successfully
npm WARN deprecated to-iso-string@0.0.2: to-iso-string has been deprecated, use @segment/to-iso-string instead.
npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade
-
> node-sass@1.2.3 install /srv/schools/node_modules/grunt-sass/node_modules/node-sass
> node scripts/install.js
Binary downloaded and installed at /srv/schools/node_modules/grunt-sass/node_modules/node-sass/vendor/linux-x64/binding.node
npm WARN deprecated graceful-fs@2.0.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
> node-sass@0.9.6 install /srv/schools/node_modules/node-sass
> node build.js
(node) child_process: options.customFds option is deprecated. Use options.stdio instead.
make: Entering directory `/srv/schools/node_modules/node-sass/build'
CXX(target) Release/obj.target/binding/binding.o
In file included from ../binding.cpp:1:0:
../node_modules/nan/nan.h: In function 'v8::Local<v8::Signature> NanNew(v8::Handle<v8::FunctionTemplate>, int, v8::Handle<v8::FunctionTemplate>*)':
../node_modules/nan/nan.h:189:78: error: no matching function for call to 'v8::Signature::New(v8::Isolate*, v8::Handle<v8::FunctionTemplate>&, int&, v8::Handle<v8::FunctionTemplate>*&)'
return v8::Signature::New(v8::Isolate::GetCurrent(), receiver, argc, argv);
^
../node_modules/nan/nan.h:189:78: note: candidate is:
In file included from /home/vagrant/.node-gyp/4.6.0/include/node/node.h:42:0,
from ../node_modules/nan/nan.h:23,
from ../binding.cpp:1:
/home/vagrant/.node-gyp/4.6.0/include/node/v8.h:4675:27: note: static v8::Local<v8::Signature> v8::Signature::New(v8::Isolate*, v8::Local<v8::FunctionTemplate>)
static Local<Signature> New(
^
/home/vagrant/.node-gyp/4.6.0/include/node/v8.h:4675:27: note: candidate expects 2 arguments, 4 provided
In file included from ../binding.cpp:1:0:
../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:271:3: error: redefinition of 'v8::Local<T> NanNew(P) [with T = v8::StringObject; P = v8::Local<v8::String>]'
NanNew<v8::StringObject, v8::Handle<v8::String> >(
^
../node_modules/nan/nan.h:264:3: error: 'v8::Local<T> NanNew(P) [with T = v8::StringObject; P = v8::Local<v8::String>]' previously declared here
NanNew<v8::StringObject, v8::Local<v8::String> >(
^
../node_modules/nan/nan.h:289:36: error: redefinition of 'template<class T> v8::Local<v8::RegExp> NanNew(v8::Local<v8::String>, v8::RegExp::Flags)'
NAN_INLINE v8::Local<v8::RegExp> NanNew(
^
../node_modules/nan/nan.h:283:36: error: 'template<class T> v8::Local<v8::RegExp> NanNew(v8::Handle<v8::String>, v8::RegExp::Flags)' previously declared here
NAN_INLINE v8::Local<v8::RegExp> NanNew(
^
../node_modules/nan/nan.h:301:36: error: redefinition of 'template<class T, class P> v8::Local<v8::RegExp> NanNew(v8::Local<v8::String>, v8::RegExp::Flags)'
NAN_INLINE v8::Local<v8::RegExp> NanNew(
^
../node_modules/nan/nan.h:295:36: error: 'template<class T, class P> v8::Local<v8::RegExp> NanNew(v8::Handle<v8::String>, v8::RegExp::Flags)' previously declared here
NAN_INLINE v8::Local<v8::RegExp> NanNew(
^
../node_modules/nan/nan.h:481:19: error: 'NanNew' declared as an 'inline' variable
v8::String::ExternalAsciiStringResource *resource) {
^
../node_modules/nan/nan.h:481:19: warning: 'always_inline' attribute ignored [-Wattributes]
../node_modules/nan/nan.h:481:19: error: 'v8::Local<v8::String> NanNew' redeclared as different kind of symbol
../node_modules/nan/nan.h:475:36: error: previous declaration of 'v8::Local<v8::String> NanNew(v8::String::ExternalStringResource*)'
NAN_INLINE v8::Local<v8::String> NanNew(
^
../node_modules/nan/nan.h:481:7: error: 'ExternalAsciiStringResource' is not a member of 'v8::String'
v8::String::ExternalAsciiStringResource *resource) {
^
../node_modules/nan/nan.h:481:48: error: 'resource' was not declared in this scope
v8::String::ExternalAsciiStringResource *resource) {
^
../node_modules/nan/nan.h:495:27: error: redefinition of 'template<class T> v8::Local<T> _NanEscapeScopeHelper(v8::Local<T>)'
NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Local<T> val) {
^
../node_modules/nan/nan.h:490:27: error: 'template<class T> v8::Local<T> _NanEscapeScopeHelper(v8::Handle<T>)' previously declared here
NAN_INLINE v8::Local<T> _NanEscapeScopeHelper(v8::Handle<T> val) {
^
../node_modules/nan/nan.h:755:13: error: 'node::smalloc' has not been declared
, node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h:755:35: error: expected ',' or '...' before 'callback'
, node::smalloc::FreeCallback callback
^
../node_modules/nan/nan.h: In function 'v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)':
../node_modules/nan/nan.h:759:50: error: 'callback' was not declared in this scope
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h:759:60: error: 'hint' was not declared in this scope
v8::Isolate::GetCurrent(), data, length, callback, hint);
^
../node_modules/nan/nan.h: In function 'v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)':
../node_modules/nan/nan.h:766:67: error: call of overloaded 'New(v8::Isolate*, const char*&, uint32_t&)' is ambiguous
return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
^
../node_modules/nan/nan.h:766:67: note: candidates are:
In file included from ../node_modules/nan/nan.h:24:0,
from ../binding.cpp:1:
/home/vagrant/.node-gyp/4.6.0/include/node/node_buffer.h:34:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding) <near match>
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/home/vagrant/.node-gyp/4.6.0/include/node/node_buffer.h:34:40: note: no known conversion for argument 3 from 'uint32_t {aka unsigned int}' to 'node::encoding'
/home/vagrant/.node-gyp/4.6.0/include/node/node_buffer.h:46:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t) <near match>
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
^
/home/vagrant/.node-gyp/4.6.0/include/node/node_buffer.h:46:40: note: no known conversion for argument 2 from 'const char*' to 'char*'
In file included from ../binding.cpp:1:0:
../node_modules/nan/nan.h: In function 'v8::Local<v8::Object> NanNewBufferHandle(uint32_t)':
../node_modules/nan/nan.h:770:61: error: could not convert 'node::Buffer::New(v8::Isolate::GetCurrent(), ((size_t)size))' from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object>'
return node::Buffer::New(v8::Isolate::GetCurrent(), size);
^
../node_modules/nan/nan.h: In function 'v8::Local<v8::Object> NanBufferUse(char*, uint32_t)':
../node_modules/nan/nan.h:777:12: error: 'Use' is not a member of 'node::Buffer'
return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
^
../node_modules/nan/nan.h: In function 'bool _NanGetExternalParts(v8::Handle<v8::Value>, const char**, size_t*)':
../node_modules/nan/nan.h:2103:12: error: 'class v8::String' has no member named 'IsExternalAscii'
if (str->IsExternalAscii()) {
^
../node_modules/nan/nan.h:2104:11: error: 'ExternalAsciiStringResource' in 'class v8::String' does not name a type
const v8::String::ExternalAsciiStringResource* ext;
^
../node_modules/nan/nan.h:2105:5: error: 'ext' was not declared in this scope
ext = str->GetExternalAsciiStringResource();
^
../node_modules/nan/nan.h:2105:16: error: 'class v8::String' has no member named 'GetExternalAsciiStringResource'
ext = str->GetExternalAsciiStringResource();
^
../binding.cpp: In function 'void MakeCallback(uv_work_t*)':
../binding.cpp:138:35: warning: 'void node::FatalException(const v8::TryCatch&)' is deprecated (declared at /home/vagrant/.node-gyp/4.6.0/include/node/node.h:283): Use FatalException(isolate, ...) [-Wdeprecated-declarations]
node::FatalException(try_catch);
^
make: *** [Release/obj.target/binding/binding.o] Error 1
make: Leaving directory `/srv/schools/node_modules/node-sass/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 3.13.0-96-generic
gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /srv/schools/node_modules/node-sass
gyp ERR! node -v v4.6.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
Build failed
> node-sass@1.2.3 postinstall /srv/schools/node_modules/grunt-sass/node_modules/node-sass
> node scripts/build.js
`linux-x64` exists; testing
module.js:434
return process.dlopen(module, path._makeLong(filename));
^
Error: Module did not self-register.
at Error (native)
at Object.Module._extensions..node (module.js:434:18)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/srv/schools/node_modules/grunt-sass/node_modules/node-sass/lib/index.js:181:15)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
npm ERR! Linux 3.13.0-96-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.6.0
npm ERR! npm v2.15.9
npm ERR! code ELIFECYCLE
npm ERR! node-sass@0.9.6 install: `node build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@0.9.6 install script 'node build.js'.
npm ERR! This is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node build.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs node-sass
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls node-sass
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /srv/schools/npm-debug.log
vagrant@schools:/srv/schools$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment