Skip to content
This repository has been archived by the owner on Dec 13, 2019. It is now read-only.

Cannot use 'quasar wrap' on Windows #1

Closed
kamilersz opened this issue Jun 11, 2016 · 3 comments
Closed

Cannot use 'quasar wrap' on Windows #1

kamilersz opened this issue Jun 11, 2016 · 3 comments
Assignees
Labels

Comments

@kamilersz
Copy link

I cannot run 'quasar wrap' command on Windows even though I've installed cordova globally

C:\Users\kamilersz\quasar\proj>quasar wrap
 i Generating Cordova wrapper for Quasar App...
{ [Error: spawn cordova ENOENT]
  code: 'ENOENT',
  errno: 'ENOENT',
  syscall: 'spawn cordova',
  path: 'cordova',
  spawnargs: [ 'create', 'wrapper' ] }
 x You need Cordova globally installed (npm install -g cordova).

C:\Users\kamilersz\quasar\proj>cordova -v
6.2.0

C:\Users\kamilersz\quasar\proj>npm -v
3.6.0

C:\Users\kamilersz\quasar\proj>node -v
v5.7.0

@kamilersz
Copy link
Author

There might be clues in here as global npm package execution entry point on Windows uses .bat file
https://nodejs.org/api/child_process.html#child_process_spawning_bat_and_cmd_files_on_windows

@rstoenescu rstoenescu added the bug label Jun 11, 2016
@rstoenescu rstoenescu self-assigned this Jun 11, 2016
@rstoenescu
Copy link
Member

Setting up a VM with Windows and investigating.

@rstoenescu rstoenescu changed the title Cannot use 'quasar wrap' Cannot use 'quasar wrap' on Windows Jun 11, 2016
@rstoenescu
Copy link
Member

Released Quasar CLI v0.1.2 which fixes the issue. Please read Wrapper documentation if you encounter permission errors.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants