【发布时间】:2018-08-08 01:00:01
【问题描述】:
npm WARN 可选跳过失败的可选依赖项/@expo/ngrok-bin/@expo/ngrok-bin-freebsd-ia32: npm WARN notsup 与您的操作系统或架构不兼容:@expo/ngrok-bin-freebsd-ia32@2.2.8 npm WARN 可选跳过失败的可选依赖项/@expo/ngrok-bin/@expo/ngrok-bin-freebsd-x64: npm WARN notsup 与您的操作系统或架构不兼容:@expo/ngrok-bin-freebsd-x64@2.2.8 npm WARN 可选跳过失败的可选依赖项/@expo/ngrok-bin/@expo/ngrok-bin-darwin-x64: npm WARN notsup 与您的操作系统或架构不兼容:@expo/ngrok-bin-darwin-x64@2.2.8 npm WARN 可选跳过失败的可选依赖项/@expo/ngrok-bin/@expo/ngrok-bin-sunos-x64: npm WARN notsup 与您的操作系统或架构不兼容:@expo/ngrok-bin-sunos-x64@2.2.8 npm WARN 可选跳过失败的可选依赖项/@expo/ngrok-bin/@expo/ngrok-bin-win32-x64: npm WARN notsup 与您的操作系统或架构不兼容:@expo/ngrok-bin-win32-x64@2.2.8-beta.1 npm WARN 可选跳过失败的可选依赖项/@expo/ngrok-bin/@expo/ngrok-bin-linux-arm: npm WARN notsup 与您的操作系统或架构不兼容:@expo/ngrok-bin-linux-arm@2.2.8 npm WARN 可选跳过失败的可选依赖项/@expo/ngrok-bin/@expo/ngrok-bin-linux-arm64: npm WARN notsup 与您的操作系统或架构不兼容:@expo/ngrok-bin-linux-arm64@2.2.8 npm WARN 可选跳过失败的可选依赖项/@expo/ngrok-bin/@expo/ngrok-bin-win32-ia32: npm WARN notsup 与您的操作系统或架构不兼容:@expo/ngrok-bin-win32-ia32@2.2.8-beta.1 npm WARN 可选跳过失败的可选依赖项/@expo/ngrok-bin/@expo/ngrok-bin-linux-ia32: npm WARN notsup 与您的操作系统或架构不兼容:@expo/ngrok-bin-linux-ia32@2.2.8 npm WARN 可选跳过失败的可选依赖项/@expo/ngrok-bin/@expo/ngrok-bin-darwin-ia32: npm WARN notsup 与您的操作系统或架构不兼容:@expo/ngrok-bin-darwin-ia32@2.2.8 使用 npm 安装依赖项...
npm 错误! cb() 从未调用过! 安装失败
【问题讨论】:
-
删除
node_modules文件夹再试一次。 -
您的意思是创建的 react native app 文件夹下的 'node_modules' 文件夹?
-
我没见过 react native 的目录结构,但是在 react web 中,它位于项目根目录下。如果您不方便删除它,请将其剪切并粘贴到某处。