-
Notifications
You must be signed in to change notification settings - Fork 141
Error: EPERM: operation not permitted, write #579
Comments
What version of |
I'm getting this with:
|
No, I have not seen that and am having trouble thinking about what might be causing it. I know it sounds crazy, but have you tried restarting Atom lately? Sometimes that solves strange problems like this (for some unknown reason). |
Interesting, seems to perhaps be a change in ESLint |
Yup, it only started happening after the eslint upgrade. |
Any luck? |
Not so far, I didn't have a chance last night like I hoped. It's high on my list, and I'll let you know if/when I figure out what's going on. |
Cool, no problem. Thanks for your efforts! |
I am facing same issue as @mikecousins. Please look into this. |
Same |
The breaking change seems to be in eslint-plugin-react v6.0.0, released on 2016-08-01. The note reads
At the same time eslint-config-airbnb v10.0.0 uses that rule. There is an open issue for that. |
That shows up as a minor warning when running it via the command-line. It's pretty in your face in Atom and doesn't even mention the actual warning if that's the case.. |
@akash87, I am not paid for this work and do it in my spare time. Making demands will not help. I am in the middle of a renovation on my house and dealing with family health problems, in addition to tight deadlines at work. This is open-source, and you're free to investigate and fix the problem if it is causing you pain. I'd be happy to review and merge a PR. |
@IanVS I've run into the same issue. As I respect your time, do you know of a fix I can do in the mean time to continue using this in atom? Do I need to install a different version of a certain es-lint package or install a different version of this atom package? I know this might be obvious for some but I'm not entirely sure what the immediate work around is. |
I just disabled the linter-eslint plugin for now and an instead running it on the command line. |
There have been reports of ESLint |
Thank you for the quick response. I reverted back to eslint 3.1.1 and 3.1.0 and neither seemed to solve the problem. Did the classic restarts as well. No luck. Error in Atom
versionsnode: 6.1.0 "eslint": "^3.1.0",
"eslint-config-airbnb": "^10.0.0",
"eslint-import-resolver-webpack": "^0.4.0",
"eslint-plugin-import": "^1.12.0",
"eslint-plugin-jsx-a11y": "^2.1.0",
"eslint-plugin-react": "^6.0.0", eslintrc.json file I was testing with{
"extends": "airbnb",
"rules": {
"jsx-quotes": 1,
"react/jsx-": 0
}
} |
|
Thanks. I went back to eslint3.1.0 but all the other related dependencies didn't quite like that so after resolving the many UNMET PEER DEPENDENCY, the following versions are working with the eslint atom plugin. |
Yeah, that's why I just disabled it for now. You have to downgrade quite a few packages to get it working. |
Had to go all the way back to [email protected]? |
@IanVS I wasn't able to get [email protected] to work. Yes, had to go back to 2.9 to get things working again. |
I can't reproduce this so far. I'm on a mac, though, and it looks like maybe everyone having this problem is using windows? Can those on this issue give this comment a 👍 reaction if you're using windows and 👎 if using mac or linux? |
Easiest fix for me was to just to remove the eslint dependencies from package.json and remove the eslint packages from the node modules folder, change eslint config file so it doesn't use any plugins (make sure it extends recommended only). Then Atomlinter will fall back to its built-in copy of eslint (assuming use global eslint is unticked in settings). |
I'm pretty sure it's the problem described in #418 (comment) |
Seems like eslint-config-airbnb is causing problems, other styles work fine. |
@pavlin99th Yes I think it is something like the issue you linked to, although it looks like airbnb does not use any of the deprecated eslint-plugin-react rules. Can everyone make sure they are not enabling any of:
|
Ah, I missed it the first time, but it looks like they do use |
@IanVS , take a look: #579 (comment) |
@pavlin99th Ah, sorry I missed that. You're absolutely right! So, it seems for now you should be able to add this to your "rules": {
"react/require-extension": "off"
} Could someone try this and see if it solves the error? |
I confirm, this solves the error. So, the solution for now is to disable the rules which use |
That seems more like an atom bug, do you agree, @Arcanemagus? |
If I remember correctly it's actually a Node.js bug with older versions (like the one embedded within and used by Atom), either way it's not something that we can really deal with in this package so I'm marking this as closed. |
@IanVS, your solution above (setting Thanks so much for all your hard work on the project, and for the workaround on this particular issue. |
If anyone interested in the fix, please vote for the culprit issue here: jsx-eslint/eslint-plugin-react#783 |
Update: it's an issue of Atom itself not handling certain inter-process communications correctly. |
The text was updated successfully, but these errors were encountered: