Error when running sfdx update to 7.1.3 then sfdx push errors
When I ran sfdx update from 6.56.0 to 7.1.3 I got the error below.
And when I run sfdx force:source:push
I'm getting the below error.
Are these two related? I'm not sure where to start on the second error; there is no info regarding what is causing it?
salesforcedx error salesforcedx-cli scratch-org
add a comment |
When I ran sfdx update from 6.56.0 to 7.1.3 I got the error below.
And when I run sfdx force:source:push
I'm getting the below error.
Are these two related? I'm not sure where to start on the second error; there is no info regarding what is causing it?
salesforcedx error salesforcedx-cli scratch-org
add a comment |
When I ran sfdx update from 6.56.0 to 7.1.3 I got the error below.
And when I run sfdx force:source:push
I'm getting the below error.
Are these two related? I'm not sure where to start on the second error; there is no info regarding what is causing it?
salesforcedx error salesforcedx-cli scratch-org
When I ran sfdx update from 6.56.0 to 7.1.3 I got the error below.
And when I run sfdx force:source:push
I'm getting the below error.
Are these two related? I'm not sure where to start on the second error; there is no info regarding what is causing it?
salesforcedx error salesforcedx-cli scratch-org
salesforcedx error salesforcedx-cli scratch-org
edited 5 hours ago
shmuels
asked 5 hours ago
shmuelsshmuels
1687
1687
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
I deleted the .sfdx/orgs/test-orgUserName@example.com/sourcePathInfo.json
file (which I believe resets sfdx's change tracking and pushes your entire code). This resolved the sfdx push
error.
However it still seems that there is some issue with the latest sfdx update 7.1.3
If that fixes the issue, that is a reasonable approach. What other 7.1.3 issues are you seeing
– Amphro
4 hours ago
@Amphro Just the one above- when I ran thesfdx update
command-MODULE_NOT_FOUND: Cannot find module './errors'
For nowsfdx push
is working
– shmuels
3 hours ago
add a comment |
People have been encountering errors with the latest version. You can try to fix this with:
sfdx plugins:install salesforcedx@latest
This should likely fix your push command as well.
When I just tried the upgrade command myself, I got a different error:
sfdx-cli: Updating CLI...
sfdx-cli: Updating CLI from 6.56.0-e3fd846a1f to 7.1.3-ece97e8491... finishing up
sfdx-cli: Updating CLI from 6.56.0-e3fd846a1f to 7.1.3-ece97e8491... done
sfdx-cli: Updating CLI...
Migrating plugins... done
sfdx-cli: Updating plugins... yarn add v1.15.2
sfdx-cli: Updating plugins... [1/4] Resolving packages...sfdx-cli: Updating plugins... [2/4] Fetching packages...sfdx-cli: Updating plugins... [3/4] Linking dependencies...sfdx-cli: Updating plugins... [4/4] Building fresh packages...sfdx-cli: Updating plugins... success Saved lockfile.sfdx-cli: Updating plugins... success Saved 0 new dependencies.sfdx-cli: Updating plugins... Done in 9.73s.sfdx-cli: Updating plugins... done
module.js:550
throw err;
^
Error: Cannot find module './action/base'
...
They'll probably have this fixed shortly anyways, but you can manually fix your plugins pretty easily by reinstalling the plugin.
After running thesfdx plugins:install salesforcedx@latest
command. Onsfdx push
I'm gettingError: Cannot find module '@oclif/config'
See here
– shmuels
5 hours ago
@shmuels Interesting. Maybe it's time to start asking around. I'll be back.
– sfdcfox
5 hours ago
If you get the error @sfdcfox showed above, just try runningsfdx update
again. It's an error that the new v7 engine has fixed for future updates.
– Wade Wegner
4 hours ago
The update errors ofError: Cannot find module './action/base'
and the like shouldn't matter. You can verify withsfdx -v
. If it says v7, you successfully updated.
– Amphro
4 hours ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "459"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f255748%2ferror-when-running-sfdx-update-to-7-1-3-then-sfdx-push-errors%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
I deleted the .sfdx/orgs/test-orgUserName@example.com/sourcePathInfo.json
file (which I believe resets sfdx's change tracking and pushes your entire code). This resolved the sfdx push
error.
However it still seems that there is some issue with the latest sfdx update 7.1.3
If that fixes the issue, that is a reasonable approach. What other 7.1.3 issues are you seeing
– Amphro
4 hours ago
@Amphro Just the one above- when I ran thesfdx update
command-MODULE_NOT_FOUND: Cannot find module './errors'
For nowsfdx push
is working
– shmuels
3 hours ago
add a comment |
I deleted the .sfdx/orgs/test-orgUserName@example.com/sourcePathInfo.json
file (which I believe resets sfdx's change tracking and pushes your entire code). This resolved the sfdx push
error.
However it still seems that there is some issue with the latest sfdx update 7.1.3
If that fixes the issue, that is a reasonable approach. What other 7.1.3 issues are you seeing
– Amphro
4 hours ago
@Amphro Just the one above- when I ran thesfdx update
command-MODULE_NOT_FOUND: Cannot find module './errors'
For nowsfdx push
is working
– shmuels
3 hours ago
add a comment |
I deleted the .sfdx/orgs/test-orgUserName@example.com/sourcePathInfo.json
file (which I believe resets sfdx's change tracking and pushes your entire code). This resolved the sfdx push
error.
However it still seems that there is some issue with the latest sfdx update 7.1.3
I deleted the .sfdx/orgs/test-orgUserName@example.com/sourcePathInfo.json
file (which I believe resets sfdx's change tracking and pushes your entire code). This resolved the sfdx push
error.
However it still seems that there is some issue with the latest sfdx update 7.1.3
answered 4 hours ago
shmuelsshmuels
1687
1687
If that fixes the issue, that is a reasonable approach. What other 7.1.3 issues are you seeing
– Amphro
4 hours ago
@Amphro Just the one above- when I ran thesfdx update
command-MODULE_NOT_FOUND: Cannot find module './errors'
For nowsfdx push
is working
– shmuels
3 hours ago
add a comment |
If that fixes the issue, that is a reasonable approach. What other 7.1.3 issues are you seeing
– Amphro
4 hours ago
@Amphro Just the one above- when I ran thesfdx update
command-MODULE_NOT_FOUND: Cannot find module './errors'
For nowsfdx push
is working
– shmuels
3 hours ago
If that fixes the issue, that is a reasonable approach. What other 7.1.3 issues are you seeing
– Amphro
4 hours ago
If that fixes the issue, that is a reasonable approach. What other 7.1.3 issues are you seeing
– Amphro
4 hours ago
@Amphro Just the one above- when I ran the
sfdx update
command- MODULE_NOT_FOUND: Cannot find module './errors'
For now sfdx push
is working– shmuels
3 hours ago
@Amphro Just the one above- when I ran the
sfdx update
command- MODULE_NOT_FOUND: Cannot find module './errors'
For now sfdx push
is working– shmuels
3 hours ago
add a comment |
People have been encountering errors with the latest version. You can try to fix this with:
sfdx plugins:install salesforcedx@latest
This should likely fix your push command as well.
When I just tried the upgrade command myself, I got a different error:
sfdx-cli: Updating CLI...
sfdx-cli: Updating CLI from 6.56.0-e3fd846a1f to 7.1.3-ece97e8491... finishing up
sfdx-cli: Updating CLI from 6.56.0-e3fd846a1f to 7.1.3-ece97e8491... done
sfdx-cli: Updating CLI...
Migrating plugins... done
sfdx-cli: Updating plugins... yarn add v1.15.2
sfdx-cli: Updating plugins... [1/4] Resolving packages...sfdx-cli: Updating plugins... [2/4] Fetching packages...sfdx-cli: Updating plugins... [3/4] Linking dependencies...sfdx-cli: Updating plugins... [4/4] Building fresh packages...sfdx-cli: Updating plugins... success Saved lockfile.sfdx-cli: Updating plugins... success Saved 0 new dependencies.sfdx-cli: Updating plugins... Done in 9.73s.sfdx-cli: Updating plugins... done
module.js:550
throw err;
^
Error: Cannot find module './action/base'
...
They'll probably have this fixed shortly anyways, but you can manually fix your plugins pretty easily by reinstalling the plugin.
After running thesfdx plugins:install salesforcedx@latest
command. Onsfdx push
I'm gettingError: Cannot find module '@oclif/config'
See here
– shmuels
5 hours ago
@shmuels Interesting. Maybe it's time to start asking around. I'll be back.
– sfdcfox
5 hours ago
If you get the error @sfdcfox showed above, just try runningsfdx update
again. It's an error that the new v7 engine has fixed for future updates.
– Wade Wegner
4 hours ago
The update errors ofError: Cannot find module './action/base'
and the like shouldn't matter. You can verify withsfdx -v
. If it says v7, you successfully updated.
– Amphro
4 hours ago
add a comment |
People have been encountering errors with the latest version. You can try to fix this with:
sfdx plugins:install salesforcedx@latest
This should likely fix your push command as well.
When I just tried the upgrade command myself, I got a different error:
sfdx-cli: Updating CLI...
sfdx-cli: Updating CLI from 6.56.0-e3fd846a1f to 7.1.3-ece97e8491... finishing up
sfdx-cli: Updating CLI from 6.56.0-e3fd846a1f to 7.1.3-ece97e8491... done
sfdx-cli: Updating CLI...
Migrating plugins... done
sfdx-cli: Updating plugins... yarn add v1.15.2
sfdx-cli: Updating plugins... [1/4] Resolving packages...sfdx-cli: Updating plugins... [2/4] Fetching packages...sfdx-cli: Updating plugins... [3/4] Linking dependencies...sfdx-cli: Updating plugins... [4/4] Building fresh packages...sfdx-cli: Updating plugins... success Saved lockfile.sfdx-cli: Updating plugins... success Saved 0 new dependencies.sfdx-cli: Updating plugins... Done in 9.73s.sfdx-cli: Updating plugins... done
module.js:550
throw err;
^
Error: Cannot find module './action/base'
...
They'll probably have this fixed shortly anyways, but you can manually fix your plugins pretty easily by reinstalling the plugin.
After running thesfdx plugins:install salesforcedx@latest
command. Onsfdx push
I'm gettingError: Cannot find module '@oclif/config'
See here
– shmuels
5 hours ago
@shmuels Interesting. Maybe it's time to start asking around. I'll be back.
– sfdcfox
5 hours ago
If you get the error @sfdcfox showed above, just try runningsfdx update
again. It's an error that the new v7 engine has fixed for future updates.
– Wade Wegner
4 hours ago
The update errors ofError: Cannot find module './action/base'
and the like shouldn't matter. You can verify withsfdx -v
. If it says v7, you successfully updated.
– Amphro
4 hours ago
add a comment |
People have been encountering errors with the latest version. You can try to fix this with:
sfdx plugins:install salesforcedx@latest
This should likely fix your push command as well.
When I just tried the upgrade command myself, I got a different error:
sfdx-cli: Updating CLI...
sfdx-cli: Updating CLI from 6.56.0-e3fd846a1f to 7.1.3-ece97e8491... finishing up
sfdx-cli: Updating CLI from 6.56.0-e3fd846a1f to 7.1.3-ece97e8491... done
sfdx-cli: Updating CLI...
Migrating plugins... done
sfdx-cli: Updating plugins... yarn add v1.15.2
sfdx-cli: Updating plugins... [1/4] Resolving packages...sfdx-cli: Updating plugins... [2/4] Fetching packages...sfdx-cli: Updating plugins... [3/4] Linking dependencies...sfdx-cli: Updating plugins... [4/4] Building fresh packages...sfdx-cli: Updating plugins... success Saved lockfile.sfdx-cli: Updating plugins... success Saved 0 new dependencies.sfdx-cli: Updating plugins... Done in 9.73s.sfdx-cli: Updating plugins... done
module.js:550
throw err;
^
Error: Cannot find module './action/base'
...
They'll probably have this fixed shortly anyways, but you can manually fix your plugins pretty easily by reinstalling the plugin.
People have been encountering errors with the latest version. You can try to fix this with:
sfdx plugins:install salesforcedx@latest
This should likely fix your push command as well.
When I just tried the upgrade command myself, I got a different error:
sfdx-cli: Updating CLI...
sfdx-cli: Updating CLI from 6.56.0-e3fd846a1f to 7.1.3-ece97e8491... finishing up
sfdx-cli: Updating CLI from 6.56.0-e3fd846a1f to 7.1.3-ece97e8491... done
sfdx-cli: Updating CLI...
Migrating plugins... done
sfdx-cli: Updating plugins... yarn add v1.15.2
sfdx-cli: Updating plugins... [1/4] Resolving packages...sfdx-cli: Updating plugins... [2/4] Fetching packages...sfdx-cli: Updating plugins... [3/4] Linking dependencies...sfdx-cli: Updating plugins... [4/4] Building fresh packages...sfdx-cli: Updating plugins... success Saved lockfile.sfdx-cli: Updating plugins... success Saved 0 new dependencies.sfdx-cli: Updating plugins... Done in 9.73s.sfdx-cli: Updating plugins... done
module.js:550
throw err;
^
Error: Cannot find module './action/base'
...
They'll probably have this fixed shortly anyways, but you can manually fix your plugins pretty easily by reinstalling the plugin.
answered 5 hours ago
sfdcfoxsfdcfox
262k12209453
262k12209453
After running thesfdx plugins:install salesforcedx@latest
command. Onsfdx push
I'm gettingError: Cannot find module '@oclif/config'
See here
– shmuels
5 hours ago
@shmuels Interesting. Maybe it's time to start asking around. I'll be back.
– sfdcfox
5 hours ago
If you get the error @sfdcfox showed above, just try runningsfdx update
again. It's an error that the new v7 engine has fixed for future updates.
– Wade Wegner
4 hours ago
The update errors ofError: Cannot find module './action/base'
and the like shouldn't matter. You can verify withsfdx -v
. If it says v7, you successfully updated.
– Amphro
4 hours ago
add a comment |
After running thesfdx plugins:install salesforcedx@latest
command. Onsfdx push
I'm gettingError: Cannot find module '@oclif/config'
See here
– shmuels
5 hours ago
@shmuels Interesting. Maybe it's time to start asking around. I'll be back.
– sfdcfox
5 hours ago
If you get the error @sfdcfox showed above, just try runningsfdx update
again. It's an error that the new v7 engine has fixed for future updates.
– Wade Wegner
4 hours ago
The update errors ofError: Cannot find module './action/base'
and the like shouldn't matter. You can verify withsfdx -v
. If it says v7, you successfully updated.
– Amphro
4 hours ago
After running the
sfdx plugins:install salesforcedx@latest
command. On sfdx push
I'm getting Error: Cannot find module '@oclif/config'
See here– shmuels
5 hours ago
After running the
sfdx plugins:install salesforcedx@latest
command. On sfdx push
I'm getting Error: Cannot find module '@oclif/config'
See here– shmuels
5 hours ago
@shmuels Interesting. Maybe it's time to start asking around. I'll be back.
– sfdcfox
5 hours ago
@shmuels Interesting. Maybe it's time to start asking around. I'll be back.
– sfdcfox
5 hours ago
If you get the error @sfdcfox showed above, just try running
sfdx update
again. It's an error that the new v7 engine has fixed for future updates.– Wade Wegner
4 hours ago
If you get the error @sfdcfox showed above, just try running
sfdx update
again. It's an error that the new v7 engine has fixed for future updates.– Wade Wegner
4 hours ago
The update errors of
Error: Cannot find module './action/base'
and the like shouldn't matter. You can verify with sfdx -v
. If it says v7, you successfully updated.– Amphro
4 hours ago
The update errors of
Error: Cannot find module './action/base'
and the like shouldn't matter. You can verify with sfdx -v
. If it says v7, you successfully updated.– Amphro
4 hours ago
add a comment |
Thanks for contributing an answer to Salesforce Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsalesforce.stackexchange.com%2fquestions%2f255748%2ferror-when-running-sfdx-update-to-7-1-3-then-sfdx-push-errors%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown