-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Unable to setup developer environment #7239
Comments
The issue is reproducible in Travis for Node 5.x and above. |
I can reproduce this. It might be caused by the release of cc @mysticatea edit: When I run
I think the issue is happening because |
As a temporary workaround, you can fix the problem by using |
Have confirmed this locally. Locking @mysticatea Any ideas why this might be happening? |
@kaicataldo The issue is this line, which was just added in the latest release. It's trying to require() a file within |
Wonder if we should consider creating a sub-package with some of the ESLint utils? That way eslint-plugin-node could just consume that (and I know of a few plugins which have wanted to use ast-utils or which have re-implemented their own ast-utils file). Slightly outside the scope of this issue, though. |
I'm sorry, I will publish |
I have done. |
Closing as PRs seem good now. I'm sorry, I had not realized this problem since I have the symlink of eslint in the node_modules of my local eslint repository. |
Tell us about your environment
What did you do? Please include the actual source code causing the issue.
I forked eslint and followed the developer guide up till step 5. I then ran
npm test
.What did you expect to happen?
Expected tests to pass successfully.
What actually happened? Please include the actual, raw output from ESLint.
When I ran
npm test
i got the following error:eslint-plugin-node was in my node_modules folder. However it had an unfulfilled peer dependency. When I ran
npm list
i got this error:npm install eslint --save
causes this error though:Any assistance would be greatly appreciated. Thank you.
The text was updated successfully, but these errors were encountered: