npm无法卸载鹰嘴豆泥

问题描述

当我尝试在Ubuntu 18.04.3上进行npm安装时,我一直收到此错误

Creating an optimized production build...

<--- Last few GCs --->

[17781:0x44c8c50]    66207 ms: Scavenge 993.2 (998.1) -> 993.0 (998.6) MB,8.9 / 0.0 ms  (average mu = 0.258,current mu = 0.275) allocation failure
[17781:0x44c8c50]    66541 ms: Mark-sweep 993.6 (998.6) -> 987.0 (998.6) MB,311.6 / 0.0 ms  (+ 408.1 ms in 74 steps since start of marking,biggest step 39.0 ms,walltime since start of marking 859 ms) (average mu = 0.338,current mu = 0.412) allocation

<--- JS stacktrace --->

==== JS stack trace =========================================

    0: ExitFrame [pc: 0x13da519]
Security context: 0x14eb4ac40921 <JSObject>
    1: _parseMappings(aka SourceMapConsumer_parseMappings) [0x5db3f57c879] [/home/david/ammonite/node_modules/webpack-sources/node_modules/source-map/lib/source-map-consumer.js:~468] [pc=0x39c0c766bcd2](this=0x025377be5539 <BasicSourceMapConsumer map = 0x2d995f50c241>,0x39d765cbd3f1 <Very long string[4863]>,0x3732a4e401c1 <null>)
    2: get [0xdd226766261] [/home...

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 1: 0xa0e670 node::Abort() [node]
 2: 0xa0ea9c node::OnFatalError(char const*,char const*) [node]
 3: 0xb83afe v8::Utils::ReportOOMFailure(v8::internal::Isolate*,char const*,bool) [node]
 4: 0xb83e79 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*,bool) [node]
 5: 0xd32305  [node]
 6: 0xd32996 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [node]
 7: 0xd41209 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector,v8::GCCallbackFlags) [node]
 8: 0xd42045 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace,v8::internal::GarbageCollectionReason,v8::GCCallbackFlags) [node]
 9: 0xd44b1c v8::internal::Heap::AllocateRawWithRetryOrFailSlowPath(int,v8::internal::AllocationType,v8::internal::AllocationOrigin,v8::internal::AllocationAlignment) [node]
10: 0xd0a2cd  [node]
11: 0xd0b4e2 v8::internal::Factory::AllocateRawFixedArray(int,v8::internal::AllocationType) [node]
12: 0xd0b9e8 v8::internal::Factory::NewPropertyArray(int) [node]
13: 0xee56f9 v8::internal::JSObject::MigrateToMap(v8::internal::Isolate*,v8::internal::Handle<v8::internal::JSObject>,v8::internal::Handle<v8::internal::Map>,int) [node]
14: 0xeffef2 v8::internal::LookupIterator::ApplyTransitionToDataProperty(v8::internal::Handle<v8::internal::JSReceiver>) [node]
15: 0xf314b1 v8::internal::Object::AddDataProperty(v8::internal::LookupIterator*,v8::internal::Handle<v8::internal::Object>,v8::internal::PropertyAttributes,v8::Maybe<v8::internal::ShouldThrow>,v8::internal::StoreOrigin) [node]
16: 0xf320a7 v8::internal::Object::SetProperty(v8::internal::LookupIterator*,v8::internal::StoreOrigin,v8::Maybe<v8::internal::ShouldThrow>) [node]
17: 0x106e72a v8::internal::Runtime::SetObjectProperty(v8::internal::Isolate*,v8::Maybe<v8::internal::ShouldThrow>) [node]
18: 0x106f8fa v8::internal::Runtime_SetKeyedProperty(int,unsigned long*,v8::internal::Isolate*) [node]
19: 0x13da519  [node]
Aborted (core dumped)
npm ERR! code ELIFECYCLE
npm ERR! errno 134
npm ERR! ammonite@0.1.0 build: `node scripts/build.js`
npm ERR! Exit status 134
npm ERR!
npm ERR! Failed at the ammonite@0.1.0 build 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-08-10T19_07_33_865Z-debug.log

我尝试做

npm uninstall hummus --save

这也不起作用。

我不想要鹰嘴豆泥,也不明白为什么它会不断地重新安装自己。

Atm我也无法构建项目,并且在尝试npm run build时会不断出错134。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

依赖报错 idea导入项目后依赖报错,解决方案:https://blog....
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下...
错误1:gradle项目控制台输出为乱码 # 解决方案:https://bl...
错误还原:在查询的过程中,传入的workType为0时,该条件不起...
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct...