sanity upgrade ERROR: Couldn't find package "@babel/plugin-proposal-class-properties@^7.10.4" required by "@sanity/core@^2.18.0"
sanity upgrade ERROR: Couldn't find package "@babel/plugin-proposal-class-properties@^7.10.4" required by "@sanity/core@^2.18.0"
我在使用 fedora Linux 时在我的工作室文件夹中使用 sanity upgrade
命令时出现此错误:
✖ Resolving dependencies
✖ Couldn't find package "@babel/plugin-proposal-class-properties@^7.10.4" required by "@sanity/core@^2.18.0" on the "npm" registry.
✖ Resolving dependencies
Error: Command failed :(
at /usr/local/lib/node_modules/@sanity/cli/bin/sanity-cli.js:3260:2554
at async Object.e.default [as action] (/usr/local/lib/node_modules/@sanity/cli/bin/sanity-cli.js:4828:2053)
该依赖项在 2.18.0 中没有改变,因此希望删除您的 node_modules (rm -rf node_modules
) 并重新安装将使一切正常。
我在使用 fedora Linux 时在我的工作室文件夹中使用 sanity upgrade
命令时出现此错误:
✖ Resolving dependencies
✖ Couldn't find package "@babel/plugin-proposal-class-properties@^7.10.4" required by "@sanity/core@^2.18.0" on the "npm" registry.
✖ Resolving dependencies
Error: Command failed :(
at /usr/local/lib/node_modules/@sanity/cli/bin/sanity-cli.js:3260:2554
at async Object.e.default [as action] (/usr/local/lib/node_modules/@sanity/cli/bin/sanity-cli.js:4828:2053)
该依赖项在 2.18.0 中没有改变,因此希望删除您的 node_modules (rm -rf node_modules
) 并重新安装将使一切正常。