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

Maximum call stack size exceeded when creating new vue cli 3 project #2567

Closed
itsameandrea opened this issue Sep 21, 2018 · 6 comments
Closed
Labels
cannot reproduce We cannot reproduce the problem with the given information. More env information needed.

Comments

@itsameandrea
Copy link

Version

3.0.3

Node and OS info

Node 8.12.0 / npm 6.4.1 / OSx 10.13.4

Steps to reproduce

vue create project_name

What is expected?

Project being created

What is actually happening?

The following error:

npm ERR! Maximum call stack size exceeded

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/ilrock/.npm/_logs/2018-09-21T12_44_37_935Z-debug.log
ERROR command failed: npm install --loglevel error

@timfcsm
Copy link

timfcsm commented Sep 24, 2018

i have same issue
node 8.11.4 / npm 5.6.0 / vue 3.0.3 / win10

UPDATE:
solved by using taoabo mirror
in .vuerc set "useTaobaoRegistry" to true

@haoqunjiang
Copy link
Member

Can't reproduce. Could you provide a more detailed error log?

@haoqunjiang haoqunjiang added the cannot reproduce We cannot reproduce the problem with the given information. More env information needed. label Sep 26, 2018
@ferk6a
Copy link

ferk6a commented Oct 18, 2018

Here are two:

Using the Taobao mirror doesn't make a difference for me and I'm trying to create a featureful app, with basically everything (using Nightwatch and TSLint).

@haoqunjiang
Copy link
Member

4780 http fetch GET 200 https://registry.npmjs.org/@webassemblyjs%2fwast-printer 2ms (from cache)
4781 silly fetchPackageMetaData error for @webassemblyjs/wast-printer@1.7.8 Unexpected end of JSON input while parsing near '..."}},"1.7.8":{"name":"'

Network issue or broken cache. Try to run npm cache verify and then run installation again.

@ferk6a
Copy link

ferk6a commented Oct 19, 2018

Ok yea, broken cache. npm cache clean --force worked. And they advertise this cache as "self-healing", mhm

@VadimIzmalkov
Copy link

VadimIzmalkov commented Dec 3, 2018

Same issue, npm cache clean --force does not help

npm ERR! Maximum call stack size exceeded

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/vagrant/.npm/_logs/2018-12-03T09_15_51_621Z-debug.log
 ERROR  command failed: npm install --loglevel error

/home/vagrant/.npm/_logs/2018-12-03T09_15_51_621Z-debug.log:

21411 warn @vue/cli-service@3.2.0 requires a peer of vue-template-compiler@^2.0.0 but none is installed. You must insta$21412 warn ajv-keywords@2.1.1 requires a peer of ajv@^5.0.0 but none is installed. You must install peer dependencies y$21413 verbose stack RangeError: Maximum call stack size exceeded
21413 verbose stack     at RegExp.test (<anonymous>)
21413 verbose stack     at isDepOptional (/usr/local/lib/node_modules/npm/lib/install/deps.js:398:27)
21413 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:414:9)
21413 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:430:9)
21413 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:430:9)
21413 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:430:9)
21413 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:430:9)
21413 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:430:9)
21413 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:430:9)
21413 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:430:9)
21413 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:430:9)
21413 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:430:9)
21413 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:430:9)
21413 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:430:9)
21413 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:430:9)
21413 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:430:9)
21414 verbose cwd /var/www/rentcar/app
21415 verbose Linux 4.15.0-22-generic
21416 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--loglevel" "error"
21417 verbose node v11.2.0
21418 verbose npm  v6.4.1
21419 error Maximum call stack size exceeded
21420 verbose exit [ 1, true ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cannot reproduce We cannot reproduce the problem with the given information. More env information needed.
Projects
None yet
Development

No branches or pull requests

5 participants