aws / aws/aws-lambda-nodejs-runtime-interface-client
npm install aws-lambda-ric --save throwing error
- Ngôn ngữ chính
- TypeScript
- Star
- 224
- Fork
- 60
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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 ]
Hướng dẫn đóng góp
Hướng nghiên cứu
Lỗi được báo cáo từ scripts/preinstall.sh trong quá trình npm install aws-lambda-ric --save trên Windows. Hãy bắt đầu bằng cách đọc script đó và tái hiện lệnh trong môi trường được báo cáo; hoàn tất khi gói được cài đặt thành công bên ngoài Docker mà không gặp lỗi preinstall.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- node.js, shell
- Lĩnh vực
- build-system
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100