Forum Stats

  • 3,874,176 Users
  • 2,266,677 Discussions
  • 7,911,757 Comments

Discussions

ojet serve error

User_FGW31
User_FGW31 Member Posts: 2 Employee

Hi ,


I have installed ojet using below command:

  1. sudo chown -R $(whoami) /usr/local/lib/node_modules 
  2. After node installation run command : sudo npm -g install @oracle/ojet-cli 

now, i have got an ojet application folder from my colleague , i unzipped it and opened terminal over there.

Next i run ojet serve and i get the below error:


TypeError: utils.loadToolingUtil(...).buildWithWebpack is not a function

  at Object.utils.validatePlatform (/usr/local/lib/node_modules/@oracle/ojet-cli/lib/util/utils.js:655:34)

  at module.exports (/usr/local/lib/node_modules/@oracle/ojet-cli/lib/tooling/serve.js:27:33)

  at module.exports (/usr/local/lib/node_modules/@oracle/ojet-cli/lib/tooling/index.js:22:12)

  at Object.app.runTooling (/usr/local/lib/node_modules/@oracle/ojet-cli/lib/scopes/app.js:329:12)

  at module.exports (/usr/local/lib/node_modules/@oracle/ojet-cli/lib/tasks/build.serve.js:41:18)

  at module.exports (/usr/local/lib/node_modules/@oracle/ojet-cli/lib/tasks/index.js:69:14)

  at Object.<anonymous> (/usr/local/lib/node_modules/@oracle/ojet-cli/bin/ojet:15:1)

Answers