-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
ModuleLoadError with latest sf due to missing @salesforce/core #804
Comments
Hi @YodaDaCoda ! Thanks for raising this issue and thanks for contributing in making this project better! Thanks also for all the information, it is really helpful. I am curious why this is required now... We never had to add this dependency before as it should be there with Do you have the same issue using the |
Me too. I've been using this plugin for a few years and I wasn't able to readily identify where/how the dependancy chain changed to bring about this error. It only started after updating
Yes. |
Do you know why this issue occurs with the latest version of |
I'm still waiting on guidance here. @YodaDaCoda I think you could downgrade the |
Yeah I'd say it wasn't necessary to include it as a dependancy due to how npm structured the node_modules (something to do with peer dependancy resolution in the folder structure or something). It's not clear to me why this has changed, but if you're explicitly importing something from that package, it should be listed as a dependancy. |
Shipped in release $ sfdx plugins:install sfdx-git-delta@latest-rc
$ sfdx plugins:install sfdx-git-delta@v5.38.1 Happy incremental deployment! |
Issue verification check:
What is the problem?
Exception when using latest
sf
withsfdx-git-delta
plugin due to missing@salesforce/core
dependancy.What is the parameter and the value you used with it?
What is the expected result?
Plugin should complete successfully, with output in build dir.
What is the actual result?
As above.
Steps to reproduce
(condensed example to ensure no other dependancies are interfering)
Execution context
Operating System: Windows 11 + Linux (Azure CI)
yarn version: N/A
node version:
v20.11.0
git version:
git version 2.44.0.windows.1
sfdx version:
@salesforce/cli/2.30.8 win32-x64 node-v20.11.0
sgd plugin version:
sfdx-git-delta 5.34.0
More information
I can resolve this by
npm install @salesforce/core
, but I think this should be an explicitly depenancy of this project, given it's imported inlib\commands\sgd\source\delta.js
sfdx-git-delta/src/commands/sgd/source/delta.ts
Line 2 in 2ad59dd
The text was updated successfully, but these errors were encountered: