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!

Issue with creation of new apllication using ojet cli - ojet create

3502480Mar 13 2018 — edited Mar 14 2018

Hi Gurus,

I am trying to create new application usin ojet create command. This has worked for me previously. I do not know whate got changed, but, somehow now i am not able to create the applications. I would rather say application gets created but ojet tooling will not be present hence i cannot build and serve the project. During creationg follwoing is the log message that i receive.

C:\Users\s.a.shripad.joshi>ojet create MyJetMoocApp --template=navdrawer

Oracle JET CLI

Processing template... navdrawer

Oracle JET: Your app structure is generated. Continuing with library install...

Performing npm install may take a bit...

Invoking npm install

npm WARN deprecated qunitjs@2.4.1: 2.4.1 is the last version where QUnit will be published as 'qunitjs'. To receive future updates, you will need to change the package name to 'qunit'.

npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)

> phantomjs-prebuilt@2.1.16 install C:\Users\s.a.shripad.joshi\MyJetMoocApp\node_modules\phantomjs-prebuilt

> node install.js

PhantomJS not found on PATH

Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-windows.zip

Saving to C:\Users\SASHRI~1.JOS\AppData\Local\Temp\phantomjs\phantomjs-2.1.1-windows.zip

Using proxy http://proxy.address/:proxy.port

Receiving...

Error making request.

Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND proxy.address proxy.address:80

    at ClientRequest.onError (C:\Users\s.a.shripad.joshi\MyJetMoocApp\node_modules\tunnel-agent\index.js:177:17)

    at Object.onceWrapper (events.js:315:30)

    at emitOne (events.js:116:13)

    at ClientRequest.emit (events.js:211:7)

    at Socket.socketErrorListener (_http_client.js:387:9)

    at emitOne (events.js:116:13)

    at Socket.emit (events.js:211:7)

    at emitErrorNT (internal/streams/destroy.js:64:8)

    at _combinedTickCallback (internal/process/next_tick.js:138:11)

    at process._tickCallback (internal/process/next_tick.js:180:9)

Please report this full log at https://github.com/Medium/phantomjs

npm WARN Error: EPERM: operation not permitted, lstat 'C:\Users\s.a.shripad.joshi\MyJetMoocApp\node_modules\fsevents\node_modules\rc\node_modules'

npm WARN  { Error: EPERM: operation not permitted, lstat 'C:\Users\s.a.shripad.joshi\MyJetMoocApp\node_modules\fsevents\node_modules\rc\node_modules'

npm WARN   stack: 'Error: EPERM: operation not permitted, lstat \'C:\\Users\\s.a.shripad.joshi\\MyJetMoocApp\\node_modules\\fsevents\\node_modules\\rc\\node_modules\'',

npm WARN   errno: -4048,

npm WARN   code: 'EPERM',

npm WARN   syscall: 'lstat',

npm WARN   path: 'C:\\Users\\s.a.shripad.joshi\\MyJetMoocApp\\node_modules\\fsevents\\node_modules\\rc\\node_modules' }

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! phantomjs-prebuilt@2.1.16 install: `node install.js`

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the phantomjs-prebuilt@2.1.16 install script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:

npm ERR!     C:\Users\s.a.shripad.joshi\AppData\Roaming\npm-cache\_logs\2018-03-13T07_51_30_194Z-debug.log

(node:4684) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Error: Oracle JET Error: (during Invoking npm install) 1

(node:4684) [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.

Comments
Post Details
Added on Mar 13 2018
3 comments
604 views