-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
EISDIR: illegal operation on a directory, read
error after library upgrade
#232
Comments
We ran across a case where `''` ended up in the `urls` array. I don't believe this is a fix for this issue, more of a workaround. See ember-cli#232 for more details.
I'm hitting a similar issue. |
Interestingly, this is happening when I upgrade from @auth0/auth0-spa-js 1.16.0 to 1.16.1. |
Should be released, too: https://github.com/ember-cli/broccoli-terser-sourcemap/releases/tag/v4.1.1 does upgrading to 4.1.1 solve this for ye? |
I was able to fix it by installing |
likely has to do with your lockfile -- generally when you need to update transient / sub-sub deps, I like to delete the entries in the lockfile, and let the package manager re-resolve what the correct version is. anywho! most excellent! I'm going to close this issue, and we can probably open a new one if a similar issue arises! |
Hello!
We recently upgraded
@auth0/auth0-spa-js
to a more recent version and our production build started failing with this error:Notably v1.6.2 does not have this error, but anything from 1.7.0 does.
Reproducing it locally I found this log from the error dump:
What ends up happening here is
srcURL.from()
here: https://github.com/ember-cli/broccoli-uglify-sourcemap/blob/master/lib/get-sourcemap-content.js#L10 returns an empty string''
as the first item in theurls
array when it gets to our app'svendor.js
file, which then errors here: https://github.com/ember-cli/broccoli-uglify-sourcemap/blob/master/lib/get-sourcemap-content.js#L18 when it tries to read a directory instead of a file.Removing the empty string from the array results in a successful build, but with this warning:
Which seems to point to
ember-auto-import
.I'm uncertain where the issue is - is it in the auth0 source map urls, the source-map-url package that returns
''
, or maybeember-auto-import
. Has anyone ever seen this or have any guidance for where to look further?The text was updated successfully, but these errors were encountered: