spring-projects/spring-flo

404 for operators.js

acrisci opened this issue · 3 comments

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

workaround:

echo 'require('./operators/index.js');' > node_modules/rxjs/operators.js

@acrisci I have decided to fix the version for rxjs at 5.4.3. It's used for sample only anyway.
Fixed with c8fadb1