firebase - Firebase Cloud Functions 在我的命令行中出现无效的标签名称“glob”错误
问题描述
我按照这个链接来组织我的 firebase 云功能,而不是将我的所有代码都放在一个 index.ts 文件中。但是,当我运行该行时:
npm i -S glob, camelcase
在我的控制台中,它正在重新调整:
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name "glob,": Tags may not have any characters that encodeURIComponent encodes.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/johndoe/.npm/_logs/2018-12-24T19_46_03_264Z-debug.log
解决方案
Use npm i glob camelcase
instead. The comma is not correct here. The -S is not even a documented flag for npm (at least not on the man page for my installation).
推荐阅读
- rust - 为什么结构实例化的花括号不定义范围?
- javascript - Chart.js 版本 3:如何为刻度线和网格线设置不同的颜色
- python - PyTorch 和 TensorFlow >= 2.0 均未找到。模型将不可用,只能使用标记器、配置和文件/数据实用程序
- javascript - × Unhandled Rejection (Error):抛出了跨域错误。React 无法访问开发中的实际错误对象
- properties - Yii2 向应用程序添加属性
- css - wordpress字体突然变了,不知道为什么
- amazon-web-services - 无法对齐导入的 S3 存储桶 terraform 配置
- scala - 如何使用`.saveAsTable()`将查询结果保存到Dataproc集群中的Hive表中?
- python - 使用 IQR 删除异常值会给出错误“对象类型系列没有名为 1 的轴”
- java - 为什么 BoundService 为空?