部署我的Nuxt3项目在firebase托管方面已经成功,但是,在我安装了用于使用概念API的@notionhq/client,然后是$ firebase deploy之后,出现了这个错误。
i functions: updating Node.js 16 function server(us-central1)...
Build failed: npm ERR! code EINVALIDPACKAGENAME
npm ERR! Invalid package name "@notionhq/client/build" of package "@notionhq/client/build@2.2.2": name can only contain URL-friendly characters.我已经和它斗争了两天了。希望有人告诉我怎么解决它。谢谢。
发布于 2022-11-17 04:13:04
在删除. package.json中的"@notionhq/client/build“后,部署成功.我通过搜索发现"@notionhq/client/build“在https://www.npmjs.com/中不存在。我真的不知道为什么@notionhq/client/build出现在构建之后。
https://stackoverflow.com/questions/74469611
复制相似问题