I was working on my app and decided a huge chunk of it needed to be moved to a package to use in other apps I may develop.
I can complete a sencha package build and build myPackage, but if I try to refresh myApp I get the error 'failed to resolve package.' I have added requires: [myPackage] to my app.json
Failed to resolve package during refresh
So I used sencha cmd to generate a workspace. I generated the workspace in the folder containing my app so now it looks like this:
Code:
workspace/
/.idea
/.sencha
/build
/ext
/packages
/myPackage
/.sencha
/src
/package.json
/myApp
/.sencha
/workspace
/app
/app.json
I can complete a sencha package build and build myPackage, but if I try to refresh myApp I get the error 'failed to resolve package.' I have added requires: [myPackage] to my app.json
I am assuming there is something I need to change in either my app's app.json or .sencha/app/sencha.cfg or .sencha/workspace/sencha.cfg file.
Failed to resolve package during refresh
Aucun commentaire:
Enregistrer un commentaire