gpt4 book ai didi

javascript - npm 错误!不支持的 URL 类型 "workspace:": workspace:*

转载 作者:行者123 更新时间:2023-12-05 00:25:09 39 4
gpt4 key购买 nike

我正在用 gatsby 创建一个新项目gatsby new YourProjectName2 https://github.com/Vagr9K/gatsby-advanced-starter并得到一个错误:

info Creating new site from git:
https://github.com/Vagr9K/gatsby-advanced-starter.git

Cloning into 'YourProjectName2'...
remote: Enumerating objects: 420, done.
remote: Counting objects: 100% (420/420), done.
remote: Compressing objects: 100% (373/373), done.
remote: Total 420 (delta 44), reused 268 (delta 22), pack-reused 0
Receiving objects: 100% (420/420), 7.74 MiB | 11.79 MiB/s, done.
success Created starter directory layout
info Installing packages...

npm ERR! code EUNSUPPORTEDPROTOCOL
npm ERR! Unsupported URL Type "workspace:": workspace:*

npm ERR! A complete log of this run can be found in:

ERROR

Command failed with exit code 1: npm install
知道如何解决这个问题 npm ERR! Unsupported URL Type "workspace:": workspace:* ?

最佳答案

我能够通过使用 yarn 解决此问题而不是 npm .

关于javascript - npm 错误!不支持的 URL 类型 "workspace:": workspace:*,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69220042/

39 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com