apache / cordova-mobile-spec

Apache Cordova mobile-spec
Apache License 2.0
66 stars 107 forks source link

`npm install` inside `cordova-js` is needed to resolve a local grunt issue #150

Open janpio opened 5 years ago

janpio commented 5 years ago

(Issues title taken from this commit: https://github.com/apache/cordova-mobile-spec/commit/e4b0a23484332d44e4ff44c5eab0f7566a38d19c)

Could you elaborate this quirk please @brodybits? Could not reproduce.

brodycj commented 5 years ago

If I do not do npm install inside cordova-js before running createmobilespec.js then it fails with an error message that it could not find a local grunt. This is what I remember, at least.

janpio commented 5 years ago

Ok, I did not encounter this. We will have to reproduce this again and see if it was a one-off problem for you or is an actual problem.

brodycj commented 5 years ago

I just tried removing generated node_modules from my cordova-js project and encountered this issue again on my mac. I hope I get a chance to try it on Windows someday.