PeterStaev / nativescript-masked-text-field

:hash: A NativeScript Masked Text Field widget
Apache License 2.0
25 stars 24 forks source link

Error on run IOS demo-ng #4

Closed Yamilquery closed 7 years ago

Yamilquery commented 7 years ago

When I run:

tns run ios

On /nativescript-masked-text-field/demo-ng I get this error:

Unable to install dependencies. Make sure your package.json is valid and all dependencies are correct. Error is: Command npm failed with exit code 254

Yamilquery commented 7 years ago

On package.json, change the following line

"nativescript-masked-text-field": "file:../bin/dist",

By

"nativescript-masked-text-field": "^1.0.0",

And it worked!