404 for operators.js
acrisci opened this issue · 3 comments
acrisci commented
Hi,
After a fresh clone and npm install
, starting the project with npm run start
and going to the page gives me this 404 error.
(index):19 Error: (SystemJS) XHR error (404 Not Found) loading http://localhost:3000/node_modules/rxjs/operators.js
Error: XHR error (404 Not Found) loading http://localhost:3000/node_modules/rxjs/operators.js
at XMLHttpRequest.wrapFn (http://localhost:3000/node_modules/zone.js/dist/zone.js:1166:39)
at ZoneDelegate.invokeTask (http://localhost:3000/node_modules/zone.js/dist/zone.js:425:31)
at Zone.runTask (http://localhost:3000/node_modules/zone.js/dist/zone.js:192:47)
at ZoneTask.invokeTask [as invoke] (http://localhost:3000/node_modules/zone.js/dist/zone.js:499:34)
at invokeTask (http://localhost:3000/node_modules/zone.js/dist/zone.js:1540:14)
at XMLHttpRequest.globalZoneAwareCallback (http://localhost:3000/node_modules/zone.js/dist/zone.js:1566:17)
Error loading http://localhost:3000/node_modules/rxjs/operators.js as "./operators" from http://localhost:3000/node_modules/rxjs/Rx.js
at XMLHttpRequest.wrapFn (http://localhost:3000/node_modules/zone.js/dist/zone.js:1166:39)
at ZoneDelegate.invokeTask (http://localhost:3000/node_modules/zone.js/dist/zone.js:425:31)
at Zone.runTask (http://localhost:3000/node_modules/zone.js/dist/zone.js:192:47)
at ZoneTask.invokeTask [as invoke] (http://localhost:3000/node_modules/zone.js/dist/zone.js:499:34)
at invokeTask (http://localhost:3000/node_modules/zone.js/dist/zone.js:1540:14)
at XMLHttpRequest.globalZoneAwareCallback (http://localhost:3000/node_modules/zone.js/dist/zone.js:1566:17)
Error loading http://localhost:3000/node_modules/rxjs/operators.js as "./operators" from http://localhost:3000/node_modules/rxjs/Rx.js
acrisci commented
acrisci commented
workaround:
echo 'require('./operators/index.js');' > node_modules/rxjs/operators.js