OiWorld / MindTheWord

An extension for Google Chrome that helps people learn new languages while they browse the web.
43 stars 47 forks source link

Error: (SystemJS) XHR error on Linux #210

Closed sudeepb02 closed 6 years ago

sudeepb02 commented 7 years ago

Running npm test on my Linux system gives me the following error :

5 03 2017 15:56:59.390:WARN [web-server]: 404: /base/jspm_packages/system-polyfills.js 05 03 2017 15:56:59.789:WARN [web-server]: 404: /base/jspm_packages/npm/lodash@4.14.0.js PhantomJS 2.1.1 (Linux 0.0.0) ERROR Error: (SystemJS) XHR error (404 Not Found) loading http://localhost:9000/jspm_packages/npm/lodash@4.14.0.js Error loading http://localhost:9000/jspm_packages/npm/lodash@4.14.0.js as "lodash" from http://localhost:9000/lib/scripts/mtw.js PhantomJS 2.1.1 (Linux 0.0.0): Executed 0 of 0 ERROR (0.74 secs / 0 secs) npm ERR! Test failed. See above for more details.

ceilican commented 7 years ago

Are you still experiencing this issue? Is your Linux system standard? Do you have any firewall that could be preventing access to localhost:9000 ?

ceilican commented 7 years ago

Anyone else using linux can reproduce the issue described above? (I'm using Mac, so I can't.)

ceilican commented 7 years ago

@sudeepb02 We are moving to gitlab. So please use our new repository and issue tracker at http://www.gitlab.com/aossie . Have a look on http://www.aossie.org as well...

boro741 commented 7 years ago

This error can be resolved by running commands that are on the CONTRIBUTE.md npm install -g jspm gulp gulp-cli jsdoc karma-cli npm install jspm install

I've tested it on Linux in Virtual Box. res

ceilican commented 7 years ago

Could you please improve the README.md and the CONTRIBUTE.md, so that future users/develoeprs do not face the same issue? Please submit a pull request to our gitlab repository: www.gitlab.com/aossie/MindTheWord/

boro741 commented 7 years ago

@ceilican sure.

sudeepb02 commented 7 years ago

@boro741 Are you working on improving the README? Let me know in case you're not so I'll submit a PR

sudeepb02 commented 7 years ago

Another solution would be to initialize the SystemJS using jspm dl-loader

boro741 commented 7 years ago

@sudeepb02 yea I'm working on improving the README.md file.

ceilican commented 7 years ago

@sudeepb02

Another solution would be to initialize the SystemJS using jspm dl-loader

This would be an alternative to what, exactly?

Anyway, if this would make it easier for people to contribute to the project, it is certainly welcome.

sudeepb02 commented 7 years ago

@ceilican Alternative solution to the above problem

ceilican commented 7 years ago

@sudeepb02 if you would like to describe this alternative solution in the README as well, please go ahead. Just wait for @boro741 's merge request to be merged first. (You can see his MR in our gitlab repository.)