-
-
Notifications
You must be signed in to change notification settings - Fork 197
[OSX] No validation for command options #251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This should work fine, could you give some more details how to reproduce the problem. |
Valication for --frameworkPath is ok on Windows, but when run this on OSX: Result is: Expected: |
Same applies also for symlink: Windows: Error message (expected, because there is a typo in --simlink) |
Same for: In Windows environment result is: In OSX result is: shell.js: internal error
Error: ENOENT, no such file or directory '/Users/topuzov/Git/nativescript-cli-tests/TNS_App/platforms/android/assets/App_Resources'
at Object.fs.mkdirSync (fs.js:653:18)
at /Users/topuzov/Git/nativescript-cli-tests/node_modules/nativescript/node_modules/shelljs/src/cp.js:174:14
at Array.forEach (native)
at Object._cp (/Users/topuzov/Git/nativescript-cli-tests/node_modules/nativescript/node_modules/shelljs/src/cp.js:157:11)
at Object.cp (/Users/topuzov/Git/nativescript-cli-tests/node_modules/nativescript/node_modules/shelljs/src/common.js:186:23)
at /Users/topuzov/Git/nativescript-cli-tests/node_modules/nativescript/lib/services/android-project-service.js:101:19
at Function.settle (/Users/topuzov/Git/nativescript-cli-tests/node_modules/nativescript/node_modules/fibers/future.js:220:26)
at FiberFuture.Future.wait (/Users/topuzov/Git/nativescript-cli-tests/node_modules/nativescript/node_modules/fibers/future.js:487:10)
at /Users/topuzov/Git/nativescript-cli-tests/node_modules/nativescript/lib/services/platform-service.js:121:88
at Function.settle (/Users/topuzov/Git/nativescript-cli-tests/node_modules/nativescript/node_modules/fibers/future.js:220:26)
|
It turned out the problem is when you have installed nativescript with -g option |
If you have a typo in --frameworkPath CLI defaults to npmjs.org without any error.
If some of the CLI params is wrong I expect error instead of default behavior without error.
The text was updated successfully, but these errors were encountered: