Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not available for deploy for this API version #41

Open
jpoozhik opened this issue Jun 8, 2016 · 3 comments
Open

Not available for deploy for this API version #41

jpoozhik opened this issue Jun 8, 2016 · 3 comments

Comments

@jpoozhik
Copy link

jpoozhik commented Jun 8, 2016

I get this error "Not available for deploy for this API version " when saving lightning app from Sublime but have no issues when doing it through Developer console.
Updated with the latest force cli and also installed the latest package and still the same issue.
Any ideas? Thanks.

@dcarroll
Copy link
Owner

Can you give me some more info? It's suspicious that this happened so close to our Summer '16 release. What Salesforce release are you on? What version of the CLI are you using? What version of the plugin are you using? Finally, what version of the API is the CLI using?

@sevarg11
Copy link

sevarg11 commented Aug 3, 2016

I'm running into the same issue with Summer 16. I can save everything through the Developer Console, but when I try to save a Lightning App through Sublime, I get the "Not available for deploy for this API version" error. I am using the latest version of the Force CLI.

@dcarroll
Copy link
Owner

dcarroll commented Aug 4, 2016

@sevarg11 I think this is because the default version of the CLI is still on 36.0. After logging in, you can change the version to 37.0
force apiversion 37.0

Please try this. In the mean time I will do a new release to update the version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants