-
Notifications
You must be signed in to change notification settings - Fork 448
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
Can't install on os x #275
Comments
I got it working on OSX but logged in as SU before installing. Don't have to stay in SU to use, but install was successful per documentation. |
You can try removing existing |
I was not able to resolve this by solely removing My Dockerfile now has these commands:
|
Hi, I have not had any issues throughout the years on OS X / macOS.
This could indeed be the package-lock.json file using some weird platform specific compilation or binding/linking. Usually I delete this file and let it regen on each system in other projects. This could be why removing it along with the |
Lots of time has passed but it seems like this is more Node/OS related We can add troubleshooting steps with the solutions you all mentioned
I'll mark this for update in the Documentation megathread (See link above). |
MBP-andrey-2:raneto owl$ cd Raneto
MBP-andrey-2:Raneto owl$ npm install
node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp ERR! Tried to download(undefined): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI, unknown) (falling back to source compile with node-gyp)
SOLINK_MODULE(target) Release/.node
SOLINK_MODULE(target) Release/.node
CXX(target) Release/obj.target/fse/fsevents.o
CXX(target) Release/obj.target/fse/fsevents.o
In file included from In file included from ../fsevents.cc../fsevents.cc::8585:
:
../src/methods.cc../src/methods.cc::1414::1212:: warningwarning: : 'Call''Call' isis deprecateddeprecated [-Wdeprecated-declarations][-Wdeprecated-declarations]
handler->Call(3, argv); handler->Call(3, argv);
../../nan/nan.h../../nan/nan.h::16171617::33:: notenote: : 'Call''Call' hashas beenbeen explicitlyexplicitly markedmarked deprecateddeprecated herehere
NAN_DEPRECATED inline v8::Localv8::Value NAN_DEPRECATED inline v8::Localv8::Value
^
^
../../nan/nan.h:98:40: ../../nan/nan.h:note98: :expanded 40from: macro 'NAN_DEPRECATED'
note: expanded from macro 'NAN_DEPRECATED'# define NAN_DEPRECATED attribute((deprecated))
define NAN_DEPRECATED attribute((deprecated))
1 warning generated.
1 warning generated.
rm: ./Release/.deps/Release/obj.target/fse/fsevents.o.d.raw: No such file or directory
make: *** [Release/obj.target/fse/fsevents.o] Error 1
gyp ERR! SOLINK_MODULE(target) Release/fse.node
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:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:182:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:239:12)
gyp ERR! System Darwin 17.5.0
gyp ERR! command "/usr/local/Cellar/node/10.9.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/owl/imperial-lab/raneto/Raneto/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node" "--module_name=fse" "--module_path=/Users/owl/imperial-lab/raneto/Raneto/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64"
gyp ERR! cwd /Users/owl/imperial-lab/raneto/Raneto/node_modules/fsevents
gyp ERR! node -v v10.9.0
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/Cellar/node/10.9.0/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/owl/imperial-lab/raneto/Raneto/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node --module_name=fse --module_path=/Users/owl/imperial-lab/raneto/Raneto/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64' (1)
node-pre-gyp ERR! stack at ChildProcess. (/Users/owl/imperial-lab/raneto/Raneto/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:182:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:961:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:250:5)
node-pre-gyp ERR! System Darwin 17.5.0
node-pre-gyp ERR! command "/usr/local/Cellar/node/10.9.0/bin/node" "/Users/owl/imperial-lab/raneto/Raneto/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/owl/imperial-lab/raneto/Raneto/node_modules/fsevents
node-pre-gyp ERR! node -v v10.9.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.39
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/Cellar/node/10.9.0/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/owl/imperial-lab/raneto/Raneto/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node --module_name=fse --module_path=/Users/owl/imperial-lab/raneto/Raneto/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64' (1)
COPY /Users/owl/imperial-lab/raneto/Raneto/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node
TOUCH Release/obj.target/action_after_build.stamp
gulp[47011]: ../src/node_contextify.cc:627:static void node::contextify::ContextifyScript::New(const FunctionCallbackInfov8::Value &): Assertion `args[1]->IsString()' failed.
1: 0x10003818c node::Abort() [/usr/local/bin/node]
2: 0x100037367 node::MakeCallback(v8::Isolate*, v8::Localv8::Object, char const*, int, v8::Localv8::Value, node::async_context) [/usr/local/bin/node]
3: 0x10005c3de node::contextify::ContextifyScript::New(v8::FunctionCallbackInfov8::Value const&) [/usr/local/bin/node]
4: 0x1001f14e8 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) [/usr/local/bin/node]
5: 0x1001f0811 v8::internal::MaybeHandlev8::internal::Object v8::internal::(anonymous namespace)::HandleApiCallHelper(v8::internal::Isolate*, v8::internal::Handlev8::internal::HeapObject, v8::internal::Handlev8::internal::HeapObject, v8::internal::Handlev8::internal::FunctionTemplateInfo, v8::internal::Handlev8::internal::Object, v8::internal::BuiltinArguments) [/usr/local/bin/node]
6: 0x1001f0270 v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) [/usr/local/bin/node]
7: 0x258a9b35c01d
8: 0x258a9b30d145
9: 0x258a9b38b900
10: 0x258a9b3118b5
11: 0x258a9b3118b5
Abort trap: 6
The text was updated successfully, but these errors were encountered: