Create Scratch Org button not availiable

Issue #727 resolved
Javier García Manzano created an issue

I'm not sure if it has to do with the configuration or it's a small bug, but the button which appeared in the Phase 3 video for creating scratch orgs isn't in my version.

Screen Shot 2017-10-05 at 19.06.47.png

I'm using IntelliJ 2017.2.5. as well as the latest version of IC, in a MacOS Sierra 10.12.6, if that's useful.

Furthermore, I do get the following message in the Event Log, but I don't know how to interpret it: Invalid configuration for module 'sfdx-devhub-tests'

            Module 'sfdx-devhub-tests': The following must be configured properly:
            module must have at least one source root
            module must have a configured connection
            module's configured connection must resolve to a global connection
            module must have a generated offline symbol table
            module must use an Illuminated Cloud SDK

Thanks in advance!

Comments (6)

  1. Scott Wells repo owner

    Javier, the new scratch org button is only presented when 1) you've configured the sfdx executable path in the Salesforce DX configuration tab; 2) you're working within a Salesforce DX project as identified by an sfdx-project.json file in the root directory. Can you verify that both of these are set properly and let me know whether that resolves the issue or not?

  2. Javier García Manzano reporter

    That might be the first issue.

    I have installed the executable successfully (I was using SFDC's Code's plugins before), but I'm not sure what path I should place in IC's configuration. I put the path to the .pkg since I haven't found any folder/.app in the system that would reference the installation.

    Regarding the second requirement, I wasn't able to meet it effectively because the creation of the project failed.

  3. Scott Wells repo owner

    Javier, once installed the sfdx binary is placed into /usr/local/bin once installed, so you'd enter /usr/local/bin/sfdx there. Once that's done, you'll likely want to recreate your project since IC will now know about SFDX. Let me know if that doesn't get you going!

  4. Javier García Manzano reporter

    Ah, yes. That got it solved, button appeared now. I guess I'm not used enough to MacOS so I misconfigured the plugin. Thanks a lot Scott!

  5. Log in to comment