-
-
Notifications
You must be signed in to change notification settings - Fork 272
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
Trailing CR causes jspm to fail on Unix #2377
Comments
Thanks for posting. Which version of npm are you using here? It seems like this should be fixed for installs of newer versions. |
Reference: npm/npm#12371 |
I am using I still have the issue. Skimming through npm/npm#12371 it seems to be a problem introduced on the publisher side. |
@sylvainr the recommended NodeJS version is 6.11.4! |
I am sorry, I meant The issue is easily reproducible in a docker container with the following versions:
|
Ahh I see. I don't have access to a unix machine today, so if you're able to check running Node 8 with npm 5 let me know if that makes a difference. |
(Will publish next release from unix again, wasn't aware of this issue) |
I'm having the same issue, tho I can't see any CR and it doesn't happen in all of my environments. In my local, using node 8.x, there's no problem. In my AWS instances, running node 4.x, it does happen. For the time being, I'm pinning
This startled me. what is your usual dev environment? |
Hi, @guybedford This is happening for me, too, after upgrading to jspm v0.17.0-beta46 from jspm v0.17.0-beta42. env: node\r: No such file or directory Mac OS X "El Capitan" v10.11.6 (15G1217) |
@guybedford We ran into this as well. Our team is using jspm in a project and we ran into this on Linux in the CI/CD agent. One of the devs re-installing their environment on macOS experienced this, too. |
I've published a 0.17.0-beta.47 to resolve this. It's very odd that a standard NodeJS publish workflow doesn't work in Windows due to this convention breaking. Shows how unix the culture is! |
This seems to be reintroduced in 0.17.0-beta.48 again -> received the same error message on Mac OS, and downgrading to 47 resolved it. |
Fixed in 0.17.0-beta.49. |
I get the same |
@torson thanks for reporting - that's a very annoying issue I should remember to avoid. I've published a 0.16.55 with the fix. |
JSPM Version:
beta.46
Transpiler Plugin(s): I do not use a transpiler
Details:
It appears that some bad carriage return characters got their way into
jspm.js
. It just started happening with the new beta.The consequence is that
beta.46
introduces issues on both Mac OS X and Linux, where the following issues shows up:The
\r
hints at some carriage return stuff. It is confirmed by running diff onjspm.js
on thebeta-45
andbeta-46
with and without thestrip-trailing-cr
option:The text was updated successfully, but these errors were encountered: