Forum Stats

  • 3,733,852 Users
  • 2,246,830 Discussions
  • 7,856,896 Comments

Discussions

JET running error in local throw er; // Unhandled 'error' event

NSM05
NSM05 Member Posts: 34 Green Ribbon

Hi ,

D:\Oracle JET APP\JET_Web_Application>ojet serve

Warning: Command is missing platform. Default to web.

Build: true

BuildType: dev

Destination: undefined

Destination target: undefined

Livereload: true

Livereload port: 35729

Platform: web

Port: 8000

Theme: redwood

Theme platform: web

Theme version: 10.1.1

Building app.

Cleaning staging path.

Running before_build hook.

Copy files to staging directory.

Copy finished.

Copy library files to staging directory.

Copy finished.

Copy reference components to staging directory.

Copy finished.

Copy local web components

Copy local web components skipped

Optimizing svg into SVG sprites.

Svg optimization task finished.

Compiling sass...

Sass compile finished.

Task index.html cdn bundle injection finished.

Running theme injection task.

Task index.html theme path injection finished.

Running theme copy task.

Theme copy task finished.

Running injection tasks.

Task main.js paths injection finished.

runAllComponentHooks

Running after_build hook.

Running before_serve hook.

Starting web server.

Connecting to http://localhost:8000

Starting watcher.

Running after_serve hook.

Server ready: http://localhost:8000

Listening on port 35729.

events.js:292

   throw er; // Unhandled 'error' event

   ^


Error: spawn cmd ENOENT

  at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)

  at onErrorNT (internal/child_process.js:465:16)

  at processTicksAndRejections (internal/process/task_queues.js:80:21)

Emitted 'error' event on ChildProcess instance at:

  at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)

  at onErrorNT (internal/child_process.js:465:16)

  at processTicksAndRejections (internal/process/task_queues.js:80:21) {

 errno: -4058,

 code: 'ENOENT',

 syscall: 'spawn cmd',

 path: 'cmd',

  spawnargs: [ '/c', 'start', '""', '/b', 'http://localhost:8000' ]

}


please help me on the error.

Answers

Sign In or Register to comment.