Git Product home page Git Product logo

Comments (10)

benbrown avatar benbrown commented on May 27, 2024

Hrrm, that error is coming out of node-sass. Can you install that on its own?

from botkit-cms.

fyudelgado avatar fyudelgado commented on May 27, 2024

Hi Ben,

I could install the package using:

npm install -g --unsafe-perm --allow-root node-sass

But when I try to run:
npm install

Sends the same error:

gyp ERR! build error
gyp ERR! stack Error: make failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/home/fyu/Proyects/botkit-cms/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:311:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 4.15.0-65-generic
gyp ERR! command "/usr/local/bin/node" "/home/fyu/Proyects/botkit-cms/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /home/fyu/Proyects/botkit-cms/node_modules/node-sass
gyp ERR! node -v v12.16.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
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 ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/fyu/.npm/_logs/2020-02-21T22_15_38_285Z-debug.log

from botkit-cms.

y377 avatar y377 commented on May 27, 2024

在克隆git存储库后运行npm install时,我在创建的日志文件中收到下一条错误消息:

7839详细堆栈错误:[email protected]安装后:node scripts/build.js
7839详细堆栈退出状态1
EventEmitter上的7839详细堆栈。(/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)EventEmitter.emit(events.js:311:20)的
7839详细堆栈,ChildProcess的
7839详细堆栈。(/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)7839
详细堆栈位于ChildProcess.emit(events.js:311:20)
7839详细堆栈位于mayClose( internal / child_process.js:1021:16)
Process.ChildProcess._handle.onexit上的7839详细堆栈(internal / child_process.js:286:5)
7840详细的pkgid [email protected]
7841详细的cwd / home / user / Proyects / botkit-cms
7842详细Linux 4.15.0-65-通用
7843详细argv“ / usr / local / bin / node”“ / usr / local / bin / npm”“安装”
7844详细节点v12.16.1
7845详细npm v6.13.4
7846错误代码ELIFECYCLE
7847错误errno 1
7848错误[email protected]后安装:node scripts/build.js
7848错误退出状态1
7849错误在[email protected]安装后脚本失败。
7849错误这可能不是npm的问题。上面可能还有其他日志记录输出。
7850详细出口[1,正确]

我的配置:
npm -v
6.13.4

节点-v
v12.16.1

Ubuntu LTS 18.04

任何人都可以帮助我发生什么事?
问候,
于Francisco

me too
v12.14.0
centos7x64 7.8

from botkit-cms.

y377 avatar y377 commented on May 27, 2024

在克隆git存储库后运行npm install时,我在创建的日志文件中收到下一条错误消息:
7839详细错误:[email protected]安装后:node scripts/build.js
7839详细中断退出状态1
EventEmitter上的7839详细示例。(/ usr / local / lib / node_modules / npm / node_modules / npm-lifecycle / index.js: 332:16)EventEmitter.emit(events.js:311:20)的
7839详细示例,ChildProcess的
7839详细示例。(/ usr / local / lib / node_modules / npm / node_modules / npm-lifecycle / lib / spawn.js :55:14)7839
详细位置位于ChildProcess.emit(events.js:311:20)
7839详细位置位于mayClose(internal / child_process.js:1021:16)
Process.ChildProcess._handle.onexit上的7839详细尺寸( internal / child_process.js:286:5)
7840详细的pkgid [email protected]
7841详细的cwd /主页/用户/ Proyects / botkit-cms
7842详细Linux 4.15.0-65-通用
7843详细argv“ / usr / local / bin / node”“ / usr / local / bin / npm”“安装”
7844详细例程v12.16.1
7845详细npm v6.13.4
7846错误代码ELIFECYCLE
7847错误errno 1
7848错误[email protected]后安装:node scripts/build.js
7848错误退出状态1
7849错误在[email protected]安装后脚本失败。7849
错误这可能不是npm的问题。上面可能还有其他日志记录输出。7850
详细出口[1,正确]
我的配置:
npm -v
6.13.4

报表-v v12.16.1
Ubuntu LTS 18.04
任何人都可以帮助我发生什么事?
问候,
于Francisco

