简体   繁体   English

由于gulp,Npm安装在语义UI上失败

[英]Npm install failed on semantic-ui due to gulp

I'm trying to install the dependencies for this react app. 我正在尝试为此反应应用程序安装依赖项。 I have the packages in my package.json and am running npm install . 我的package.json中有软件包,并且正在运行npm install The output is: 输出为:

> semantic-ui@2.3.3 install /srv/org/reactsgo/app/front_end/node_modules/semantic-ui
> gulp install

gulp[10488]: ../src/node_contextify.cc:637:static void node::contextify::ContextifyScript::New(const v8::FunctionCallbackInfo<v8::Value>&): Assertion `args[1]->IsString()' failed.
 1: 0x8b8210 node::Abort() [gulp]
 2: 0x8b82e5  [gulp]
 3: 0x8eb237 node::contextify::ContextifyScript::New(v8::FunctionCallbackInfo<v8::Value> const&) [gulp]
 4: 0xb4daa8  [gulp]
 5: 0xb4fa12 v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) [gulp]
 6: 0x1a851fd841bd
Aborted

I've tried to clean my cache with npm clean cache --force . 我试图用npm clean cache --force I've built and rebuilt. 我已经建造和重建。 I always get the same problem when I do the semantic-ui install even when I simply try to npm install semantic-ui on its own. 即使我只是简单地尝试npm install semantic-ui ,我在npm install semantic-ui时也总是遇到相同的问题。

Am I hitting a versioning issue? 我遇到版本问题吗? My node is v10.8.0 and my npm is 6.2.0. 我的节点是v10.8.0,我的npm是6.2.0。

Anyone have a similar issue and a fix? 任何人都有类似的问题和解决方法?

EDIT: On Debian 8 jessie 编辑:在Debian 8杰西

修复了运行npm install natives然后重新运行npm install

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM