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

can't run build-command. #2

Closed
sassy opened this issue Aug 22, 2017 · 8 comments
Closed

can't run build-command. #2

sassy opened this issue Aug 22, 2017 · 8 comments

Comments

@sassy
Copy link

sassy commented Aug 22, 2017

I can't run to build.

$ npm run build-electron

> angular-electron@1.0.0 build-electron /Users/sassy/dev/angular/angular-electron
> nge build

env: node\r: No such file or directory

cause error to run nge build .
Did I mistake how to use command?

@sassy
Copy link
Author

sassy commented Aug 22, 2017

environment:

  • node: v6.9.5
  • npm: v5.3.0
  • OS: Mac OS X 10.12.6

@dolanmiu
Copy link
Owner

I get this error too on Mac OS X, on Windows it works fine, I am quite puzzled

Been trying to figure out why since yesterday

@dolanmiu
Copy link
Owner

It's most definately related to this:

nwutils/nw-builder#75

@sassy
Copy link
Author

sassy commented Aug 22, 2017

I will investigate this problem.
This problem may be my environment.

thanks.

@dolanmiu
Copy link
Owner

I have a feeling that if i publish this npm package on my mac, it will make the line endings to LF (unix), which would fix this problem (according to that post above).

What you can try is running npm run build inside the ng-cli-electron folder to build it yourself, maybe that could work

I will try tomorrow on my mac

@sassy
Copy link
Author

sassy commented Aug 22, 2017

I see.
I will try it. Thanks.

@sassy
Copy link
Author

sassy commented Aug 22, 2017

I run npm run build inside the ng-lic-electron and run ../ng-cli-electron/dist/cli.js build.
It worked!

thanks.

@dolanmiu
Copy link
Owner

Released version 1.1.1 which is built from my mac OS, which fixed it

Thanks!

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