gpt4 book ai didi

node.js - react 样板 : Maximum call stack size exceeded

转载 作者:太空宇宙 更新时间:2023-11-04 01:36:08 26 4
gpt4 key购买 nike

我正在尝试创建 react-boilerplate但出现以下错误。

npm ERR! Maximum call stack size exceeded

npm ERR! A complete log of this run can be found in:
npm ERR! /home/dev1/.npm/_logs/2019-02-05T10_12_55_340Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-boilerplate@3.7.0 presetup: `npm i chalk shelljs`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-boilerplate@3.7.0 presetup script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/dev1/.npm/_logs/2019-02-05T10_12_55_434Z-debug.log

Node 版本:v8.9.4

我已从 git 克隆安装程序并运行 npm run setup 命令,但收到此错误。

注意:删除node_modules并重新安装node_modules - 不起作用全局卸载 Node 并重新安装 Node - 不起作用

有人可以帮忙吗?

最佳答案

我花了几个小时解决这个问题。以下解决方案对我有用

rm -rf node_modules

npm cache clean --f

npm install

关于node.js - react 样板 : Maximum call stack size exceeded,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54532160/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com