纱线包锁/导入问题

问题描述

我正在尝试通过 https://github.com/postlight/liftoff 使用 Airtable 作为 CMS 创建一个页面。在我继续之前会出现以下错误

当我运行纱线设置时:

yarn setup
yarn run v1.22.10
error Couldn't find a package.json file in "/Users/Name"
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

当我运行 yarn import

yarn import
yarn import v1.22.10
error Lockfile already exists,not importing.
info Visit https://yarnpkg.com/en/docs/cli/import for documentation about this command.

当我运行 npm install 时也会显示以下内容。不确定这是否会影响上述问题。

npm WARN saveError ENOENT: no such file or directory,open '/Users/Name/package.json'
npm WARN enoent ENOENT: no such file or directory,open '/Users/Name/package.json' 

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)