Ant-design-pro: npm start error - Plugin umi-plugin-ga can't be resolved

Created on 26 Sep 2018  ·  9Comments  ·  Source: ant-design/ant-design-pro

> [email protected] start E:\React\ant-design-pro
> cross-env APP_TYPE=site umi dev

Plugin umi-plugin-ga can't be resolved
Error: Plugin umi-plugin-ga can't be resolved
    at map.p (E:\React\ant-design-pro\node_modules\[email protected]@umi-build-dev\lib\getPlugins.js:84:13)
    at Array.map (<anonymous>)
    at pluginToPath (E:\React\ant-design-pro\node_modules\[email protected]@umi-build-dev\lib\getPlugins.js:67:26)
    at getUserPlugins (E:\React\ant-design-pro\node_modules\[email protected]@umi-build-dev\lib\getPlugins.js:92:23)
    at _default (E:\React\ant-design-pro\node_modules\[email protected]@umi-build-dev\lib\getPlugins.js:57:10)
    at Service.resolvePlugins (E:\React\ant-design-pro\node_modules\[email protected]@umi-build-dev\lib\Service.js:75:38)
    at new Service (E:\React\ant-design-pro\node_modules\[email protected]@umi-build-dev\lib\Service.js:66:25)
    at Object.<anonymous> (E:\React\ant-design-pro\node_modules\[email protected]@umi\lib\scripts\realDev.js:28:1)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: `cross-env APP_TYPE=site umi dev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start 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!     C:\Users\DELL\AppData\Roaming\npm-cache\_logs\2018-09-26T08_24_17_700Z-debug.log

Most helpful comment

cnpm install

All 9 comments

@esofar 最好用cnpm吧,npm国内不太好使,除非,你有梯子

@zxl78585
has the same problem using cnpm start.

cnpm install

@chenshuai2144 nice.

npm startstill gives this error, Can anyone help, please?

@mgadirocks plase paste your error info

Getting same error what is showing here. @zxl78585

@mgadirocks you can install a cnpm and use cnpm install

@mgadirocks Sometimes,npm always could't find some packages

Was this page helpful?
0 / 5 - 0 ratings

Related issues

renyi818 picture renyi818  ·  3Comments

happier2 picture happier2  ·  3Comments

Yoping picture Yoping  ·  3Comments

yaoleiroyal picture yaoleiroyal  ·  3Comments

cheung1111 picture cheung1111  ·  3Comments