OHDSI Home | Forums | Wiki | Github

Issues in npm run build for ATLAS

ubuntu@ip-172-31-30-234:~/Atlas-2.14.1$ npm run build

atlas@2.14.1 build /home/ubuntu/Atlas-2.14.1
npm run prep && npm run build:dev

atlas@2.14.1 prep /home/ubuntu/Atlas-2.14.1
npm i && npm run clean && npm run genversion

npm WARN deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated request@2.88.2: request has been deprecated, see
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See There’s Math.random(), and then there’s Math.random() · V8 for details.
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm ERR! Linux 5.4.0-1103-aws
npm ERR! argv “/usr/bin/node” “/usr/bin/npm” “i”
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code EMISSINGARG

npm ERR! typeerror Error: Missing required argument #1
npm ERR! typeerror at andLogAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:31:3)
npm ERR! typeerror at fetchPackageMetadata (/usr/share/npm/lib/fetch-package-metadata.js:51:22)
npm ERR! typeerror at resolveWithNewModule (/usr/share/npm/lib/install/deps.js:456:12)
npm ERR! typeerror at /usr/share/npm/lib/install/deps.js:457:7
npm ERR! typeerror at /usr/share/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror at /usr/share/npm/lib/fetch-package-metadata.js:37:12
npm ERR! typeerror at addRequestedAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:82:5)
npm ERR! typeerror at returnAndAddMetadata (/usr/share/npm/lib/fetch-package-metadata.js:117:7)
npm ERR! typeerror at pickVersionFromRegistryDocument (/usr/share/npm/lib/fetch-package-metadata.js:134:20)
npm ERR! typeerror at /usr/share/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror This is an error with npm itself. Please report this error at:

npm ERR! Please include the following file with any support request:
npm ERR! /home/ubuntu/Atlas-2.14.1/npm-debug.log

npm ERR! Linux 5.4.0-1103-aws
npm ERR! argv “/usr/bin/node” “/usr/bin/npm” “run” “prep”
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! atlas@2.14.1 prep: npm i && npm run clean && npm run genversion
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the atlas@2.14.1 prep script ‘npm i && npm run clean && npm run genversion’.
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 atlas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm i && npm run clean && npm run genversion
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs atlas
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls atlas
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/ubuntu/Atlas-2.14.1/npm-debug.log

npm ERR! Linux 5.4.0-1103-aws
npm ERR! argv “/usr/bin/node” “/usr/bin/npm” “run” “build”
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE
npm ERR! atlas@2.14.1 build: npm run prep && npm run build:dev
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the atlas@2.14.1 build script ‘npm run prep && npm run build:dev’.
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 atlas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run prep && npm run build:dev
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs atlas
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls atlas
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/ubuntu/Atlas-2.14.1/npm-debug.log
ubuntu@ip-172-31-30-234:~/Atlas-2.14.1$
Can anyone help in solving the above issue for installing ATLAS.Thanks in advance.

t