aurelia / cli

The Aurelia 1 command line tool. Use the CLI to create projects, scaffold components, and bundle your app for release.
MIT License
407 stars 133 forks source link

Fixed broken `au run` command for Windows #1206

Closed namitoyokota closed 6 months ago

namitoyokota commented 7 months ago

In the latest node.js update, Windows machine will fail to run au run command. More details in the following issue: #1205. This PR adds a shell: true option to the parameters of the spawn() method (only for Windows machine) as suggested by node.js.

Additionally, I updated the machine set up guide in the readme document. It appears that a building step no longer exists within the package.json.

NOTE: This code change has been tested in macOS Sonoma and Windows 11.

3cp commented 7 months ago

The doc "Create a new project with au new" doesn't mean to create new project within your cli repo folder. I think that's where it confused you.

3cp commented 6 months ago

I will fix the CI setup after.

3cp commented 6 months ago

Seems like nodejs 20 is not happy with aurelia-cli. I will fix those regressions before next release.

3cp commented 6 months ago

It was mock-fs (only for unit tests) doesn't work with nodejs 20. I need to remove it.

3cp commented 6 months ago

v3.0.3 is released.