ngForce will not deploy
patrickjamesbarry opened this issue · 2 comments
The Grunt script is failing to deploy ngForce into my Org, because ngForceConfig.page has this comment in it.
resourceUrl: '' // Put the path the static resource here, e.g. '{!URLFOR($Resource.bundle)}'
When I remove the comment, the script worked.
What resource.bundle should be getting referenced here?
What is the purpose of this page?
Is there any documenation on any of this?
Running "antdeploy:test" (antdeploy) task
Deploy Target -> test
User -> myusername@company.com
Starting ANT deploy...
Buildfile: /Users/cdpxpb/Downloads/ngForce-master/node_modules/grunt-ant-sfdc/tmp/ant/build.xml
deploy:
[sf:deploy] Request for a deploy submitted successfully.
[sf:deploy] Request ID for the current deploy task: 0AfL0000002xp8bKAA
[sf:deploy] Waiting for server to finish processing the request...
[sf:deploy] Request Status: InProgress
[sf:deploy] Request Status: Failed
BUILD FAILED
/Users/cdpxpb/Downloads/ngForce-master/node_modules/grunt-ant-sfdc/tmp/ant/build.xml:13:
*********** DEPLOYMENT FAILED **********
Request ID: 0AfL0000002xp8bKAAAll Component Failures:
- pages/ngForceConfig.page -- Error: Static Resource named bundle does not exist. Check spelling.
********** DEPLOYMENT FAILED ***********
Total time: 15 seconds
Warning:
BUILD FAILED
/Users/cdpxpb/Downloads/ngForce-master/node_modules/grunt-ant-sfdc/tmp/ant/build.xml:13:
********* DEPLOYMENT FAILED *********
Request ID: 0AfL0000002xp8bKAA
All Component Failures:
- pages/ngForceConfig.page -- Error: Static Resource named bundle does not exist. Check spelling.
********* DEPLOYMENT FAILED *********
Total time: 15 seconds Use --force to continue.
Well, it's supposed to be a comment. it's not supposed to reference any given resource bundle, more a guide to implementers that you should specify whatever resource bundle you're using to hold your angular app code.
Ps: Root cause is due to comment syntax of // rather than