javascript - 为什么在“npm”注册表中找不到所需的包

javascript - 为什么在“npm”注册表中找不到所需的包

我在使用本教程视频React Native Web Full App Tutorial - Build a Workout App for iOS, Android, and Web

in react-native运行我的 Web 应用程序时遇到问题。我一直在寻找答案,但还没有一个准确的答案可以解决我的问题。

我从这里下载了应用程序:git repo。

尝试使用:

$ yarn

$ yarn install

$ npm install

$ npm config set @icons:registry https://registry.npmjs.org/

$ rm -rf node_modules

$ npm i https://github.com/Qix-/node-error-ex

$ curl 'https://registry.yarnpkg.com/@types/node/-/node-9.4.2.tgz'

但似乎没有任何效果,我不断收到此错误。

error Couldn't find package "@wow/common@1.0.0" required by "@wow/app@0.0.1" on the "npm" registry.

info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Error: Couldn't find package "@wow/common@1.0.0" required by "react-native-web-workout-series@0.1.0" on the "npm" registry.

at MessageError.ExtendableBuiltin (/usr/local/Cellar/yarn/1.22.4/libexec/lib/cli.js:721:66)

at new MessageError (/usr/local/Cellar/yarn/1.22.4/libexec/lib/cli.js:750:123)

at PackageRequest. (/usr/local/Cellar/yarn/1.22.4/libexec/lib/cli.js:36539:17)

at Generator.throw ()

at step (/usr/local/Cellar/yarn/1.22.4/libexec/lib/cli.js:310:30)

at /usr/local/Cellar/yarn/1.22.4/libexec/lib/cli.js:323:13

at processTicksAndRejections (internal/process/task_queues.js:97:5)

或者我需要遵循的任何步骤来运行这个应用程序。因为我想下载应用程序并编辑正文内容。

相关阅读