xiaorunrunde萝蔸 2023-02-07 17:02 采纳率: 0%
浏览 91

本地部署three.js 网站出现报错,如何解决?(语言-javascript)

本地部署three.js 网站出现报错

已经试过重新npm install,但是现在执行就报错,有没有人知道这咋解决呀

 three@0.149.0 start D:\Desktop\three.js-dev\three.js-dev
> npm run dev


> three@0.149.0 dev D:\Desktop\three.js-dev\three.js-dev
> concurrently --names "ROLLUP,HTTP" -c "bgBlue.bold,bgGreen.bold" "rollup -c utils/build/rollup.config.js -w -m inline" "servez -p 8080 --ssl"

[ROLLUP] Error occurred when executing command: rollup -c utils/build/rollup.config.js -w -m inline
[ROLLUP] Error: spawn cmd.exe ENOENT
[ROLLUP]     at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
[ROLLUP]     at onErrorNT (internal/child_process.js:465:16)
[ROLLUP]     at processTicksAndRejections (internal/process/task_queues.js:80:21)
[HTTP] Error occurred when executing command: servez -p 8080 --ssl
[HTTP] Error: spawn cmd.exe ENOENT
[HTTP]     at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
[HTTP]     at onErrorNT (internal/child_process.js:465:16)
[HTTP]     at processTicksAndRejections (internal/process/task_queues.js:80:21)
[HTTP] servez -p 8080 --ssl exited with code -4058
[ROLLUP] rollup -c utils/build/rollup.config.js -w -m inline exited with code -4058
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! three@0.149.0 dev: `concurrently --names "ROLLUP,HTTP" -c "bgBlue.bold,bgGreen.bold" "rollup -c utils/build/rollup.config.js -w -m inline" "servez -p 8080 --ssl"`      
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the three@0.149.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! three@0.149.0 start: `npm run dev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the three@0.149.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

  • 写回答

1条回答 默认 最新

  • CSDN-Ada助手 CSDN-AI 官方账号 2023-02-08 05:15
    关注
    不知道你这个问题是否已经解决, 如果还没有解决的话:

    如果你已经解决了该问题, 非常希望你能够分享一下解决方案, 写成博客, 将相关链接放在评论区, 以帮助更多的人 ^-^
    评论

报告相同问题?

问题事件

  • 创建了问题 2月7日

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器