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

Not able to run this. Please help #108

Closed
vikasverma787 opened this issue Sep 17, 2023 · 1 comment
Closed

Not able to run this. Please help #108

vikasverma787 opened this issue Sep 17, 2023 · 1 comment

Comments

@vikasverma787
Copy link

Step1 : npm i works fine
Step 2: gular-JumpStart-main> ng build angular-jumpstart --watch
An unhandled exception occurred: Cannot find module 'node:util'
Require stack:

  • E:\playground\angular\Angular-JumpStart-main\Angular-JumpStart-main\node_modules@angular-devkit\architect\node_modules@angular-devkit\core\src\virtual-fs\host\buffer.js
  • E:\playground\angular\Angular-JumpStart-main\Angular-JumpStart-main\node_modules@angular-devkit\architect\node_modules@angular-devkit\core\src\virtual-fs\host\index.js

Step 3:
E:\playground\angular\Angular-JumpStart-main\Angular-JumpStart-main> ng serve
Cannot determine project or target for command.

@DanWahlin
Copy link
Owner

DanWahlin commented Sep 17, 2023

If you're getting an error building, it's hard to say since that's not an Angular-specific build error. I'd try deleting your node_modules folder and re-running npm install. It's possible there was an issue during the original install. Make sure you have an LTS version of Node.js being used.

Once it's build you don't run ng serve. This app uses a Node server to serve up the APIs AND the built Angular app so you'll run npm start (see the readme instructions about that).

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