简体   繁体   中英

Sencha Cmd Error: Build Failed

After running sencha generated app Practise '../www/Practise' it showed some errors. Here the error message:

[ERR] BUILD FAILED
[ERR] java.lang.NullPointerException
[ERR] 
[ERR] Total time :4 seconds
[ERR] com.sencha.exceptions.BasicException

I dont know if this is the same issue you were having but this is why I got that error:

  1. I tried to generate the app unsuccessfully
    • This created a directory for my app and put some files in it but the app was incomplete
  2. I fixed the original issue and ran the command again.
    • I got the error you were receiving.

This was because the folder in www/ yourproject already existed. I deleted this folder and ran the command successfully.

Hope this helps!!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM