Installation Error openhab-cloud gcp ubuntu 18.04

here is the log of console when i try to install

Please help me understand what is going wrong and how can I fix it. I am following the guide provided here - https://github.com/openhab/openhab-cloud
All the commands upto this command worked without any issue. However when I am in PWD (present working directory) with this command to be fired next, following is the log of the error.

sudo npm install

npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated bcrypt@1.0.2: bcrypt < v2.0.0 is susceptible to bcrypt wrap-around bug. Upgrade to bcrypt >= v2.0.0 for improved support for newer bcrypt hashes
npm WARN deprecated node-xmpp-client@3.2.0: this package is deprecated please use https://www.npmjs.com/package/@xmpp/client
npm WARN deprecated email-templates@3.3.2: Please upgrade to email-templates@6.0.0+ as we have significantly improved rendering performance (now occurs in parallel versus serially), and there is only one breaking change with ‘preview’ option, see https://github.com/niftylettuce/email-templates\#v600 and https://github.com/niftylettuce/preview-email\#custom-preview-template-and-stylesheets
npm WARN deprecated connect@1.9.2: connect 1.x series is deprecated
npm WARN deprecated mongodb@1.4.40: Please upgrade to 2.2.19 or higher
npm WARN deprecated formidable@1.0.17: Old versions of Formidable are not compatible with the current Node.js; Upgrade to 1.2.0 or later
npm WARN deprecated ejs@0.8.8: Critical security bugs fixed in 2.5.5
npm WARN deprecated @ladjs/i18n@0.2.0: Please upgrade to v3.0.3+ as we have fixed a core bug with Accept/Accepts-Language language detection when a wildcard / is provided - it was previously not respecting the default locale and was using the first locale provided in the locales list, see https://github.com/ladjs/i18n/releases/tag/v3.0.3
npm WARN deprecated boom@5.2.0: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated i18n-locales@0.0.2: Please upgrade to v0.0.3+ as we have fixed missing ISO-639-1 codes
npm WARN deprecated hoek@4.2.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm ERR! Linux 5.0.0-1033-gcp
npm ERR! argv “/usr/bin/node” “/usr/bin/npm” “install”
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! typeerror http://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! /opt/openhab-cloud/npm-debug.log

Also if I try proceeding ahead then it gives me modules error with literally un-ending list of modules not found. Even if I try installing them manually (for example: sudo npm install blah_blah) the list of some xyz module not found keeps coming with another name.

Summary : Installation never happens because of the issue above.
I am just not sure how to start fixing this hence asking here for help.
Thanks In Advance

Don’t you need npm install something?

Are you missing the argument you want to install?

followed instruction from this page - https://github.com/openhab/openhab-cloud

It does not specify any argument. I think the requesites might be in the PWD(present working directory) though please tell me the correct command (or argument) that needs to be specified in case this is the issue in the openhab-cloud documentation I will definitely try to write to the author to include the changes in order to make the documentation right. Eagerly waiting. Thanks you in advance.

1 Like

You are correct if you are in the project directory no argument is needed. I forgot about this was confusing with another command.