Not able to create new angular project on ppc64le
See original GitHub issue🐞 Bug report
Command (mark with an x
)
- [x ] new
- build
- serve
- test
- e2e
- generate
- add
- update
- lint
- xi18n
- run
- config
- help
- version
- doc
Description
I am trying to create a new angular project but while installing packages it gives segmentation fault.
version details:
Angular CLI: 10.0.5 Node: 12.18.3 NPM: 6.14.6 OS: linux ppc64
🔬 Minimal Reproduction
ng new my-app ? Would you like to add Angular routing? Yes ? Which stylesheet format would you like to use? CSS CREATE my-app/README.md (1023 bytes) CREATE my-app/.editorconfig (274 bytes) CREATE my-app/.gitignore (631 bytes) CREATE my-app/angular.json (3566 bytes) CREATE my-app/package.json (1249 bytes) CREATE my-app/tsconfig.base.json (458 bytes) CREATE my-app/tsconfig.json (426 bytes) CREATE my-app/tslint.json (3184 bytes) CREATE my-app/.browserslistrc (853 bytes) CREATE my-app/karma.conf.js (1018 bytes) CREATE my-app/tsconfig.app.json (292 bytes) CREATE my-app/tsconfig.spec.json (338 bytes) CREATE my-app/src/favicon.ico (948 bytes) CREATE my-app/src/index.html (291 bytes) CREATE my-app/src/main.ts (372 bytes) CREATE my-app/src/polyfills.ts (2835 bytes) CREATE my-app/src/styles.css (80 bytes) CREATE my-app/src/test.ts (753 bytes) CREATE my-app/src/assets/.gitkeep (0 bytes) CREATE my-app/src/environments/environment.prod.ts (51 bytes) CREATE my-app/src/environments/environment.ts (662 bytes) CREATE my-app/src/app/app-routing.module.ts (245 bytes) CREATE my-app/src/app/app.module.ts (393 bytes) CREATE my-app/src/app/app.component.css (0 bytes) CREATE my-app/src/app/app.component.html (25757 bytes) CREATE my-app/src/app/app.component.spec.ts (1059 bytes) CREATE my-app/src/app/app.component.ts (210 bytes) CREATE my-app/e2e/protractor.conf.js (869 bytes) CREATE my-app/e2e/tsconfig.json (299 bytes) CREATE my-app/e2e/src/app.e2e-spec.ts (639 bytes) CREATE my-app/e2e/src/app.po.ts (301 bytes) ⠼ Installing packages…Segmentation fault (core dumped)
🔥 Exception or Error
Segmentation fault (core dumped)
🌍 Your Environment
Angular CLI: 10.0.5
Node: 12.18.3
OS: linux ppc64
Angular:
...
Ivy Workspace:
Package Version
------------------------------------------------------
@angular-devkit/architect 0.1000.5
@angular-devkit/core 10.0.5
@angular-devkit/schematics 10.0.5
@schematics/angular 10.0.5
@schematics/update 0.1000.5
rxjs 6.5.5
Anything else relevant?
The issue is related to ppc64le architecture. On linux x86 architecture it is creating a new angular project.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
Hi again,
The first error is indeed because the package is not installed. However, seeing the errors afterwards it looks like
npm install
is always failing with the same errorSegmentation fault
.Unfortunately, at this stage it looks like more of an environment/NPM issue rather than an Angular CLI bug, which StackOverflow is in general a better place for such issues.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.