我也是
v12.14.0
centos7x64 7.8

yes i do it and change nodejs v12.14.0>v8.0.0 (I'm not sure if it's the point, but successfully installed through the following steps)
echo prefix = ~/.node >> ~/.npmrc or look https://stackoverflow.com/questions/24464117/unable-to-create-yeoman-webapp

from botkit-cms.

y377 avatar y377 commented on May 27, 2024

在克隆git存储库后运行npm install时,我在创建的日志文件中收到下一条错误消息:
7839详细错误:[email protected]安装后:node scripts/build.js
7839详细中断退出状态1
EventEmitter上的7839详细示例。(/ usr / local / lib / node_modules / npm / node_modules / npm-lifecycle / index.js:332:16)EventEmitter.emit(events.js:311:20)的
7839详细示例,ChildProcess的
7839详细示例(/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)7839
详细位置位于ChildProcess.emit(events.js:311:20)
7839详细位置位于mayClose (内部/ child_process.js:1021:16)
Process.ChildProcess._handle.onexit上的7839详细尺寸(内部/ child_process.js:286:5)
7840详细的pkgid [email protected]
7841详细的cwd /主页/用户/ Proyects / botkit-cms
7842详细Linux 4.15.0-65-通用
7843详细argv“ / usr / local / bin /节点”“ / usr / local / bin / npm”“安装”
7844详细例程v12.16.1
7845详细npm v6.13.4
7846错误代码ELIFECYCLE
7847错误errno 1
7848错误节点[email protected]后安装:node scripts/build.js
7848错误退出状态1
7849错误在[email protected]安装后脚本失败。7849
错误这可能不是npm的问题。上面可能还有其他日志记录输出。7850
详细出口[1,正确]
我的配置:
npm -v
6.13.4
报表-v v12.16.1
Ubuntu LTS 18.04
任何人都可以帮助我发生什么事?
问候,
于Francisco


也是
v12.14.0 centos7x64 7.8

是的,我这样做并更改了nodejs v12.14.0> v8.0.0(我不确定这是否是关键,但已通过以下步骤成功安装)
echo prefix = ~/.node >> ~/.npmrc或查看https://stackoverflow.com/questions/24464117/unable-to -create-yeoman-webapp

   recv->Set(name, GetFunction(tpl).ToLocalChecked());
   ^
make: *** [Release/obj.target/binding/src/binding.o] Error 1
make: Leaving directory `/root/botkit-cms/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 (/root/botkit-cms/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:311:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 3.10.0-957.el7.x86_64
gyp ERR! command "/usr/bin/node" "/root/botkit-cms/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /root/botkit-cms/node_modules/node-sass
gyp ERR! node -v v12.16.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
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 ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-03-21T19_17_25_815Z-debug.log

yes,i think need low node

from botkit-cms.

jacksonmelcher avatar jacksonmelcher commented on May 27, 2024

I am getting a similar error when running npm install. Right off the bat I receive:

node-pre-gyp WARN Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.4/fse-v1.2.4-node-v72-darwin-x64.tar.gz 
node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v72 ABI, unknown) (falling back to source compile with node-gyp) 

The next readable error message is:
Screen Shot 2020-03-25 at 10 36 21 AM

and then lastly:
Screen Shot 2020-03-25 at 10 38 07 AM

Let me know if this helps narrow down the problem, I also have the debug log if anyone needs it.

OS: macOS 10.15.2
Node: v12.16.1
npm: 6.13.4

from botkit-cms.

dr0pdb avatar dr0pdb commented on May 27, 2024

Facing similar issues.

npm -v     
6.14.3

node -v                          
v13.11.0

The debug log file
crash.log

OS: Arch Linux

from botkit-cms.

christopherime avatar christopherime commented on May 27, 2024

Got also the same error.

Tested on

Centos 7
npm 6.14.4
node 13.12.0

make: *** [Release/obj.target/binding/src/binding.o] Erreur 1
make: on quitte le répertoire « /home/cri/bot/botkit-cms/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 (/home/cri/bot/botkit-cms/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 3.10.0-1062.18.1.el7.x86_64
gyp ERR! command "/usr/bin/node" "/home/cri/bot/botkit-cms/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /home/cri/bot/botkit-cms/node_modules/node-sass
gyp ERR! node -v v13.12.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
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 ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-04-16T09_47_58_863Z-debug.log

Got similar error on these OS

Ubuntu 18 wsl
npm 6.14.4
node 13.13.0

Ubuntu 19 raspberry
npm 6.13.4
node 12.14.0

Windows 10
npm 6.13.7
node 12.13.1

from botkit-cms.

y377 avatar y377 commented on May 27, 2024

from botkit-cms.

c4tom avatar c4tom commented on May 27, 2024
 g++ '-DNODE_GYP_MODULE_NAME=binding' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/home/can/.node-gyp/12.18.0/include/node -I/home/can/.node-gyp/12.18.0/src -I/home/can/.node-gyp/12.18.0/deps/openssl/config -I/home/can/.node-gyp/12.18.0/deps/openssl/openssl/include -I/home/can/.node-gyp/12.18.0/deps/uv/include -I/home/can/.node-gyp/12.18.0/deps/zlib -I/home/can/.node-gyp/12.18.0/deps/v8/include -I../../nan -I../src/libsass/include  -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -std=c++0x -MMD -MF ./Release/.deps/Release/obj.target/binding/src/binding.o.d.raw   -c -o Release/obj.target/binding/src/binding.o ../src/binding.cpp
In file included from ../../nan/nan_converters.h:67:0,
                 from ../../nan/nan.h:221,
                 from ../src/binding.cpp:1:
../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ToFactoryBase<v8::Boolean>::return_t Nan::imp::ToFactory<v8::Boolean>::convert(v8::Local<v8::Value>)’:
../../nan/nan_converters_43_inl.h:18:51: warning: ‘v8::MaybeLocal<v8::Boolean> v8::Value::ToBoolean(v8::Local<v8::Context>) const’ is deprecated: ToBoolean can never throw. Use Local version. [-Wdeprecated-declarations]
       val->To ## TYPE(isolate->GetCurrentContext())                            \
                                                   ^
../../nan/nan_converters_43_inl.h:22:1: note: in expansion of macro ‘X’
 X(Boolean)
 ^
In file included from /home/can/.node-gyp/12.18.0/include/node/v8-internal.h:14:0,
                 from /home/can/.node-gyp/12.18.0/include/node/v8.h:27,
                 from /home/can/.node-gyp/12.18.0/include/node/node.h:67,
                 from ../../nan/nan.h:52,
                 from ../src/binding.cpp:1:
/home/can/.node-gyp/12.18.0/include/node/v8.h:2664:59: note: declared here
                 V8_WARN_UNUSED_RESULT MaybeLocal<Boolean> ToBoolean(
                                                           ^
/home/can/.node-gyp/12.18.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../../nan/nan_converters.h:67:0,
                 from ../../nan/nan.h:221,
                 from ../src/binding.cpp:1:
../../nan/nan_converters_43_inl.h: In static member function ‘static Nan::imp::ValueFactoryBase<bool>::return_t Nan::imp::ToFactory<bool>::convert(v8::Local<v8::Value>)’:
../../nan/nan_converters_43_inl.h:37:57: warning: ‘v8::Maybe<bool> v8::Value::BooleanValue(v8::Local<v8::Context>) const’ is deprecated: BooleanValue can never throw. Use Isolate version. [-Wdeprecated-declarations]
   return val->NAME ## Value(isolate->GetCurrentContext());                     \
                                                         ^
../../nan/nan_converters_43_inl.h:40:1: note: in expansion of macro ‘X’
 X(bool, Boolean)
 ^
In file included from /home/can/.node-gyp/12.18.0/include/node/v8-internal.h:14:0,
                 from /home/can/.node-gyp/12.18.0/include/node/v8.h:27,
                 from /home/can/.node-gyp/12.18.0/include/node/node.h:67,
                 from ../../nan/nan.h:52,
                 from ../src/binding.cpp:1:
/home/can/.node-gyp/12.18.0/include/node/v8.h:2702:51: note: declared here
                 V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(
                                                   ^
/home/can/.node-gyp/12.18.0/include/node/v8config.h:328: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:222,
                 from ../src/binding.cpp:1:
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::Function>::return_t Nan::imp::Factory<v8::Function>::New(Nan::FunctionCallback, v8::Local<v8::Value>)’:
../../nan/nan_implementation_12_inl.h:105:32: error: no matching function for call to ‘v8::Function::New(v8::Isolate*&, void (&)(const v8::FunctionCallbackInfo<v8::Value>&), v8::Local<v8::Object>&)’
                           , obj));
                                ^
In file included from /home/can/.node-gyp/12.18.0/include/node/node.h:67:0,
                 from ../../nan/nan.h:52,
                 from ../src/binding.cpp:1:
/home/can/.node-gyp/12.18.0/include/node/v8.h:4275:31: note: candidate: static v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Context>, v8::FunctionCallback, v8::Local<v8::Value>, int, v8::ConstructorBehavior, v8::SideEffectType)
   static MaybeLocal<Function> New(
                               ^~~
/home/can/.node-gyp/12.18.0/include/node/v8.h:4275:31: note:   no known conversion for argument 1 from ‘v8::Isolate*’ to ‘v8::Local<v8::Context>’
In file included from ../src/binding.cpp:1:0:
../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local<v8::Value>)’:
../../nan/nan.h:1064:78: warning: ‘v8::Local<v8::String> v8::Value::ToString(v8::Isolate*) const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
       v8::Local<v8::String> string = from->ToString(v8::Isolate::GetCurrent());
                                                                              ^
In file included from /home/can/.node-gyp/12.18.0/include/node/v8-internal.h:14:0,
                 from /home/can/.node-gyp/12.18.0/include/node/v8.h:27,
                 from /home/can/.node-gyp/12.18.0/include/node/node.h:67,
                 from ../../nan/nan.h:52,
                 from ../src/binding.cpp:1:
/home/can/.node-gyp/12.18.0/include/node/v8.h:2684:31: note: declared here
                 Local<String> ToString(Isolate* isolate) const);
                               ^
/home/can/.node-gyp/12.18.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/binding.cpp:1:0:
../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const char*, const v8::Local<v8::Value>&)’:
../../nan/nan.h:1855:64: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
     New(persistentHandle)->Set(New(key).ToLocalChecked(), value);
                                                                ^
In file included from /home/can/.node-gyp/12.18.0/include/node/v8-internal.h:14:0,
                 from /home/can/.node-gyp/12.18.0/include/node/v8.h:27,
                 from /home/can/.node-gyp/12.18.0/include/node/node.h:67,
                 from ../../nan/nan.h:52,
                 from ../src/binding.cpp:1:
/home/can/.node-gyp/12.18.0/include/node/v8.h:3499:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/can/.node-gyp/12.18.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/binding.cpp:1:0:
../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(const v8::Local<v8::String>&, const v8::Local<v8::Value>&)’:
../../nan/nan.h:1861:42: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
     New(persistentHandle)->Set(key, value);
                                          ^
In file included from /home/can/.node-gyp/12.18.0/include/node/v8-internal.h:14:0,
                 from /home/can/.node-gyp/12.18.0/include/node/v8.h:27,
                 from /home/can/.node-gyp/12.18.0/include/node/node.h:67,
                 from ../../nan/nan.h:52,
                 from ../src/binding.cpp:1:
/home/can/.node-gyp/12.18.0/include/node/v8.h:3499:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/can/.node-gyp/12.18.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/binding.cpp:1:0:
../../nan/nan.h: In member function ‘void Nan::AsyncWorker::SaveToPersistent(uint32_t, const v8::Local<v8::Value>&)’:
../../nan/nan.h:1867:44: warning: ‘bool v8::Object::Set(uint32_t, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
     New(persistentHandle)->Set(index, value);
                                            ^
In file included from /home/can/.node-gyp/12.18.0/include/node/v8-internal.h:14:0,
                 from /home/can/.node-gyp/12.18.0/include/node/v8.h:27,
                 from /home/can/.node-gyp/12.18.0/include/node/node.h:67,
                 from ../../nan/nan.h:52,
                 from ../src/binding.cpp:1:
/home/can/.node-gyp/12.18.0/include/node/v8.h:3508:22: note: declared here
                 bool Set(uint32_t index, Local<Value> value));
                      ^
/home/can/.node-gyp/12.18.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/binding.cpp:1:0:
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const char*) const’:
../../nan/nan.h:1873:61: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
         New(persistentHandle)->Get(New(key).ToLocalChecked()));
                                                             ^
In file included from /home/can/.node-gyp/12.18.0/include/node/v8-internal.h:14:0,
                 from /home/can/.node-gyp/12.18.0/include/node/v8.h:27,
                 from /home/can/.node-gyp/12.18.0/include/node/node.h:67,
                 from ../../nan/nan.h:52,
                 from ../src/binding.cpp:1:
/home/can/.node-gyp/12.18.0/include/node/v8.h:3553:51: note: declared here
   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                   ^
/home/can/.node-gyp/12.18.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/binding.cpp:1:0:
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(const v8::Local<v8::String>&) const’:
../../nan/nan.h:1879:55: warning: ‘v8::Local<v8::Value> v8::Object::Get(v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
     return scope.Escape(New(persistentHandle)->Get(key));
                                                       ^
In file included from /home/can/.node-gyp/12.18.0/include/node/v8-internal.h:14:0,
                 from /home/can/.node-gyp/12.18.0/include/node/v8.h:27,
                 from /home/can/.node-gyp/12.18.0/include/node/node.h:67,
                 from ../../nan/nan.h:52,
                 from ../src/binding.cpp:1:
/home/can/.node-gyp/12.18.0/include/node/v8.h:3553:51: note: declared here
   V8_DEPRECATED("Use maybe version", Local<Value> Get(Local<Value> key));
                                                   ^
/home/can/.node-gyp/12.18.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from ../src/binding.cpp:1:0:
../../nan/nan.h: In member function ‘v8::Local<v8::Value> Nan::AsyncWorker::GetFromPersistent(uint32_t) const’:
../../nan/nan.h:1884:57: warning: ‘v8::Local<v8::Value> v8::Object::Get(uint32_t)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
     return scope.Escape(New(persistentHandle)->Get(index));
                                                         ^
In file included from /home/can/.node-gyp/12.18.0/include/node/v8-internal.h:14:0,
                 from /home/can/.node-gyp/12.18.0/include/node/v8.h:27,
                 from /home/can/.node-gyp/12.18.0/include/node/node.h:67,
                 from ../../nan/nan.h:52,
                 from ../src/binding.cpp:1:
/home/can/.node-gyp/12.18.0/include/node/v8.h:3557:51: note: declared here
   V8_DEPRECATED("Use maybe version", Local<Value> Get(uint32_t index));
                                                   ^
/home/can/.node-gyp/12.18.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from /usr/include/c++/7/cassert:44:0,
                 from /home/can/.node-gyp/12.18.0/include/node/node_object_wrap.h:26,
                 from ../../nan/nan.h:54,
                 from ../src/binding.cpp:1:
../../nan/nan_object_wrap.h: In destructor ‘virtual Nan::ObjectWrap::~ObjectWrap()’:
../../nan/nan_object_wrap.h:24:25: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
     assert(persistent().IsNearDeath());
                         ^
In file included from ../../nan/nan.h:2698:0,
                 from ../src/binding.cpp:1:
../../nan/nan_object_wrap.h: In member function ‘void Nan::ObjectWrap::MakeWeak()’:
../../nan/nan_object_wrap.h:67:34: warning: ‘void v8::PersistentBase<T>::MarkIndependent() [with T = v8::Object]’ is deprecated: Weak objects are always considered independent. Use TracedGlobal when trying to use EmbedderHeapTracer. Use a strong handle when trying to keep an object alive. [-Wdeprecated-declarations]
     persistent().MarkIndependent();
                                  ^
In file included from /home/can/.node-gyp/12.18.0/include/node/v8-internal.h:14:0,
                 from /home/can/.node-gyp/12.18.0/include/node/v8.h:27,
                 from /home/can/.node-gyp/12.18.0/include/node/node.h:67,
                 from ../../nan/nan.h:52,
                 from ../src/binding.cpp:1:
/home/can/.node-gyp/12.18.0/include/node/v8.h:570:22: note: declared here
       V8_INLINE void MarkIndependent());
                      ^
/home/can/.node-gyp/12.18.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
In file included from /usr/include/c++/7/cassert:44:0,
                 from /home/can/.node-gyp/12.18.0/include/node/node_object_wrap.h:26,
                 from ../../nan/nan.h:54,
                 from ../src/binding.cpp:1:
../../nan/nan_object_wrap.h: In static member function ‘static void Nan::ObjectWrap::WeakCallback(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)’:
../../nan/nan_object_wrap.h:124:26: error: ‘class Nan::Persistent<v8::Object>’ has no member named ‘IsNearDeath’
     assert(wrap->handle_.IsNearDeath());
                          ^
In file included from ../src/binding.cpp:1:0:
../../nan/nan.h: In instantiation of ‘void Nan::imp::SetMethodAux(T, v8::Local<v8::String>, v8::Local<v8::FunctionTemplate>, ...) [with T = v8::Local<v8::Object>]’:
../../nan/nan.h:2394:20:   required from ‘void Nan::SetMethod(HandleType<T>, const char*, Nan::FunctionCallback) [with T = v8::Object; HandleType = v8::Local; Nan::FunctionCallback = void (*)(const Nan::FunctionCallbackInfo<v8::Value>&)]’
../src/binding.cpp:351:42:   required from here
../../nan/nan.h:2378:3: warning: ‘bool v8::Object::Set(v8::Local<v8::Value>, v8::Local<v8::Value>)’ is deprecated: Use maybe version [-Wdeprecated-declarations]
   recv->Set(name, GetFunction(tpl).ToLocalChecked());
   ^~~~
In file included from /home/can/.node-gyp/12.18.0/include/node/v8-internal.h:14:0,
                 from /home/can/.node-gyp/12.18.0/include/node/v8.h:27,
                 from /home/can/.node-gyp/12.18.0/include/node/node.h:67,
                 from ../../nan/nan.h:52,
                 from ../src/binding.cpp:1:
/home/can/.node-gyp/12.18.0/include/node/v8.h:3499:22: note: declared here
                 bool Set(Local<Value> key, Local<Value> value));
                      ^
/home/can/.node-gyp/12.18.0/include/node/v8config.h:328:3: note: in definition of macro ‘V8_DEPRECATED’
   declarator __attribute__((deprecated(message)))
   ^~~~~~~~~~
binding.target.mk:131: recipe for target 'Release/obj.target/binding/src/binding.o' failed
make: *** [Release/obj.target/binding/src/binding.o] Error 1
make: Leaving directory '/dados/projetos/nodejs/botkit-cms/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 (/dados/projetos/nodejs/botkit-cms/node_modules/node-gyp/lib/build.js:262:23)
gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 4.15.0-101-generic
gyp ERR! command "/desenv/node-v12.18.0-linux-x64/bin/node" "/dados/projetos/nodejs/botkit-cms/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /dados/projetos/nodejs/botkit-cms/node_modules/node-sass
gyp ERR! node -v v12.18.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
Build failed with error code: 1
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 ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/can/.npm/_logs/2020-06-10T21_32_33_775Z-debug.log


lsb_release -a
LSB Version: core-9.20170808ubuntu1-noarch:printing-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: LinuxMint
Description: Linux Mint 19.2 Tina
Release: 19.2
Codename: tina

npm -v
6.14.4

node -v
v12.18.0

git commit 23128e2

from botkit-cms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.