noeticpenguin / ngForce

Force.com && Angular.js integration framework.
noeticpenguin.github.io/ngForce
MIT License
142 stars 61 forks source link

ngForce will not deploy #25

Closed patrickjamesbarry closed 9 years ago

patrickjamesbarry commented 10 years ago

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: 0AfL0000002xp8bKAA

All Component Failures:

  1. 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:

  1. pages/ngForceConfig.page -- Error: Static Resource named bundle does not exist. Check spelling.

***** DEPLOYMENT FAILED *****

Total time: 15 seconds Use --force to continue.

noeticpenguin commented 9 years ago

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.

noeticpenguin commented 9 years ago

Ps: Root cause is due to comment syntax of // rather than