ReferenceError:未定义原始语言-为什么?

问题描述 投票:0回答:1

我安装了gunticon软件包。当前在osx 10146,grunt 104,grunticon 232,节点12141上。

当我在grunticon文件夹上启动grunt命令时,我不断收到ReferenceError:未定义primordials。另外

Warning: Task "grunticon:icons" not found. Use --force to continue.

如何解决?

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=0.10.0 <7"} (current: {"node":"12.14.1","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

+ [email protected]
added 494 packages from 281 contributors and audited 11312 packages in 22.115s

1 package is looking for funding
  run `npm fund` for details

found 46 vulnerabilities (22 low, 9 moderate, 14 high, 1 critical)
  run `npm audit fix` to fix them, or `npm audit` for details
➜  ico-svg grunt                                
>> ReferenceError: primordials is not defined


➜  ico-svg grunt                                     
Loading "grunticon.js" tasks...ERROR
>> ReferenceError: primordials is not defined
Warning: Task "grunticon:icons" not found. Use --force to continue.

Aborted due to warnings.
javascript svg npm gruntjs grunticon
1个回答
0
投票

今天我遇到了类似的错误,我刚刚解决了这个问题。检查此链接:https://timonweb.com/posts/how-to-fix-referenceerror-primordials-is-not-defined-error/

© www.soinside.com 2019 - 2024. All rights reserved.