framework7io / framework7-cli

Framework7 command line utility
https://framework7.io/cli/
MIT License
89 stars 44 forks source link

"framework7 create" fails when there is a space y proyect folder path #15

Closed D4ni3lr closed 5 years ago

D4ni3lr commented 5 years ago

Describe the bug

When there is a space in the proyect path, something like C:\My Projects\F7Project the command "framework7 create" fails.

Output:

√ All good, you have latest framework7-cli version. ? What type of the app are you targeting? Cordova + PWA (Progressive Web App) ? App (project) name: Prueba ? App package (Bundle ID): io.framework7.myapp ? Target Cordova platform: (Press to select, to toggle all, to invert selection)iOS, Android ? What type of framework do you prefer? Framework7 with Vue.js ? Choose starter template: Single View ? Do you want to setup CSS Pre-Processor No, i am good with CSS ? Do you want to specify custom theme color? No, use default color theme √ Generating package.json √ Creating required folders structure × Error installing NPM Dependencies The system cannot find the path specified.

Additional context

The problem is located in the file "framework7-cli\create-app/index.js".

nolimits4web commented 5 years ago

Can you try to update CLI to latest version (2.0.3) and try again?

D4ni3lr commented 5 years ago

It's working now.