cordova-mobile-spec icon indicating copy to clipboard operation
cordova-mobile-spec copied to clipboard

Mobile-spec on windows doesn't create project when there are spaces in the path

Open janpio opened this issue 6 years ago • 3 comments

Reported by @surajpindoria at https://issues.apache.org/jira/browse/CB-9364

janpio avatar Nov 26 '18 14:11 janpio

Sounds like a quirk. I can try it if I get a chance to try mobilespec on Windows platform.

@janpio it is not clear to me if you already reproduced this reported quirk or not, labeling as a question for now.

brody4hire avatar Nov 28 '18 12:11 brody4hire

I did not, would have added the bug label if I had. I consider issues "untriaged" as long as there are no labels specifying the type of issue. But question is fine as well.

janpio avatar Nov 28 '18 12:11 janpio

  copy  www/splashscreens/android-port-hdpi.png platforms\android\app\src\main\res\drawable-port-hdpi\screen.png (updated file)
  copy  www/splashscreens/android-port-xhdpi.png platforms\android\app\src\main\res\drawable-port-xhdpi\screen.png (updated file)
This app does not have additional resource files defined
Prepared android project successfully
No scripts found for hook "after_prepare".
Saving [email protected] into platforms.json
No scripts found for hook "after_platform_add".
### Skipping the js update.
### Adding plugins using CLI...
Searchpath:
Installing local test framework plugins...
$ cordova plugin add E:\Projects\Cordova\coho checkouts 2\cordova-mobile-spec\cordova-plugin-echo
npm: Command failed with exit code 1 Error output:
npm ERR! Invalid package.json

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Jan\AppData\Roaming\npm-cache\_logs\2019-05-24T23_49_30_367Z-debug.log

E:\Projects\Cordova\coho checkouts 2

Simple reason is that cordova plugin add E:\Projects\Cordova\coho checkouts 2\cordova-mobile-spec\cordova-plugin-echo just needs quoting of the path.

janpio avatar May 24 '19 23:05 janpio