question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
alan-agius4commented, Aug 4, 2020

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 error Segmentation 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.

0reactions
angular-automatic-lock-bot[bot]commented, Sep 4, 2020

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Not able to create Angular 6 Project - Stack Overflow
Open windows explorer and navigate to: C:\Users\"your username"\AppData\Roaming\npm\node_modules\. Then delete folder named: .angular-cli.DELETE.
Read more >
NPM install returning Segmentation fault on PPC64 architecture
Not able to create the new angular project because npm install returning segmentation fault(core dumped). $ ng new my-app ? Would you like...
Read more >
Create a new project - Angular
Use the ng new command to start creating your Tour of Heroes application. This tutorial: ... To view the application's code, see the...
Read more >
How to Install Angular 12 on MacOS - KnowledgeHut
Start the installation of Angular and create a new angular application on your macOS with the help of this article in easy steps....
Read more >
Getting Started - ESBuild
This is a quick real-world example of what esbuild is capable of and how to use it. ... Then create a file called...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found