Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trying to run but error comes... #505

Open
robec1982 opened this issue Dec 24, 2019 · 3 comments
Open

trying to run but error comes... #505

robec1982 opened this issue Dec 24, 2019 · 3 comments

Comments

@robec1982
Copy link

Hello I'm trying to install your angular-ngrx-material-starter but its impossible due to a recurrent error described as follows by npm installer:

An unhandled exception occurred: Cannot find module './internal/Observable'
Require stack:

  • C:\Users\RobertoCarlos\Workspaces\Angular CLI\pubs-registry\node_modules@angular-devkit\build-angular\node_modules\rxjs\index.js
  • C:\Users\RobertoCarlos\Workspaces\Angular CLI\pubs-registry\node_modules@angular-devkit\build-angular\node_modules@angular-devkit\architect\src\api.js
  • C:\Users\RobertoCarlos\Workspaces\Angular CLI\pubs-registry\node_modules@angular-devkit\build-angular\node_modules@angular-devkit\architect\src\index.js
  • C:\Users\RobertoCarlos\Workspaces\Angular CLI\pubs-registry\node_modules@angular-devkit\build-angular\src\dev-server\index.js
  • C:\Users\RobertoCarlos\AppData\Roaming\npm\node_modules@angular\cli\node_modules@angular-devkit\architect\node\node-modules-architect-host.js
  • C:\Users\RobertoCarlos\AppData\Roaming\npm\node_modules@angular\cli\node_modules@angular-devkit\architect\node\index.js
  • C:\Users\RobertoCarlos\AppData\Roaming\npm\node_modules@angular\cli\models\architect-command.js
  • C:\Users\RobertoCarlos\AppData\Roaming\npm\node_modules@angular\cli\commands\serve-impl.js
  • C:\Users\RobertoCarlos\AppData\Roaming\npm\node_modules@angular\cli\node_modules@angular-devkit\schematics\tools\export-ref.js
  • C:\Users\RobertoCarlos\AppData\Roaming\npm\node_modules@angular\cli\node_modules@angular-devkit\schematics\tools\index.js
  • C:\Users\RobertoCarlos\AppData\Roaming\npm\node_modules@angular\cli\utilities\json-schema.js
  • C:\Users\RobertoCarlos\AppData\Roaming\npm\node_modules@angular\cli\models\command-runner.js
  • C:\Users\RobertoCarlos\AppData\Roaming\npm\node_modules@angular\cli\lib\cli\index.js
  • C:\Users\RobertoCarlos\AppData\Roaming\npm\node_modules@angular\cli\lib\init.js
  • C:\Users\RobertoCarlos\AppData\Roaming\npm\node_modules@angular\cli\bin\ng
    See "C:\Users\ROBERT~1\AppData\Local\Temp\ng-RTlF7R\angular-errors.log" for further details.
    npm ERR! code ELIFECYCLE
    npm ERR! syscall spawn
    npm ERR! file C:\windows\system32\cmd.exe
    npm ERR! errno ENOENT
    npm ERR! [email protected] start: ng serve --open
    npm ERR! spawn ENOENT
    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.

Please, do you have some suggestion?

@tomastrajan
Copy link
Owner

Did you install with npm ci or npm install ?

@robec1982
Copy link
Author

I'm using npm install. I'll try with npm ci

@robec1982
Copy link
Author

I've tried with npm ci and even with npm ci --save-dev @commitlint/[email protected] as suggested by @khasanovrs to surpass high vulnerabilities but a new error comes:

npm WARN prepare removing existing node_modules/ before installation
npm ERR! Unexpected end of JSON input while parsing near '...2":"latest","@types/m'

after that my terminal gets into a kind of stand by :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants