npm install aws-lambda-ric --save throwing error

未关闭
#3 7 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
node.js, shell
领域
build-system

调研方向

在 Windows 上执行 npm install aws-lambda-ric --save 时,scripts/preinstall.sh 报告了失败。首先阅读该脚本,并在报告的环境中复现该命令;当能够在 Docker 外成功安装该软件包且不出现 preinstall 失败时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

bug

This error occurs when trying to install outside of a dockerfile.

When trying to npm install aws-lambda-ric --save, the following error is thrown:

1606 verbose stack Error: aws-lambda-ric@1.0.0 preinstall: ./scripts/preinstall.sh
1606 verbose stack Exit status 1
1606 verbose stack at EventEmitter. (C:\Users\User\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
1606 verbose stack at EventEmitter.emit (events.js:189:13)
1606 verbose stack at ChildProcess. (C:\Users\User\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
1606 verbose stack at ChildProcess.emit (events.js:189:13)
1606 verbose stack at maybeClose (internal/child_process.js:970:16)
1606 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
1607 verbose pkgid aws-lambda-ric@1.0.0
1608 verbose cwd C:\Users\User\source\repos\aws-lambda-container\myProj\hello-world
1609 verbose Windows_NT 10.0.18363
1610 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Users\User\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "aws-lambda-ric" "--save"
1611 verbose node v10.15.3
1612 verbose npm v6.14.9
1613 error code ELIFECYCLE
1614 error errno 1
1615 error aws-lambda-ric@1.0.0 preinstall: ./scripts/preinstall.sh
1615 error Exit status 1
1616 error Failed at the aws-lambda-ric@1.0.0 preinstall script.
1616 error This is probably not a problem with npm. There is likely additional logging output above.
1617 verbose exit [ 1, true ]

主要语言
TypeScript
星标
224
派生
60
平均合并
26 分钟
30 天内合并 PR
2

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

aws/aws-lambda-nodejs-runtime-interface-client 的其他 Issue

查看 aws/aws-lambda-nodejs-runtime-interface-client 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。