报错日志如下:
builder: Error: Cannot find module @rollup/rollup-linux-x64-gnu. npm has a bug related to optional dependencies (https://github.com/npm/cli/issues/4828). Please try npm i again after removing both package-lock.json and node_modules directory.
命令npm i 在web终端执行吗?这个命令在哪里执行?这时web终端还没有实例
Image description

  • Aug 29 2023
  • 4
  • 7
  • 0

Cannot find module @rollup/rollup-linux-x64-gnu

主要看这段报错,找不到模块,看看代码引用是否有问题

  • Apr 12 2022
  • 24
  • 254
  • 6

    源码构建会自动执行 npm i

    建议你在本地清理缓存后用 npm i 安装依赖尝试是否可以成功

    • Apr 12 2022
    • 24
    • 254
    • 6
      说点什么吧...