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

init doesn't give a good error message when it fails #29712

Open
1 task
sixcorners opened this issue Feb 26, 2025 · 1 comment
Open
1 task

init doesn't give a good error message when it fails #29712

sixcorners opened this issue Feb 26, 2025 · 1 comment
Labels

Comments

@sixcorners
Copy link

Command

new

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

I'm trying to make a new angular project but idk why it fails.

Minimal Reproduction

$ npx @angular/cli@latest new test --style=sass --ssr=false
CREATE test/README.md (1467 bytes)
CREATE test/.editorconfig (314 bytes)
CREATE test/.gitignore (587 bytes)
CREATE test/angular.json (2756 bytes)
CREATE test/package.json (1035 bytes)
CREATE test/tsconfig.json (915 bytes)
CREATE test/tsconfig.app.json (424 bytes)
CREATE test/tsconfig.spec.json (434 bytes)
CREATE test/.vscode/extensions.json (130 bytes)
CREATE test/.vscode/launch.json (470 bytes)
CREATE test/.vscode/tasks.json (938 bytes)
CREATE test/src/main.ts (250 bytes)
CREATE test/src/index.html (290 bytes)
CREATE test/src/styles.sass (80 bytes)
CREATE test/src/app/app.component.sass (0 bytes)
CREATE test/src/app/app.component.html (19903 bytes)
CREATE test/src/app/app.component.spec.ts (910 bytes)
CREATE test/src/app/app.component.ts (281 bytes)
CREATE test/src/app/app.config.ts (310 bytes)
CREATE test/src/app/app.routes.ts (77 bytes)
CREATE test/public/favicon.ico (15086 bytes)
✖ Package install failed, see above.
The Schematic workflow failed. See above.

Exception or Error

✖ Package install failed, see above.
The Schematic workflow failed. See above.

Your Environment

$ npx @angular/cli@latest version

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/
    

Angular CLI: 19.1.8
Node: 20.18.3
Package Manager: npm 
OS: linux x64

Angular: 
... 

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1901.8 (cli-only)
@angular-devkit/core         19.1.8 (cli-only)
@angular-devkit/schematics   19.1.8 (cli-only)
@schematics/angular          19.1.8 (cli-only)

Anything else relevant?

No response

@sixcorners
Copy link
Author

Ran these commands in the node docker image and they worked so I think something is wrong on my end. Still though wish this error message was better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants