-
Notifications
You must be signed in to change notification settings - Fork 54
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
Error: Unable to read .js file (Error code: EISDIR). #29
Comments
👍 this problem history.js is the package causing me issues. Thanks @brandon-arnold your solution saved me from choosing between a library I use and a working build. |
I have the same problem. Anyway thank you @brandon-arnold you saved me also! |
Note: I ran into this issue with the Auth0 module also:
The solution above for spin.js also fixes the auth0.js problem. You may also need to do the same fix in the 'usemin' configuration section as well, if you have one:
|
Any package that ends with |
@ianzepp Your solution doesn't resolve the issue for me. |
@elis: did you add the line to the rev {} section, too, like the first post? Ianzepp only showed half the solution. |
Yeah, and it solved the problem. Cheers! On יום ג׳, 1 בספט׳ 2015 at 16:17 Brandon Arnold [email protected]
|
Worked like a charm... and really good to know! |
Hi all,
It seems the grunt rev section in its current form can't distinguish between a directory ending in ".js" and a .js file. Grunt-rev (and subsequently usemin) will fail with
In the below Gruntfile.js section, I fixed the problem by singling out each .js/ directory (spin.js is a project name and a .js file, for example) and excluding it. If you can tell me a more general way to do it by regex I would appreciate it.
The text was updated successfully, but these errors were encountered: