node.js - Expo-cli 安装停止并出现错误 npm ERR!cb() 从未调用过
问题描述
我尝试安装 expo-cli 但不幸的是它因以下错误而停止。
freduah@freduah:~$ npm install -g expo-cli
npm WARN deprecated graphql-tools@3.0.0: This package has been deprecated and now it only exports makeExecutableSchema.\nAnd it will no longer receive updates.\nWe recommend you to migrate to scoped packages such as @graphql-tools/schema, @graphql-tools/utils and etc.\nCheck out https://www.graphql-tools.com to learn what package you should use instead
npm ERR! cb() never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! <https://npm.community>
npm ERR! A complete log of this run can be found in:
npm ERR! /home/freduah/.npm/_logs/2021-09-28T14_47_55_893Z-debug.log
freduah@freduah:~$
我试图向社区报告,npm community
但社区不再
解决方案
如果您在 Windows 中,请添加/允许 NodeJS JavaScript 运行时通过您的专用网络中的防火墙。
推荐阅读
- c# - 多次启动线程
- node.js - 安装 mozjpeg 时出错 - mozjpeg/vendor/cjpeg ENOENT
- electron - 在任务栏Windows 10 electronjs中显示托盘
- rust - 如何在声明性宏中提前返回并推断返回类型?
- javascript - 使用 Jalali DatePicker 但仅使用公历值
- javascript - 如何在 Reactjs 中使用 useState 更新具有数组的嵌套对象?
- rust - 有没有一种简单的方法可以为我现有的宏引入生命周期?
- .net - Microsoft.Extensions.Caching 和 System.Runtime.Caching 有什么区别?
- excel - Excel VBA,如何使用条件将单元格/单元格从 sheet1 复制到 sheet2
- angular - 将每个项目的价格乘以数量 angular 8