Laravel 10+Laravel Mix执行npm run production卡在43%求助
问题:Laravel 10 + Laravel Mix 生产构建卡在43%
我维护的代码库基于Laravel 10与Laravel Mix,npm run dev、npm run development、npm run watch及npm run hot命令均可正常运行,但执行npm run production时进程卡在43%。

我已尝试Stack Overflow上能找到的所有解决方案,但均无效。以下是添加--verbose参数运行后的日志文件:
0x...b16B6d717904 0 verbose cli /opt/homebrew/Cellar/node/23.1.0/bin/node /opt/homebrew/bin/npm 1 info using npm@10.9.0 2 info using node@v23.1.0 3 silly config load:file:/opt/homebrew/lib/node_modules/npm/npmrc 4 silly config load:file:/Users/sixtus/www/<project>/.npmrc 5 silly config load:file:/Users/sixtus/.npmrc 6 silly config load:file:/opt/homebrew/etc/npmrc 7 verbose title npm run production 8 verbose argv "run" "production" "--loglevel" "verbose" 9 verbose logfile logs-max:10 dir:/Users/sixtus/.npm/_logs/2024-11-08T18_11_14_417Z- 10 verbose logfile /Users/sixtus/.npm/_logs/2024-11-08T18_11_14_417Z-debug-0.log 11 silly logfile start cleaning logs, removing 1 files 12 silly logfile done cleaning log files 13 verbose cwd /Users/sixtus/www/<project> 14 verbose os Darwin 24.1.0 15 verbose node v23.1.0 16 verbose npm v10.9.0 17 verbose exit 0 18 info ok
内容的提问来源于stack exchange,提问作者Sixtus Agbo
相关产品推荐
相关产品推荐

