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

オープン
#3 コメント 7 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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分
マージ済み PR(30日)
2

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

aws/aws-lambda-nodejs-runtime-interface-client のほかの issue

aws/aws-lambda-nodejs-runtime-interface-client の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。