Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues building locally #44

Closed
jmfurlott opened this issue Jun 21, 2015 · 2 comments
Closed

Issues building locally #44

jmfurlott opened this issue Jun 21, 2015 · 2 comments

Comments

@jmfurlott
Copy link

Trying to help work on the project by adding layers control toggling. There seems to be several problems setting up the environment correctly.

  • The jest tests will not run entirely
  • I believe you are missing eslint from the package.json
  • Getting an error from babel when trying to use the package in the via npm link
ERROR in Loader /home/jmfurlott/work/misc/react-leaflet/node_modules/babel/index.js?optional=runtime&stage=0 didn't return a function
 @ ../misc/react-leaflet/lib/index.js 17:13-31

The Jest error I am getting on just npm install:

Using Jest CLI v0.4.13
Waiting on 5 tests...Could not find a `test` module while analyzing dependencies of `MapComponent`
 FAIL  lib/__tests__/Map.js
Error: Worker process exited before responding! exit code: null, exit signal: SIGSEGV
stderr:

Seen these problems before? Is it just my environment?

@PaulLeCam
Copy link
Owner

What version of node are you using? Jest is only compatible with v0.10.

There is no eslint in package.json but it's a good idea, I would add it eventually.

Regarding your error when using npm link, I suppose it's an issue with you configuration, seems to be an error with webpack loader and this library is not using webpack.

@PaulLeCam
Copy link
Owner

Closing due to lack of response, feel free to reopen if you need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants