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

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

Open janpio opened this issue 6 years ago • 3 comments

(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.

janpio avatar Nov 24 '18 01:11 janpio

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.

brody4hire avatar Nov 28 '18 12:11 brody4hire

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.

janpio avatar Nov 28 '18 12:11 janpio

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.

brody4hire avatar Nov 29 '18 17:11 brody4hire