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!

[MOOC] JET ojet serve errors

OTG-467455Dec 16 2017 — edited Dec 16 2017

I tried building and then running the ojet build and ojet serve and then got the following errors:

[oracle@localhost myojetproj]$ ojet serve

Oracle JET CLI

Warning: Missing platform. Default to web.

Oracle JET Tooling

Build: true

BuildType: dev

Destination: undefined

Destination target: undefined

Livereload: true

Livereload port: 35729

Platform: web

Port: 8000

Theme: alta

Theme platform: web

Theme version: 4.1.0

JET Info: Building app...

cleaning staging path.....

copy files to staging directory.....

copy finished...

copy library files to staging directory.....

copy finished...

optimizing svg into SVG sprites.....

svg task finished...

compiling sass....

sass compile finished...

running theme injection task.....

indexHtml theme path injection finished..

running theme copy task.....

theme copy finished...

running injection task.....

mainJs paths injection finished..

Starting web server....

Connecting to http://localhost:8000

Starting watcher...

... Uhoh. Got error listen EADDRINUSE :::35729 ...

Error: listen EADDRINUSE :::35729

    at Object._errnoException (util.js:1024:11)

    at _exceptionWithHostPort (util.js:1046:20)

    at Server.setupListenHandle [as _listen2] (net.js:1351:14)

    at listenInCluster (net.js:1392:12)

    at Server.listen (net.js:1476:7)

    at Server.listen (/u01/myojetproj/node_modules/tiny-lr/src/server.js:244:19)

    at Promise (/u01/myojetproj/node_modules/@oracle/oraclejet-tooling/lib/serve/watch.js:63:12)

    at new Promise (<anonymous>)

    at _startLiveReloadServer (/u01/myojetproj/node_modules/@oracle/oraclejet-tooling/lib/serve/watch.js:61:10)

    at Promise (/u01/myojetproj/node_modules/@oracle/oraclejet-tooling/lib/serve/watch.js:37:7)

You already have a server listening on 35729

You should stop it and try again.

(node:4690) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: listen EADDRINUSE :::8000

(node:4690) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

The action taken was to kill the terminal session and restart.    Is this normal behaviour?  What other actions should I have taken?

This post has been answered by Andrew Bennett on Dec 16 2017
Jump to Answer
Comments
Post Details
Added on Dec 16 2017
3 comments
869 views