Closed Vshalee closed 3 years ago
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.
found the fix for this here https://angular-university.io/lesson/angular-beginners-injectable-services
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.