【问题标题】:npx create-next-app <project-name> is not workingnpx create-next-app <project-name> 不工作
【发布时间】:2021-05-30 10:54:35
【问题描述】:

我输入了 npx create-next-app 。

然后我收到此错误消息。

npm ERR! cb.apply is not a function

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\****\AppData\Roaming\npm-cache\_logs\2021-05-29T04_42_06_423Z-debug.log

也试过了

yarn create next-app .
npm cache clean --force
updating the version of node and npm

奇怪的是,npx create-react-app 。正在工作。

我现在不知道如何解决这个问题。

提前谢谢你。

【问题讨论】:

    标签: node.js npm next.js


    【解决方案1】:

    安装以下包

    npm install graceful-fs --save-dev
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-03-03
      • 2019-11-05
      • 2022-01-22
      • 1970-01-01
      • 2020-05-28
      • 2023-02-05
      • 2021-03-05
      • 2021-06-17
      相关资源
      最近更新 更多