-
Notifications
You must be signed in to change notification settings - Fork 43
error with ./install_dependencies.sh #3
Description
SysAdmin:~/environment/aws-codepipeline-stepfunctions/pipeline (master) $ ./install_dependencies.sh
3.10.10
installing npm dependencies...
installing pipeline_utils dependencies...
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
zlib@1.0.5 preinstall /home/ec2-user/environment/aws-codepipeline-stepfunctions/pipeline/local_modules/pipeline_utils/node_modules/.staging/zlib-85aacdc2
node-waf clean || true; node-waf configure build
sh: node-waf: command not found
sh: node-waf: command not found
pipeline_utils@1.0.0 /home/ec2-user/environment/aws-codepipeline-stepfunctions/pipeline/local_modules/pipeline_utils
├─┬ aws-sdk@2.329.0
│ ├─┬ buffer@4.9.1
│ │ ├── base64-js@1.3.0
│ │ └── isarray@1.0.0
│ ├── events@1.1.1
│ ├── ieee754@1.1.8
│ ├── jmespath@0.15.0
│ ├── querystring@0.2.0
│ ├── sax@1.2.1
│ ├─┬ url@0.10.3
│ │ └── punycode@1.3.2
│ ├── uuid@3.1.0
│ └─┬ xml2js@0.4.19
│ └── xmlbuilder@9.0.7
├── child_process@1.0.2
├── fs@0.0.1-security
├─┬ fstream@1.0.11
│ ├── graceful-fs@4.1.11
│ ├── inherits@2.0.3
│ └─┬ rimraf@2.6.2
│ └─┬ glob@7.1.3
│ ├── fs.realpath@1.0.0
│ ├─┬ inflight@1.0.6
│ │ └── wrappy@1.0.2
│ ├─┬ minimatch@3.0.4
│ │ └─┬ brace-expansion@1.1.11
│ │ ├── balanced-match@1.0.0
│ │ └── concat-map@0.0.1
│ ├── once@1.4.0
│ └── path-is-absolute@1.0.1
├── mime@1.6.0
├─┬ mkdirp@0.5.1
│ └── minimist@0.0.8
├── moment@2.22.2
├─┬ path@0.12.7
│ ├── process@0.11.10
│ └── util@0.10.4
├─┬ tar@4.4.6
│ ├── chownr@1.1.1
│ ├── fs-minipass@1.2.5
│ ├── minipass@2.3.4
│ ├── minizlib@1.1.0
│ ├── safe-buffer@5.1.2
│ └── yallist@3.0.2
├─┬ yauzl@2.10.0
│ ├── buffer-crc32@0.2.13
│ └─┬ fd-slicer@1.1.0
│ └── pend@1.2.0
└─┬ zip-folder@1.0.0
└─┬ archiver@0.11.0
├── async@0.9.2
├─┬ glob@3.2.11
│ └─┬ minimatch@0.3.0
│ ├── lru-cache@2.7.3
│ └── sigmund@1.0.1
├── lazystream@0.1.0
├── lodash@2.4.2
├─┬ readable-stream@1.0.34
│ ├── core-util-is@1.0.2
│ ├── isarray@0.0.1
│ └── string_decoder@0.10.31
├─┬ tar-stream@0.4.7
│ ├── bl@0.9.5
│ ├── end-of-stream@1.4.1
│ └── xtend@4.0.1
└─┬ zip-stream@0.4.1
└─┬ compress-commons@0.1.6
└── crc32-stream@0.3.4
npm WARN pipeline_utils@1.0.0 No repository field.
npm ERR! Linux 4.14.70-67.55.amzn1.x86_64
npm ERR! argv "/home/ec2-user/.nvm/versions/node/v6.14.4/bin/node" "/home/ec2-user/.nvm/versions/node/v6.14.4/bin/npm" "install" "--save" "aws-sdk" "child_process" "fs" "fstream" "mime" "mkdirp" "moment" "path" "tar" "yauzl" "zip-folder" "zlib"
npm ERR! node v6.14.4
npm ERR! npm v3.10.10
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! zlib@1.0.5 preinstall: node-waf clean || true; node-waf configure build
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the zlib@1.0.5 preinstall script 'node-waf clean || true; node-waf configure build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the zlib package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf clean || true; node-waf configure build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs zlib
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls zlib
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/ec2-user/environment/aws-codepipeline-stepfunctions/pipeline/local_modules/pipeline_utils/npm-debug.log
SysAdmin:~/environment/aws-codepipeline-stepfunctions/pipeline (master) $ npm
Usage: npm
where is one of:
access, adduser, bin, bugs, c, cache, completion, config,
ddp, dedupe, deprecate, dist-tag, docs, edit, explore, get,
help, help-search, i, init, install, install-test, it, link,
list, ln, login, logout, ls, outdated, owner, pack, ping,
prefix, prune, publish, rb, rebuild, repo, restart, root,
run, run-script, s, se, search, set, shrinkwrap, star,
stars, start, stop, t, tag, team, test, tst, un, uninstall,
unpublish, unstar, up, update, v, version, view, whoami
npm -h quick help on
npm -l display full usage info
npm help search for help on
npm help npm involved overview
Specify configs in the ini-formatted file:
/home/ec2-user/.npmrc
or on the command line via: npm --key value
Config info can be viewed via: npm help config
npm@3.10.10 /home/ec2-user/.nvm/versions/node/v6.14.4/lib/node_modules/npm