Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Error: Cannot find module 'ansi-regex' #20053

Open
frankthepunk opened this issue Mar 14, 2018 · 0 comments
Open

Error: Cannot find module 'ansi-regex' #20053

frankthepunk opened this issue Mar 14, 2018 · 0 comments
Labels

Comments

@frankthepunk
Copy link

frankthepunk commented Mar 14, 2018

Hi,

with ng run / npm run / ng help / ng serve / npm start / etc. I get at the terminal following error:
"Error: Cannot find module 'ansi-regex'".

When I try to install ansi-regex, I get this error:

npm ERR! path C:\dev\git...\frontend\node_modules.bin\semver.cmd
npm ERR! code EEXIST
npm ERR! Refusing to delete C:\dev\git...\frontend\node_modules.bin\semver.cmd: ..\agent-base\node_modules\semver\bin\semver symlink target is not controlled by npm C:\dev\git...\frontend\node_modules\semver
npm ERR! File exists: C:\dev\git...\frontend\node_modules.bin\semver.cmd
npm ERR! Move it away, and try again.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\fm...\AppData\Roaming\npm-cache_logs\2018-03-14T14_31_18_023Z-debug.log

Also I tryed to uninstall ansi-regex, but it is'nt possible eather.

Does somebody has a idea to solve that problem?
Would be happy about help.

Frank

@kenany kenany added the support label Mar 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants