首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >@conduitvc/dynamodb-模拟器@0.5.3安装错误

@conduitvc/dynamodb-模拟器@0.5.3安装错误
EN

Stack Overflow用户
提问于 2019-12-11 12:34:28
回答 1查看 117关注 0票数 2

使用npm安装@conduitvc/dynamodb-模拟器@0.5.3时出错

所有其他npm安装都是在Windows环境中使用vscode运行和安装的。

代码语言:javascript
复制
$npm install

> @conduitvc/dynamodb-emulator@0.5.3 install C:\Users\user\Desktop\temp\node_modules\@conduitvc\dynamodb-emulator
> download --extract -o emulator https://s3-us-west-2.amazonaws.com/dynamodb-local/dynamodb_local_latest.zip && ./install.sh
'.'is not recognized as an internal or external command, operable program or batch file.
npm WARN @conduitvc/appsync-emulator-serverless@0.14.5 requires a peer of aws-appsync@>= 1 but none is installed. You must install peer dependencies yourself.
npm WARN @conduitvc/ascoltatori@4.3.0-patch.2 requires a peer of ioredis@>=2.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN @conduitvc/ascoltatori@4.3.0-patch.2 requires a peer of msgpack-lite@>=0.1.20 but none is installed. You must install peer dependencies yourself.
npm WARN @conduitvc/ascoltatori@4.3.0-patch.2 requires a peer of zmq@* but none is installed. You must install peer dependencies yourself.
npm WARN @conduitvc/ascoltatori@4.3.0-patch.2 requires a peer of zeromq@* but none is installed. You must install peer dependencies yourself.
npm WARN @conduitvc/ascoltatori@4.3.0-patch.2 requires a peer of amqp@>=0.2.4 but none is installed. You must install peer dependencies yourself.
npm WARN @conduitvc/ascoltatori@4.3.0-patch.2 requires a peer of amqplib@>=0.5.1 but none is installed. You must install peer dependencies yourself.
npm WARN @conduitvc/ascoltatori@4.3.0-patch.2 requires a peer of mqtt@>=2.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN @conduitvc/ascoltatori@4.3.0-patch.2 requires a peer of mongodb@>=2.1.18 but none is installed. You must install peer dependencies yourself.
npm WARN @conduitvc/ascoltatori@4.3.0-patch.2 requires a peer of kerberos@~0.0 but none is installed. You must install peer dependencies yourself.
npm WARN @conduitvc/ascoltatori@4.3.0-patch.2 requires a peer of qlobber-fsq@>=6.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN @conduitvc/ascoltatori@4.3.0-patch.2 requires a peer of kafka-node@>=0.5.8 but none is installed. You must install peer dependencies yourself.
npm WARN @conduitvc/mosca@2.8.3-patch.3 requires a peer of leveldown@~1.4.3 but none is installed. You must install peer dependencies yourself.
npm WARN @conduitvc/mosca@2.8.3-patch.3 requires a peer of amqp@~0.2.4 but none is installed. You must install peer dependencies yourself.
npm WARN @conduitvc/mosca@2.8.3-patch.3 requires a peer of ioredis@^1.15.1 but none is installed. You must install peer dependencies yourself.
npm WARN @conduitvc/mosca@2.8.3-patch.3 requires a peer of mongodb@~2.1.4 but none is installed. You must install peer dependencies yourself.
npm WARN @graphql-modules/core@0.7.5 requires a peer of graphql@^14.1.1 but none is installed. You must install peer dependencies yourself.
npm WARN @graphql-modules/di@0.7.5 requires a peer of reflect-metadata@^0.1.12 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-plugin-prettier@3.1.1 requires a peer of eslint@>= 5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-plugin-prettier@3.1.1 requires a peer of prettier@>= 1.13.0 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-prettier@6.7.0 requires a peer of eslint@>=3.14.1 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\watchpack\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\sane\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @conduitvc/dynamodb-emulator@0.5.3 install: `download --extract -o emulator https://s3-us-west-2.amazonaws.com/dynamodb-local/dynamodb_local_latest.zip && ./install.sh`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @conduitvc/dynamodb-emulator@0.5.3 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\user\AppData\Roaming\npm-cache\_logs\2019-12-11T04_01_59_301Z-debug.log

我还检查了环境变量。

我该怎么解决呢?

EN

回答 1

Stack Overflow用户

发布于 2020-10-10 04:05:01

我也有同样的问题,恐怕我们也无能为力了。此节点模块的安装脚本正在尝试执行./install.sh,但Windows不会将.理解为执行文件的命令。如果你要在Linux上安装这个节点模块,它会工作,因为这个操作系统会把./理解为试图执行install.sh,而Windows不能这样做。

一种解决办法是从它们的存储库下载所有源代码文件并进行手动安装,但到今天为止,我还找不到这个节点模块的公共存储库。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/59278952

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档