x)- [x] bug report -> please search issues before submitting
- [ ] feature request
x)- [x] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc
Node: 9.5.0
NPM: 5.6.0
Angular CLI: 6.2.1
OS: Windows 10 x64
ng new my-app
C:\Users\User\Desktop\hometask_ui>ng new my-app
CREATE my-app/angular.json (3544 bytes)
CREATE my-app/package.json (1312 bytes)
CREATE my-app/README.md (1022 bytes)
CREATE my-app/tsconfig.json (408 bytes)
CREATE my-app/tslint.json (2837 bytes)
CREATE my-app/.editorconfig (245 bytes)
CREATE my-app/.gitignore (503 bytes)
CREATE my-app/src/favicon.ico (5430 bytes)
CREATE my-app/src/index.html (292 bytes)
CREATE my-app/src/main.ts (371 bytes)
CREATE my-app/src/polyfills.ts (3194 bytes)
CREATE my-app/src/test.ts (642 bytes)
CREATE my-app/src/styles.css (80 bytes)
CREATE my-app/src/browserslist (388 bytes)
CREATE my-app/src/karma.conf.js (964 bytes)
CREATE my-app/src/tsconfig.app.json (166 bytes)
CREATE my-app/src/tsconfig.spec.json (256 bytes)
CREATE my-app/src/tslint.json (314 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.module.ts (314 bytes)
CREATE my-app/src/app/app.component.html (1141 bytes)
CREATE my-app/src/app/app.component.spec.ts (995 bytes)
CREATE my-app/src/app/app.component.ts (210 bytes)
CREATE my-app/src/app/app.component.css (0 bytes)
CREATE my-app/e2e/protractor.conf.js (752 bytes)
CREATE my-app/e2e/tsconfig.e2e.json (213 bytes)
CREATE my-app/e2e/src/app.e2e-spec.ts (302 bytes)
CREATE my-app/e2e/src/app.po.ts (208 bytes)
npm ERR! Maximum call stack size exceeded
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\User\AppData\Roaming\npm-cache_logs\2018-09-10T19_50_20_853Z-debug.log
Package install failed, see above.
debug.log:
3415 http fetch GET 404 https://registry.npmjs.org/@xtuc%2flong 877ms
3416 silly fetchPackageMetaData error for @xtuc/[email protected] 404 Not Found: @xtuc/[email protected]
3417 verbose stack RangeError: Maximum call stack size exceeded
3418 verbose cwd C:\Users\User\Desktop\hometask_ui\my-app
3419 verbose Windows_NT 10.0.14393
3420 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "--quiet"
3421 verbose node v9.5.0
3422 verbose npm v5.6.0
3423 error Maximum call stack size exceeded
3424 verbose exit [ 1, true ]
This seems like a problem with your node/npm and not with Angular CLI.
Please have a look at the fixing npm permissions page, common errors page, npm issue tracker, or open a new issue in that issue tracker if the problem you are experiencing isn't known.
Facing same issue today. any work around?
i have the same issue.
Same issue.
Angular CLI: 6.2.1
Node: 8.11.4
npm: 6.4.1
I am facing same issue
3414 silly resolveWithNewModule @webassemblyjs/[email protected] checking installable status
3415 http fetch GET 404 https://registry.npmjs.org/@xtuc%2flong 125ms
3416 silly fetchPackageMetaData error for @xtuc/[email protected] 404 Not Found: @xtuc/[email protected]
3417 verbose stack RangeError: Maximum call stack size exceeded
3417 verbose stack at RegExp.test (
3417 verbose stack at isDepOptional (/usr/local/lib/node_modules/npm/lib/install/deps.js:398:27)
3417 verbose stack at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:414:9)
3417 verbose stack at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:430:9)
3417 verbose stack at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:430:9)
3417 verbose stack at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:430:9)
3417 verbose stack at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:430:9)
3417 verbose stack at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:430:9)
3417 verbose stack at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:430:9)
3417 verbose stack at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:430:9)
3417 verbose stack at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:430:9)
3417 verbose stack at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:430:9)
3417 verbose stack at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:430:9)
3417 verbose stack at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:430:9)
3417 verbose stack at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:430:9)
3417 verbose stack at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:430:9)
3418 verbose cwd /Users/gargs11/work/repo/PLATFORM/my-app
3419 verbose Darwin 16.7.0
3420 verbose argv "/usr/local/Cellar/node/10.5.0_1/bin/node" "/usr/local/bin/npm" "install" "--quiet"
3421 verbose node v10.5.0
3422 verbose npm v6.1.0
3423 error Maximum call stack size exceeded
3424 verbose exit [ 1, true ]
Just in case it helps, I encountered the same error trying to pull @xtuc/[email protected] (as a dependency of different package) and it turned out I had ~/.npmrc file that had some settings to use artifactory which for some reason interfered with pulling this package. renaming this file solved the issue (although it's not a permanent solution... )
not the case for me, still doesn't work
@raDiesle Clearing ~/.npmrc completely fixed it for me.
@fzxt Same here. Removing ~/.npmrc solved it.
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._
Most helpful comment
Just in case it helps, I encountered the same error trying to pull
@xtuc/[email protected](as a dependency of different package) and it turned out I had~/.npmrcfile that had some settings to use artifactory which for some reason interfered with pulling this package. renaming this file solved the issue (although it's not a permanent solution... )