我正在使用 protobuf 进行离子项目,并且我已经安装了 protobuf。弓我想安装 pbjs 工具。我使用 npm install pbjs 在项目目录中这样做了。但是当我使用 pbjs 后跟有效参数时,我得到 -bash: command not found 'pbjs'
我究竟做错了什么?
我正在使用 protobuf 进行离子项目,并且我已经安装了 protobuf。弓我想安装 pbjs 工具。我使用 npm install pbjs 在项目目录中这样做了。但是当我使用 pbjs 后跟有效参数时,我得到 -bash: command not found 'pbjs'
我究竟做错了什么?