Skip to content
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

npm init electron-vue-next shows error env: node\r: No such file or directory #48

Open
mmikhan opened this issue Mar 27, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@mmikhan
Copy link

mmikhan commented Mar 27, 2021

It's a weird issue and not sure if this is something specific to my local npm or something else. Whenever I run npm init electron-vue-next, it shows an error env: node\r: No such file or directory. The issue occurs with the Yarn as well yarn create electron-vue-next.

However, on a different machine, it works fine npm init electron-vue-next. My local Node version is v15.12.0.

Any idea what's causing the issue?

@ci010 ci010 added the bug Something isn't working label Mar 29, 2021
@ci010
Copy link
Owner

ci010 commented Mar 29, 2021

hmmmm, I'll try to see if there is any change to trigger this.

Do you have any detailed log for this? The script is not minimized, so maybe you can find a readable call stack?

Updated:

Once I searched for similar issue, it seems my 0.0.9 package is using CRLF ending for some reason. I published 0.0.10 now, and it should use LF.

You can try it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants