0

That's error happens to me, when i just created a new Angular project and execute ng serve. The Line of error is: An unhandled exception occurred: Cannot find module 'typescript'. After stop and read the error, i found the rason for this. Forgeted to change the location after project creation. For exemplo, on my project "crud-angular", was run cd crud-angular. Now, on folder contains all project files, run ng serve and be hapy!

3
  • While self-answers are encouraged in Stack Exchange, the question section is generally reserved only for the question. You could write an answer and mark it as resolved. On the other hand, it appears there already is a specific post for this question: stackoverflow.com/q/67419621/6513921 Commented Jan 27, 2022 at 14:11
  • I’m voting to close this question because it’s not an actual question (and likely a duplicate anyway) Commented Jan 27, 2022 at 15:02
  • Does this answer your question? Typescript error -- Error: Cannot find module 'typescript/tsc.js' Commented Feb 5, 2022 at 17:41

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.