Giter VIP home page Giter VIP logo

Comments (3)

VALiNTRY360 avatar VALiNTRY360 commented on June 1, 2024

Update on error:

Used the fix referenced by another user @regist84 in a previous post:
i bypass this error modifing the file "/home/ranosys/Downloads/b2c-crm-sync/b2c-crm-sync/node_modules/@oclif/core/lib/command.js".
I changed the row 6 from "const cli_ux_1 = require("cli-ux");" to "const cli_ux_1 = require("../../../cli-ux");"

Now getting a new error message:
_[
{
"stack": "RequiresDevhubUsernameError: This command requires a dev hub username. Specify it with the -v parameter or with the "sfdx config:set defaultdevhubusername=" command.\n at Function.create (/Users/luigifrascarelli/b2c-crm-sync/node_modules/@salesforce/core/lib/sfdxError.js:160:16)\n at UserDisplayCommand.assignHubOrg (/Users/luigifrascarelli/b2c-crm-sync/node_modules/@salesforce/command/lib/sfdxCommand.js:144:44)\n at async UserDisplayCommand.init (/Users/luigifrascarelli/b2c-crm-sync/node_modules/@salesforce/command/lib/sfdxCommand.js:235:13)\n at async UserDisplayCommand.run (/Users/luigifrascarelli/b2c-crm-sync/node_modules/@salesforce/command/lib/sfdxCommand.js:80:13)",
"message": "This command requires a dev hub username. Specify it with the -v parameter or with the "sfdx config:set defaultdevhubusername=" command.",
"name": "RequiresDevhubUsernameError",
"exitCode": 1,
"commandName": "UserDisplayCommand",
"code": "Error"
}

from b2c-crm-sync.

VALiNTRY360 avatar VALiNTRY360 commented on June 1, 2024

FYI - this is a SF sandbox and cannot enable DevHub
https://help.salesforce.com/s/articleView?id=sf.sfdx_setup_enable_devhub.htm&type=5

How do we deploy to a SF sandbox without enabling the DevHub?

from b2c-crm-sync.

VALiNTRY360 avatar VALiNTRY360 commented on June 1, 2024

Solved by entering same credentials in the ENV file for the DevHub credentials.

from b2c-crm-sync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.