I try to create F7-based project for Electron on Windows 7. I run
framework7 create --ui in console (that is in turn run as administrator). I am able to select project options in browser and run app creation.
I see the following in browser, but after several seconds app creation stucks:
Generating package.json ✔ Generating package.json Creating required folders structure ✔ Creating required folders structure Installing NPM Dependencies (Please wait, it can take a while) ✔ Installing NPM Dependencies Installing NPM Dev Dependencies (Please wait, it can take a while) ✔ Installing NPM Dev Dependencies Executing NPM Scripts ✔ Executing NPM Scripts Creating Cordova project (Please wait, it can take a while)
I see the following output in console:
d:\projects\electron\cordova-f7-electron-2>framework7 create --ui √ All good, you have latest framework7-cli version. √ Launching Framework7 UI server Framework7 CLI UI is running on http://localhost:3001 (CTRL + C to exit) (node:7944) UnhandledPromiseRejectionWarning: Error: Shell command exit with non zero code: 1 at ChildProcess.<anonymous> (C:\Users\Admin\AppData\Roaming\npm\node_modules \framework7-cli\node_modules\exec-sh\lib\exec-sh.js:73:15) at ChildProcess.emit (events.js:198:13) at maybeClose (internal/child_process.js:982:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) (node:7944) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:7944) [DEP0018] DeprecationWarning: Unhandled promise rejections are depre cated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Node.js version: 10.16.0
What could be the reason of this?