ReferenceError:未定义原始变量-为什么?

时间:2020-01-08 15:24:15

标签: javascript svg npm gruntjs grunticon

我安装了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 got@5.7.1: 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: got@5.7.1
npm WARN ico-svg@1.0.0 No description
npm WARN ico-svg@1.0.0 No repository field.

+ grunt-grunticon@2.3.2
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.

0 个答案:

没有答案