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

Fixed broken au run command for Windows #1206

Merged
merged 9 commits into from
Apr 24, 2024
Merged

Fixed broken au run command for Windows #1206

merged 9 commits into from
Apr 24, 2024

Conversation

namitoyokota
Copy link
Contributor

@namitoyokota namitoyokota commented Apr 22, 2024

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.

README.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
lib/package-managers/base-package-manager.js Outdated Show resolved Hide resolved
lib/package-managers/base-package-manager.js Outdated Show resolved Hide resolved
lib/package-managers/base-package-manager.js Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
@3cp
Copy link
Member

3cp commented Apr 23, 2024

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 3cp merged commit 1cc9af7 into aurelia:master Apr 24, 2024
1 of 10 checks passed
@3cp
Copy link
Member

3cp commented Apr 24, 2024

I will fix the CI setup after.

@3cp
Copy link
Member

3cp commented Apr 24, 2024

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

@3cp
Copy link
Member

3cp commented Apr 25, 2024

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

@3cp
Copy link
Member

3cp commented Apr 26, 2024

v3.0.3 is released.

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

Successfully merging this pull request may close these issues.

2 participants