Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to create app : Error: 'npm' is not recognized as an internal or external command,

3404208May 13 2019 — edited May 15 2019

I am getting following error.

After looking at the discussion forums I set the path C:\Users\shalkaus.ORADEV\AppData\Roaming\npm

but I still get the error

shalkaus@SHALKAUS-LAP ~ $ ojet create dm --template=navdrawer Processing template: navdrawer × { Error: Command failed: npm install @oracle/oraclejet-templates@~6.2.0 'npm' is not recognized as an internal or external command, operable program or batch file.     at ChildProcess.exithandler (child_process.js:294:12)     at ChildProcess.emit (events.js:189:13)     at maybeClose (internal/child_process.js:970:16)     at Socket.stream.socket.on (internal/child_process.js:389:11)     at Socket.emit (events.js:189:13)     at Pipe._handle.close (net.js:597:12)   killed: false,   code: 1,   signal: null,   cmd: 'npm install @oracle/oraclejet-templates@~6.2.0' }

Thank you

This post has been answered by 3404208 on May 14 2019
Jump to Answer
Comments
Post Details
Added on May 13 2019
4 comments
354 views