我在使用以下命令安装protobufjs时遇到错误:
npm install protobufjs [--save --save-prefix=~]
错误是:
npm ERR! code EINVALIDTAGNAME
npm ERR! Invalid tag name "[--save": Tags may not have any characters that encodeURIComponent encodes.
如何解决此问题?
我正在尝试安装hyperledger composer。按照CLI安装时附带的文档进行操作:
sudo npm install -g composer-cli
注意:我使用sudo,因为我还没有修复文件夹权限。
提供:
npm ERR! code E404
npm ERR! 404 Not Found: protobufjs@latest
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-05-30T01_12_34_393Z-debug.log
尝试使用
sudo
无论是全局还是本地,我都无法安装最新版本的Vue。
对于这两个安装,我都有这个错误。我不明白为什么Node没有被识别为命令,因为它在其他包中工作得很好。
例如,安装带有vue-cli的Vue 2可以完美地工作。我还检查了高级系统中的路径,并将其添加到安装文件夹D:\Nodejs中,包括系统变量和用户变量。
$ npm install -g @vue/cli
npm WARN deprecated hoek@5.0.4: This version is no longer maintained. Please upgrade to the latest version.
npm WARN dep
当我尝试用以下方式安装firebase-tools时:
npm install -g firebase-tools
我得到以下错误:
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (No
我正在尝试使用来传递api文本。
我正在使用示例google代码,当我创建客户机对象时,我得到了这个错误。
{
"errno":-2,
"syscall":"open",
"code":"ENOENT",
"path":"protos.json",
"stack":"Error: ENOENT: no such file or directory, open 'protos.json'\n at Objec
我跟随社区google云平台连接到twilio来捕获语音呼叫,并将其保存到桶中。但是,由于下面的错误消息,它无法翻译声音。有人知道为什么google.cloud.speech.v1.RecognizeRequest不能识别桶吗?
(网址:)
“错误:.google.cloud.speech.v1.RecognizeRequest#bucket不是一个字段:在MessagePrototype.set、(/user_code/node_modules/@google-cloud/speech/node_modules/protobufjs/dist/protobuf.js:2490:35) at
我正在尝试将firebase安装到我的项目中:
>npm install -S firebase
npm ERR! code E404
npm ERR! 404 Not Found: protobufjs@^5.0.0
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/my_username/.npm/_logs/2018-05-30T03_26_22_054Z-debug.log
什么是404 Not Found: protobufjs@^5.0.0?我该如何解决这个问题?
在日志中,我看
这个错误发生在我更新了firebase函数和firebase-admin之后
"firebase-functions": "^2.0.4",
"firebase-admin": "^6.0.0"
完全错误
Error: Error occurred while parsing your function triggers.
Error: Failed to import the Cloud Firestore client library for Node.js. Make sure to install the "@g
运行以下命令: npm run build:ssr && npm run serve:ssr运行3个不同的编译阶段,但在最后一个阶段,它返回以下错误,导致服务器无法启动。 Error: not supported
at Root.loadSync (/var/www/html/stage/node_modules/@grpc/proto-loader/node_modules/protobufjs/src/root.js:234:15)
at Object.loadSync (/var/www/html/stage/node_modules/@grpc/proto-loade
当使用一个protobuf schema,其中包含具有int64/sint64类型的字段的消息,并尝试使用自定义渲染器插件来可视化时,传递到渲染器插件的解码数据包含类型为number的字段,而不是中的Long。我已经能够在我的本地with应用程序中修复这个问题,方法是用以下命令修补GeoJsonDataStoreHelper.js
var Protobuf = require("protobufjs");
var Long = require("long");
Protobuf.util.Long = Long;
Protobuf.configure();
我能