Error: Hook failed with error code 1: myapp/hooks/before_prepare/01_jshint.js


#1

Hello, I’m trying to build my app for android, but i get the following error :

Error: Hook failed with error code 1: myapp/hooks/before_prepare/01_jshint.js

Same goes if I build for iOS. I looked on Google, the forum, StackOverflow… nothing so far


#2

Ok, I was apparently too focused on the error to see the lint warnings.
After fixing the warnings in my /js/ files it works.
I’ll keep this (shameful) post here in case it can spare someone else the trouble :-).


#3

can you share the solution please? Stuck on same problem here.