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

npm build error #32

Open
deepdad opened this issue Jan 21, 2018 · 0 comments
Open

npm build error #32

deepdad opened this issue Jan 21, 2018 · 0 comments

Comments

@deepdad
Copy link

deepdad commented Jan 21, 2018

Hey, the demo looks cool. I get a build error and checked. IRC and Slate-IRC are also from you. Although it's reported as an iconv error, I did npm install manually for all the dependencies because the terminal didn't quite show what it was doing when the error appears (see below), I think it has to do with the irc packages, does it?

:~/zipp/encom-boardroom$ npm install

[email protected] install /home/ubuntu/zipp/encom-boardroom/node_modules/iconv
node-gyp rebuild

make: Entering directory '/home/ubuntu/zipp/encom-boardroom/node_modules/iconv/build'
CC(target) Release/obj.target/libiconv/deps/libiconv/lib/iconv.o
AR(target) Release/obj.target/iconv.a
COPY Release/iconv.a
CXX(target) Release/obj.target/iconv/src/binding.o
In file included from ../../nan/nan.h:182:0,
from ../src/binding.cc:18:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe Nan::ForceSet(v8::Localv8::Object, v8::Localv8::Value, v8::Localv8::Value, v8::PropertyAttribute)’:
../../nan/nan_maybe_43_inl.h:89:64: warning: ‘v8::Maybe v8::Object::ForceSet(v8::Localv8::Context, v8::Localv8::Value, v8::Localv8::Value, v8::PropertyAttribute)’ is deprecated: Use CreateDataProperty / DefineOwnProperty [-Wdeprecated-declarations]
return obj->ForceSet(GetCurrentContext(), key, value, attribs);
^
In file included from /home/ubuntu/.node-gyp/9.4.0/include/node/v8.h:26:0,
from /home/ubuntu/.node-gyp/9.4.0/include/node/node.h:63,
from ../../nan/nan.h:24,
from ../src/binding.cc:18:
/home/ubuntu/.node-gyp/9.4.0/include/node/v8.h:3115:29: note: declared here
Maybe ForceSet(Local context, Local key,
^
/home/ubuntu/.node-gyp/9.4.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^
In file included from ../../nan/nan.h:182:0,
from ../src/binding.cc:18:
../../nan/nan_maybe_43_inl.h: In function ‘Nan::MaybeLocalv8::Object Nan::CloneElementAt(v8::Localv8::Array, uint32_t)’:
../../nan/nan_maybe_43_inl.h:221:58: warning: ‘v8::MaybeLocalv8::Object v8::Array::CloneElementAt(v8::Localv8::Context, uint32_t)’ is deprecated: Cloning is not supported. [-Wdeprecated-declarations]
return array->CloneElementAt(GetCurrentContext(), index);
^
In file included from /home/ubuntu/.node-gyp/9.4.0/include/node/v8.h:26:0,
from /home/ubuntu/.node-gyp/9.4.0/include/node/node.h:63,
from ../../nan/nan.h:24,
from ../src/binding.cc:18:
/home/ubuntu/.node-gyp/9.4.0/include/node/v8.h:3514:36: note: declared here
MaybeLocal CloneElementAt(Local context,
^
/home/ubuntu/.node-gyp/9.4.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^
In file included from ../../nan/nan_new.h:189:0,
from ../../nan/nan.h:188,
from ../src/binding.cc:18:
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBasev8::BooleanObject::return_t Nan::imp::Factoryv8::BooleanObject::New(bool)’:
../../nan/nan_implementation_12_inl.h:40:38: warning: ‘static v8::Localv8::Value v8::BooleanObject::New(bool)’ is deprecated: Pass an isolate [-Wdeprecated-declarations]
return v8::BooleanObject::New(value).Asv8::BooleanObject();
^
In file included from /home/ubuntu/.node-gyp/9.4.0/include/node/v8.h:26:0,
from /home/ubuntu/.node-gyp/9.4.0/include/node/node.h:63,
from ../../nan/nan.h:24,
from ../src/binding.cc:18:
/home/ubuntu/.node-gyp/9.4.0/include/node/v8.h:4875:56: note: declared here
V8_DEPRECATED("Pass an isolate", static Local New(bool value));
^
/home/ubuntu/.node-gyp/9.4.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^
In file included from ../src/binding.cc:18:0:
../../nan/nan.h: At global scope:
../../nan/nan.h:590:20: error: variable or field ‘AddGCEpilogueCallback’ declared void
v8::Isolate::GCEpilogueCallback callback
^
../../nan/nan.h:590:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCEpilogueCallback callback
^
../../nan/nan.h:591:18: error: expected primary-expression before ‘gc_type_filter’
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../../nan/nan.h:596:20: error: variable or field ‘RemoveGCEpilogueCallback’ declared void
v8::Isolate::GCEpilogueCallback callback) {
^
../../nan/nan.h:596:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCEpilogueCallback callback) {
^
../../nan/nan.h:601:20: error: variable or field ‘AddGCPrologueCallback’ declared void
v8::Isolate::GCPrologueCallback callback
^
../../nan/nan.h:601:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCPrologueCallback callback
^
../../nan/nan.h:602:18: error: expected primary-expression before ‘gc_type_filter’
, v8::GCType gc_type_filter = v8::kGCTypeAll) {
^
../../nan/nan.h:607:20: error: variable or field ‘RemoveGCPrologueCallback’ declared void
v8::Isolate::GCPrologueCallback callback) {
^
../../nan/nan.h:607:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
v8::Isolate::GCPrologueCallback callback) {
^
../../nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Localv8::Object, v8::Localv8::String, Nan::GetterCallback, Nan::SetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute)’:
../../nan/nan.h:1933:16: warning: ‘bool v8::Object::SetAccessor(v8::Localv8::Name, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Localv8::Value, v8::AccessControl, v8::PropertyAttribute)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
, attribute);
^
In file included from /home/ubuntu/.node-gyp/9.4.0/include/node/v8.h:26:0,
from /home/ubuntu/.node-gyp/9.4.0/include/node/node.h:63,
from ../../nan/nan.h:24,
from ../src/binding.cc:18:
/home/ubuntu/.node-gyp/9.4.0/include/node/v8.h:3184:22: note: declared here
bool SetAccessor(Local name,
^
/home/ubuntu/.node-gyp/9.4.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^
../src/binding.cc: In static member function ‘static void {anonymous}::Iconv::Initialize(v8::Handlev8::Object)’:
../src/binding.cc:63:51: warning: ‘static v8::Localv8::ObjectTemplate v8::ObjectTemplate::New()’ is deprecated: Use isolate version [-Wdeprecated-declarations]
Local t = ObjectTemplate::New();
^
In file included from /home/ubuntu/.node-gyp/9.4.0/include/node/v8.h:26:0,
from /home/ubuntu/.node-gyp/9.4.0/include/node/node.h:63,
from ../../nan/nan.h:24,
from ../src/binding.cc:18:
/home/ubuntu/.node-gyp/9.4.0/include/node/v8.h:5736:69: note: declared here
static V8_DEPRECATED("Use isolate version", Local New());
^
/home/ubuntu/.node-gyp/9.4.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^
In file included from ../../nan/nan.h:2078:0,
from ../src/binding.cc:18:
../../nan/nan_weak.h: In instantiation of ‘static void Nan::WeakCallbackInfo

::invokeparameter(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo

>&) [with T = {anonymous}::Iconv]’:
../../nan/nan_weak.h:258:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo

::Callback, Nan::WeakCallbackType) [with P = {anonymous}::Iconv; T = v8::Object; M = v8::NonCopyablePersistentTraitsv8::Object; typename Nan::WeakCallbackInfo

::Callback = void ()(const Nan::WeakCallbackInfo<{anonymous}::Iconv>&); Nan::WeakCallbackType = v8::WeakCallbackType]’
../src/binding.cc:91:75: required from here
../../nan/nan_weak.h:110:3: warning: ‘bool v8::WeakCallbackInfo::IsFirstPass() const [with T = Nan::WeakCallbackInfo<{anonymous}::Iconv>]’ is deprecated: Not realiable once SetSecondPassCallback() was used. [-Wdeprecated-declarations]
if (data.IsFirstPass()) {
^
In file included from /home/ubuntu/.node-gyp/9.4.0/include/node/v8.h:26:0,
from /home/ubuntu/.node-gyp/9.4.0/include/node/node.h:63,
from ../../nan/nan.h:24,
from ../src/binding.cc:18:
/home/ubuntu/.node-gyp/9.4.0/include/node/v8.h:441:22: note: declared here
bool IsFirstPass() const) {
^
/home/ubuntu/.node-gyp/9.4.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^
In file included from ../../nan/nan.h:2078:0,
from ../src/binding.cc:18:
../../nan/nan_weak.h: In instantiation of ‘static void Nan::WeakCallbackInfo

::invoketwofield(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo

>&) [with T = {anonymous}::Iconv]’:
../../nan/nan_weak.h:277:35: required from ‘void Nan::Persistent<T, M>::SetWeak(P
, typename Nan::WeakCallbackInfo

::Callback, Nan::WeakCallbackType) [with P = {anonymous}::Iconv; T = v8::Object; M = v8::NonCopyablePersistentTraitsv8::Object; typename Nan::WeakCallbackInfo

::Callback = void (*)(const Nan::WeakCallbackInfo<{anonymous}::Iconv>&); Nan::WeakCallbackType = v8::WeakCallbackType]’
../src/binding.cc:91:75: required from here
../../nan/nan_weak.h:123:3: warning: ‘bool v8::WeakCallbackInfo::IsFirstPass() const [with T = Nan::WeakCallbackInfo<{anonymous}::Iconv>]’ is deprecated: Not realiable once SetSecondPassCallback() was used. [-Wdeprecated-declarations]
if (data.IsFirstPass()) {
^
In file included from /home/ubuntu/.node-gyp/9.4.0/include/node/v8.h:26:0,
from /home/ubuntu/.node-gyp/9.4.0/include/node/node.h:63,
from ../../nan/nan.h:24,
from ../src/binding.cc:18:
/home/ubuntu/.node-gyp/9.4.0/include/node/v8.h:441:22: note: declared here
bool IsFirstPass() const) {
^
/home/ubuntu/.node-gyp/9.4.0/include/node/v8config.h:318:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^
iconv.target.mk:110: recipe for target 'Release/obj.target/iconv/src/binding.o' failed
make: *** [Release/obj.target/iconv/src/binding.o] Error 1
make: Leaving directory '/home/ubuntu/zipp/encom-boardroom/node_modules/iconv/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:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:160:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Linux 4.4.0-1048-aws
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/ubuntu/zipp/encom-boardroom/node_modules/iconv
gyp ERR! node -v v9.4.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok

[email protected] install /home/ubuntu/zipp/encom-boardroom/node_modules/node-icu-charset-detector
node-gyp rebuild

make: Entering directory '/home/ubuntu/zipp/encom-boardroom/node_modules/node-icu-charset-detector/build'
CXX(target) Release/obj.target/node-icu-charset-detector/node-icu-charset-detector.o
../node-icu-charset-detector.cpp:7:28: fatal error: unicode/ucsdet.h: No such file or directory
compilation terminated.
node-icu-charset-detector.target.mk:93: recipe for target 'Release/obj.target/node-icu-charset-detector/node-icu-charset-detector.o' failed
make: *** [Release/obj.target/node-icu-charset-detector/node-icu-charset-detector.o] Error 1
make: Leaving directory '/home/ubuntu/zipp/encom-boardroom/node_modules/node-icu-charset-detector/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:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:160:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:12)
gyp ERR! System Linux 4.4.0-1048-aws
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/ubuntu/zipp/encom-boardroom/node_modules/node-icu-charset-detector
gyp ERR! node -v v9.4.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN The package grunt is included as both a dev and production dependency.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (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 WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/iconv):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: node-gyp rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/node-icu-charset-detector):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: node-gyp rebuild
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

up to date in 7.357s

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

1 participant