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!
-
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/6513921Barremian– Barremian2022-01-27 14:11:34 +00:00Commented 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)MikeOne– MikeOne2022-01-27 15:02:49 +00:00Commented Jan 27, 2022 at 15:02
-
Does this answer your question? Typescript error -- Error: Cannot find module 'typescript/tsc.js'TriS– TriS2022-02-05 17:41:25 +00:00Commented Feb 5, 2022 at 17:41
Add a comment
|