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

Windows Line endings #1

Closed
eaglestorm opened this issue Jan 19, 2019 · 3 comments
Closed

Windows Line endings #1

eaglestorm opened this issue Jan 19, 2019 · 3 comments

Comments

@eaglestorm
Copy link

Hi
Somewhere there is a package with windows line endings. see, npm/npm#12371

When I try create a new app all i get is
/usr/bin/env: ‘node\r’: No such file or directory

This is due to a package using windows line endings when committing to Git.

@mythz
Copy link
Contributor

mythz commented Jan 19, 2019

I've just tested this on Windows, OSX which installs and runs without issue.

I did run into this gulp issue on Ubuntu which is now resolved with the latest aurelia-spa template, although it doesn't seem related to your issue.

Can you try installing the template again to see if it resolved it:

$ dotnet-new aurelia-spa ProjectName

If it's still an issue can you provide the exact steps to repro and also your OS Version, node -v and dotnet-new -v.

If it's to do with the dotnet-new installer (i.e. when installing the template), you can also install templates with our web dotnet tool, e.g:

$ dotnet tool install -g web
$ web new aurelia-spa ProjectName

@eaglestorm
Copy link
Author

Yeah I'm using Ubuntu and still getting the same error.

But i don't think its your template, when I run dotnet-new -v I get the same error

@mythz
Copy link
Contributor

mythz commented Jan 20, 2019

I can't repro this issue, you can try re-installing the cli tooling again:

$ npm uninstall @servicestack/cli
$ npm install -g @servicestack/cli

Otherwise you can use the web .NET Core dotnet tool to install the template:

$ dotnet tool install -g web
$ web new aurelia-spa ProjectName

@mythz mythz closed this as completed Dec 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants