angular-university / angular-course

Angular Core Deep Dive (Video Course) - https://angular-university.io/course/angular-course
MIT License
363 stars 591 forks source link

npm run server yields the following error #36

Closed Vshalee closed 3 years ago

Vshalee commented 3 years ago

image

C:\Learning\angular-course-3-services-finished>npm run server

angular-course@0.0.0 server node_modules/.bin/ts-node -P ./server.tsconfig.json ./server.ts

'node_modules' is not recognized as an internal or external command, operable program or batch file.

I tried editing the "." in package.json "server": "node_modules/.bin/ts-node -P ./server.tsconfig.json ./server.ts". still the same error.

Vshalee commented 3 years ago

found the fix for this here https://angular-university.io/lesson/angular-beginners-injectable-services