Skip to Content

installing Hybrid Application Tools not working beacuse nodeJS(5.4.1) version

I was trying to install HAT(hybrid application tool) but its specific nodeJS version(5.4.1) but if install this version "npm" query not working properly.

i getting


let notifier = require('update-notifier')({pkg}) ^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode at exports.

runInThisContext (vm.js:53:16) at Module._compile (module.js:373:25) at Object.Module._extensions..js (module.js:404:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Function.Module.runMain (module.js:429:10) at startup (node.js:139:18) at node.js:999:3"

and when i setup HAT following issues displaying in comment lines

"C:\SAP_HAT_local-1.28.4\setup>call setup.cmd Validating installation prerequisites... Node.js version: v5.4.1 --- npm version: ERROR: npm cannot be found! npm is packaged with the node.js installer. Install node.js from: Your environment is not ready for setup. Press any key to continue . . ."

Add a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.