在启动节点项目时,似乎babel-core犯了一个错误

时间:2017-12-15 06:38:48

标签: javascript node.js reactjs babel

OS: Win10
Node: v7.10
NPM: v4.2.0
Node-gyp: v3.6.2

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN @souche-f2e/sad@1.10.5 requires a peer of antd@2.8.0 but none was installed. npm WARN sad@2.0.0 No repository field.

我可以成功执行npm run i(但有些警告),当我想执行npm run start时,我遇到了一个错误:

Module build failed: Error: Plugin 0 specified in "base" provided an invalid property of "default" at Plugin.init (D:\xx\xxx\web\src\main\antd\node_modules\babelcore\lib\transformation\plugin.js:131:13)

还有一个我关心的是

npm WARN @souche-f2e/sad@1.10.5 requires a peer of antd@2.8.0 but none was installed.

可能是什么原因?

0 个答案:

没有答案