Skip to content

Instantly share code, notes, and snippets.

@rubystar
Last active November 16, 2017 14:13
Show Gist options
  • Save rubystar/20fbc462598413e3c2bb24b1ed98c487 to your computer and use it in GitHub Desktop.
Save rubystar/20fbc462598413e3c2bb24b1ed98c487 to your computer and use it in GitHub Desktop.
error installing web driver io tests
[venkat@localhost modular-social-insights]$ npm install
> [email protected] install /home/venkat/workspace/modular-social-insights/node_modules/fibers
> node build.js || nodejs build.js
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
make: Entering directory `/home/venkat/workspace/modular-social-insights/node_modules/fibers/build'
CXX(target) Release/obj.target/fibers/src/fibers.o
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/memory:83,
from /home/venkat/.node-gyp/7.3.0/include/node/v8.h:21,
from /home/venkat/.node-gyp/7.3.0/include/node/node.h:42,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/shared_ptr.h: In member function ‘virtual void* std::_Sp_counted_deleter<_Ptr, _Deleter, _Alloc, _Lp>::_M_get_deleter(const std::type_info&)’:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/shared_ptr.h:146: error: cannot use typeid with -fno-rtti
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/shared_ptr.h: In member function ‘virtual void* std::_Sp_counted_ptr_inplace<_Tp, _Alloc, _Lp>::_M_get_deleter(const std::type_info&)’:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/shared_ptr.h:204: error: cannot use typeid with -fno-rtti
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/shared_ptr.h: In constructor ‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, _Alloc, _Args&& ...)’:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/shared_ptr.h:861: error: cannot use typeid with -fno-rtti
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/shared_ptr.h: In function ‘_Del* std::get_deleter(const std::__shared_ptr<_Tp2, _Lp>&)’:
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/shared_ptr.h:1005: error: cannot use typeid with -fno-rtti
In file included from /home/venkat/.node-gyp/7.3.0/include/node/node.h:42,
from ../src/coroutine.h:1,
from ../src/fibers.cc:1:
/home/venkat/.node-gyp/7.3.0/include/node/v8.h: At global scope:
/home/venkat/.node-gyp/7.3.0/include/node/v8.h:346: error: expected unqualified-id before ‘using’
/home/venkat/.node-gyp/7.3.0/include/node/v8.h: In constructor ‘v8::MaybeLocal<T>::MaybeLocal()’:
/home/venkat/.node-gyp/7.3.0/include/node/v8.h:363: error: ‘nullptr’ was not declared in this scope
/home/venkat/.node-gyp/7.3.0/include/node/v8.h: In member function ‘bool v8::MaybeLocal<T>::IsEmpty() const’:
/home/venkat/.node-gyp/7.3.0/include/node/v8.h:370: error: ‘nullptr’ was not declared in this scope
/home/venkat/.node-gyp/7.3.0/include/node/v8.h: In member function ‘bool v8::MaybeLocal<T>::ToLocal(v8::Local<S>*) const’:
/home/venkat/.node-gyp/7.3.0/include/node/v8.h:374: error: ‘nullptr’ was not declared in this scope
/home/venkat/.node-gyp/7.3.0/include/node/v8.h: In member function ‘bool v8::WeakCallbackInfo<T>::IsFirstPass() const’:
/home/venkat/.node-gyp/7.3.0/include/node/v8.h:442: error: ‘nullptr’ was not declared in this scope
/home/venkat/.node-gyp/7.3.0/include/node/v8.h: In constructor ‘v8::Global<T>::Global()’:
/home/venkat/.node-gyp/7.3.0/include/node/v8.h:787: error: ‘nullptr’ was not declared in this scope
/home/venkat/.node-gyp/7.3.0/include/node/v8.h: In constructor ‘v8::Global<T>::Global(v8::Global<T>&&)’:
/home/venkat/.node-gyp/7.3.0/include/node/v8.h:812: error: ‘nullptr’ was not declared in this scope
/home/venkat/.node-gyp/7.3.0/include/node/v8.h: In member function ‘v8::Global<T>& v8::Global<T>::operator=(v8::Global<S>&&)’:
/home/venkat/.node-gyp/7.3.0/include/node/v8.h:824: error: ‘nullptr’ was not declared in this scope
/home/venkat/.node-gyp/7.3.0/include/node/v8.h: At global scope:
/home/venkat/.node-gyp/7.3.0/include/node/v8.h:849: error: expected unqualified-id before ‘using’
/home/venkat/.node-gyp/7.3.0/include/node/v8.h:1086: error: ‘nullptr’ was not declared in this scope
/home/venkat/.node-gyp/7.3.0/include/node/v8.h:1092: error: ‘nullptr’ was not declared in this scope
/home/venkat/.node-gyp/7.3.0/include/node/v8.h: In constructor ‘v8::RegisterState::RegisterState()’:
/home/venkat/.node-gyp/7.3.0/include/node/v8.h:1621: error: ‘nullptr’ was not declared in this scope
/home/venkat/.node-gyp/7.3.0/include/node/v8.h: In member function ‘v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const’:
/home/venkat/.node-gyp/7.3.0/include/node/v8.h:3295: error: ‘nullptr’ was not declared in this scope
/home/venkat/.node-gyp/7.3.0/include/node/v8.h: At global scope:
/home/venkat/.node-gyp/7.3.0/include/node/v8.h:4526: error: ‘nullptr’ was not declared in this scope
/home/venkat/.node-gyp/7.3.0/include/node/v8.h:4551: error: ‘nullptr’ was not declared in this scope
/home/venkat/.node-gyp/7.3.0/include/node/v8.h: In constructor ‘v8::Isolate::CreateParams::CreateParams()’:
/home/venkat/.node-gyp/7.3.0/include/node/v8.h:5596: error: ‘nullptr’ was not declared in this scope
/home/venkat/.node-gyp/7.3.0/include/node/v8.h: At global scope:
/home/venkat/.node-gyp/7.3.0/include/node/v8.h:6787: error: ‘nullptr’ was not declared in this scope
/home/venkat/.node-gyp/7.3.0/include/node/v8.h:6804: error: ‘nullptr’ was not declared in this scope
/home/venkat/.node-gyp/7.3.0/include/node/v8.h:6896: error: ‘nullptr’ was not declared in this scope
/home/venkat/.node-gyp/7.3.0/include/node/v8.h:6897: error: ‘nullptr’ was not declared in this scope
/home/venkat/.node-gyp/7.3.0/include/node/v8.h:7233: error: ‘nullptr’ was not declared in this scope
/home/venkat/.node-gyp/7.3.0/include/node/v8.h: In member function ‘v8::Local<T> v8::MaybeLocal<T>::ToLocalChecked()’:
/home/venkat/.node-gyp/7.3.0/include/node/v8.h:7804: error: ‘nullptr’ was not declared in this scope
../src/fibers.cc: At global scope:
../src/fibers.cc:68: error: expected constructor, destructor, or type conversion before ‘<’ token
../src/fibers.cc:72: error: expected constructor, destructor, or type conversion before ‘<’ token
../src/fibers.cc:94: error: expected constructor, destructor, or type conversion before ‘<’ token
../src/fibers.cc:104: error: expected constructor, destructor, or type conversion before ‘<’ token
../src/fibers.cc:126: error: ‘Handle’ has not been declared
../src/fibers.cc:126: error: expected ‘,’ or ‘...’ before ‘<’ token
../src/fibers.cc: In function ‘void uni::Reset(v8::Isolate*, v8::Persistent<T, v8::NonCopyablePersistentTraits<T> >&, int)’:
../src/fibers.cc:127: error: ‘handle’ was not declared in this scope
../src/fibers.cc: At global scope:
../src/fibers.cc:139: error: variable or field ‘SetInternalPointer’ declared void
../src/fibers.cc:139: error: ‘Handle’ was not declared in this scope
../src/fibers.cc:139: error: expected primary-expression before ‘>’ token
../src/fibers.cc:139: error: ‘handle’ was not declared in this scope
../src/fibers.cc:139: error: expected primary-expression before ‘int’
../src/fibers.cc:139: error: expected primary-expression before ‘void’
../src/fibers.cc:143: error: template declaration of ‘void* uni::GetInternalPointer’
../src/fibers.cc:143: error: ‘Handle’ was not declared in this scope
../src/fibers.cc:143: error: expected primary-expression before ‘>’ token
../src/fibers.cc:143: error: ‘handle’ was not declared in this scope
../src/fibers.cc:143: error: expected primary-expression before ‘int’
../src/fibers.cc:148: error: expected constructor, destructor, or type conversion before ‘<’ token
../src/fibers.cc:153: error: variable or field ‘Return’ declared void
../src/fibers.cc:153: error: ‘Handle’ was not declared in this scope
../src/fibers.cc:153: error: expected primary-expression before ‘>’ token
../src/fibers.cc:153: error: ‘handle’ was not declared in this scope
../src/fibers.cc:153: error: expected primary-expression before ‘const’
../src/fibers.cc:157: error: variable or field ‘Return’ declared void
../src/fibers.cc:157: error: ‘Handle’ was not declared in this scope
../src/fibers.cc:157: error: expected primary-expression before ‘>’ token
../src/fibers.cc:157: error: ‘handle’ was not declared in this scope
../src/fibers.cc:157: error: expected primary-expression before ‘info’
../src/fibers.cc:165: error: expected constructor, destructor, or type conversion before ‘<’ token
../src/fibers.cc:169: error: expected constructor, destructor, or type conversion before ‘<’ token
../src/fibers.cc:173: error: expected constructor, destructor, or type conversion before ‘<’ token
../src/fibers.cc:177: error: expected constructor, destructor, or type conversion before ‘<’ token
../src/fibers.cc:181: error: expected constructor, destructor, or type conversion before ‘<’ token
../src/fibers.cc:185: error: expected constructor, destructor, or type conversion before ‘<’ token
../src/fibers.cc:195: error: expected constructor, destructor, or type conversion before ‘<’ token
../src/fibers.cc:377: error: expected ‘;’ before ‘(’ token
../src/fibers.cc:383: error: expected ‘;’ before ‘Fiber’
../src/fibers.cc:383: error: expected ‘)’ before ‘<’ token
../src/fibers.cc:649: error: ISO C++ forbids declaration of ‘Handle’ with no type
../src/fibers.cc:649: error: expected ‘;’ before ‘<’ token
../src/fibers.cc:887: error: expected ‘;’ at end of input
../src/fibers.cc:887: error: expected ‘}’ at end of input
../src/fibers.cc: In static member function ‘static void Fiber::DestroyOrphans()’:
../src/fibers.cc:464: error: ‘Deref’ is not a member of ‘uni’
../src/fibers.cc: In static member function ‘static uni::FunctionType Fiber::New(const uni::Arguments&)’:
../src/fibers.cc:486: error: ‘ThrowException’ is not a member of ‘uni’
../src/fibers.cc:486: error: ‘NewLatin1String’ is not a member of ‘uni’
../src/fibers.cc:486: error: return-statement with a value, in function returning 'void'
../src/fibers.cc:488: error: ‘ThrowException’ is not a member of ‘uni’
../src/fibers.cc:488: error: ‘NewLatin1String’ is not a member of ‘uni’
../src/fibers.cc:488: error: return-statement with a value, in function returning 'void'
../src/fibers.cc:490: error: ‘Handle’ was not declared in this scope
../src/fibers.cc:490: error: expected primary-expression before ‘>’ token
../src/fibers.cc:490: error: ‘argv’ was not declared in this scope
../src/fibers.cc:491: error: ‘NewInstance’ is not a member of ‘uni’
../src/fibers.cc:491: error: ‘Deref’ is not a member of ‘uni’
../src/fibers.cc:491: error: return-statement with a value, in function returning 'void'
../src/fibers.cc:494: error: ‘Handle’ was not declared in this scope
../src/fibers.cc:494: error: expected primary-expression before ‘>’ token
../src/fibers.cc:494: error: ‘fn’ was not declared in this scope
../src/fibers.cc:494: error: expected primary-expression before ‘>’ token
../src/fibers.cc:494: error: ‘::Cast’ has not been declared
../src/fibers.cc:495: error: ‘GetCurrentContext’ is not a member of ‘uni’
../src/fibers.cc:496: error: no matching function for call to ‘Return(v8::Local<v8::Object>, const v8::FunctionCallbackInfo<v8::Value>&)’
../src/fibers.cc:496: error: return-statement with a value, in function returning 'void'
../src/fibers.cc: In static member function ‘static uni::FunctionType Fiber::Run(const uni::Arguments&)’:
../src/fibers.cc:504: error: ‘Unwrap’ was not declared in this scope
../src/fibers.cc:510: error: ‘ThrowException’ is not a member of ‘uni’
../src/fibers.cc:510: error: ‘NewLatin1String’ is not a member of ‘uni’
../src/fibers.cc:510: error: return-statement with a value, in function returning 'void'
../src/fibers.cc:512: error: ‘ThrowException’ is not a member of ‘uni’
../src/fibers.cc:512: error: ‘NewLatin1String’ is not a member of ‘uni’
../src/fibers.cc:512: error: return-statement with a value, in function returning 'void'
../src/fibers.cc:520: error: ‘RunFiber’ was not declared in this scope
../src/fibers.cc:523: error: ‘ThrowException’ is not a member of ‘uni’
../src/fibers.cc:523: error: ‘NewLatin1String’ is not a member of ‘uni’
../src/fibers.cc:523: error: return-statement with a value, in function returning 'void'
../src/fibers.cc:533: error: no matching function for call to ‘Reset(v8::Isolate*&, v8::Persistent<v8::Value, v8::NonCopyablePersistentTraits<v8::Value> >&, v8::Local<v8::Value>)’
../src/fibers.cc:535: error: ‘Undefined’ is not a member of ‘uni’
../src/fibers.cc:539: error: ‘class Fiber’ has no member named ‘ReturnYielded’
../src/fibers.cc:539: error: return-statement with a value, in function returning 'void'
../src/fibers.cc: In static member function ‘static uni::FunctionType Fiber::ThrowInto(const uni::Arguments&)’:
../src/fibers.cc:546: error: ‘Unwrap’ was not declared in this scope
../src/fibers.cc:549: error: ‘ThrowException’ is not a member of ‘uni’
../src/fibers.cc:549: error: ‘NewLatin1String’ is not a member of ‘uni’
../src/fibers.cc:549: error: return-statement with a value, in function returning 'void'
../src/fibers.cc:551: error: ‘Undefined’ is not a member of ‘uni’
../src/fibers.cc:553: error: no matching function for call to ‘Reset(v8::Isolate*&, v8::Persistent<v8::Value, v8::NonCopyablePersistentTraits<v8::Value> >&, v8::Local<v8::Value>)’
../src/fibers.cc:555: error: ‘ThrowException’ is not a member of ‘uni’
../src/fibers.cc:555: error: ‘NewLatin1String’ is not a member of ‘uni’
../src/fibers.cc:555: error: return-statement with a value, in function returning 'void'
../src/fibers.cc:559: error: ‘class Fiber’ has no member named ‘ReturnYielded’
../src/fibers.cc:559: error: return-statement with a value, in function returning 'void'
../src/fibers.cc: In static member function ‘static uni::FunctionType Fiber::Reset(const uni::Arguments&)’:
../src/fibers.cc:567: error: ‘Unwrap’ was not declared in this scope
../src/fibers.cc:570: error: ‘Undefined’ is not a member of ‘uni’
../src/fibers.cc:570: error: return-statement with a value, in function returning 'void'
../src/fibers.cc:572: error: ‘ThrowException’ is not a member of ‘uni’
../src/fibers.cc:572: error: ‘NewLatin1String’ is not a member of ‘uni’
../src/fibers.cc:572: error: return-statement with a value, in function returning 'void'
../src/fibers.cc:574: error: ‘ThrowException’ is not a member of ‘uni’
../src/fibers.cc:574: error: ‘NewLatin1String’ is not a member of ‘uni’
../src/fibers.cc:574: error: return-statement with a value, in function returning 'void'
../src/fibers.cc:582: error: ‘Handle’ was not declared in this scope
../src/fibers.cc:582: error: expected primary-expression before ‘>’ token
../src/fibers.cc:582: error: ‘val’ was not declared in this scope
../src/fibers.cc:582: error: ‘Deref’ is not a member of ‘uni’
../src/fibers.cc:585: error: ‘ThrowException’ is not a member of ‘uni’
../src/fibers.cc:585: error: return-statement with a value, in function returning 'void'
../src/fibers.cc:587: error: return-statement with a value, in function returning 'void'
../src/fibers.cc: In member function ‘void Fiber::UnwindStack()’:
../src/fibers.cc:604: error: ‘Handle’ was not declared in this scope
../src/fibers.cc:604: error: expected primary-expression before ‘>’ token
../src/fibers.cc:604: error: ‘NewLatin1String’ is not a member of ‘uni’
../src/fibers.cc:605: error: no matching function for call to ‘Reset(v8::Isolate*&, v8::Persistent<v8::Value, v8::NonCopyablePersistentTraits<v8::Value> >&, v8::Persistent<v8::Value, v8::NonCopyablePersistentTraits<v8::Value> >&)’
../src/fibers.cc:606: error: no matching function for call to ‘Reset(v8::Isolate*&, v8::Persistent<v8::Value, v8::NonCopyablePersistentTraits<v8::Value> >&, v8::Persistent<v8::Value, v8::NonCopyablePersistentTraits<v8::Value> >&)’
../src/fibers.cc:619: error: ‘Undefined’ is not a member of ‘uni’
../src/fibers.cc: At global scope:
../src/fibers.cc:644: error: expected unqualified-id at end of input
make: *** [Release/obj.target/fibers/src/fibers.o] Error 1
make: Leaving directory `/home/venkat/workspace/modular-social-insights/node_modules/fibers/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/venkat/.nvm/versions/node/v7.3.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Linux 2.6.32-573.22.1.el6.x86_64
gyp ERR! command "/home/venkat/.nvm/versions/node/v7.3.0/bin/node" "/home/venkat/.nvm/versions/node/v7.3.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release"
gyp ERR! cwd /home/venkat/workspace/modular-social-insights/node_modules/fibers
gyp ERR! node -v v7.3.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
node-gyp exited with code: 1
Please make sure you are using a supported platform and node version. If you
would like to compile fibers on this machine please make sure you have setup your
build environment--
Windows + OS X instructions here: https://github.com/nodejs/node-gyp
Ubuntu users please run: `sudo apt-get install g++ build-essential`
Alpine users please run: `sudo apk add python make g++`
sh: nodejs: command not found
[email protected] /home/venkat/workspace/modular-social-insights
└── (empty)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! Linux 2.6.32-573.22.1.el6.x86_64
npm ERR! argv "/home/venkat/.nvm/versions/node/v7.3.0/bin/node" "/home/venkat/.nvm/versions/node/v7.3.0/bin/npm" "install"
npm ERR! node v7.3.0
npm ERR! npm v3.10.10
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] install: `node build.js || nodejs build.js`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] install script 'node build.js || nodejs build.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the fibers package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node build.js || nodejs build.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs fibers
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls fibers
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/venkat/workspace/modular-social-insights/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment