question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

npm start error - Plugin umi-plugin-ga can't be resolved

See original GitHub issue
> ant-design-pro@2.0.0 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\_umi-build-dev@1.0.3@umi-build-dev\lib\getPlugins.js:84:13)
    at Array.map (<anonymous>)
    at pluginToPath (E:\React\ant-design-pro\node_modules\_umi-build-dev@1.0.3@umi-build-dev\lib\getPlugins.js:67:26)
    at getUserPlugins (E:\React\ant-design-pro\node_modules\_umi-build-dev@1.0.3@umi-build-dev\lib\getPlugins.js:92:23)
    at _default (E:\React\ant-design-pro\node_modules\_umi-build-dev@1.0.3@umi-build-dev\lib\getPlugins.js:57:10)
    at Service.resolvePlugins (E:\React\ant-design-pro\node_modules\_umi-build-dev@1.0.3@umi-build-dev\lib\Service.js:75:38)
    at new Service (E:\React\ant-design-pro\node_modules\_umi-build-dev@1.0.3@umi-build-dev\lib\Service.js:66:25)
    at Object.<anonymous> (E:\React\ant-design-pro\node_modules\_umi@2.0.3@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! ant-design-pro@2.0.0 start: `cross-env APP_TYPE=site umi dev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ant-design-pro@2.0.0 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

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9

github_iconTop GitHub Comments

3reactions
chenshuai2144commented, Sep 26, 2018

cnpm install

0reactions
f8q8commented, Dec 5, 2018

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

'npm start' returns error: "There might be a problem with the ...
In my case, I solved my problem in this way. create a .env at the root of the folder react folder; type SKIP_PREFLIGHT_CHECK=true...
Read more >
Common errors | npm Docs
Some strange issues can be resolved by simply running npm cache clean and trying ... Error: ENOENT, stat 'C:\Users\<user>\AppData\Roaming\npm' on Windows 7.
Read more >
cannot find module [Node npm Error Solved] - freeCodeCamp
I'll do that by running yarn add react-icons . Once I install the package and run the app, everything should successfully compile: ss2....
Read more >
Npm install command failing with message "could not find ...
When I run the npm install command, npm starts downloading the dependencies. But then, suddenly, it stops with the error:
Read more >
npm, pnpm, and Yarn | IntelliJ IDEA Documentation - JetBrains
If the inspection detects any mismatch, it suggests a quick-fix. To apply it, click the Run '<package manager> install' link. Installed version ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found