Compare commits

..

No commits in common. "51ef46c11b0621a2441fe60f6f95537e5bf6735b" and "5d282f95a0177ae70213f54c71319074caec6f9b" have entirely different histories.

1 changed files with 3 additions and 1 deletions

View File

@ -532,7 +532,9 @@ class ExternalModuleManager {
const resolution = ExternalModuleManager._resolutions.get(moduleCode);
const versionHint = resolution?.version ? `version ${resolution.version}` : 'the cloned version';
const channelHint =
resolution?.channel === 'stable' ? ` Try reinstalling with \`--next=${moduleCode}\` to use the latest main branch instead.` : '';
resolution?.channel === 'stable'
? ` Try reinstalling with \`--next=${moduleCode}\` to use the latest main branch instead.`
: '';
throw new Error(
`Module '${moduleCode}' was downloaded but its module definition was not found. ` +
`Expected '${moduleDefinitionPath}' to exist in ${versionHint}, but it is missing. ` +