@lark-apaas/fullstack-cli 1.1.71-alpha.20261104114555 → 1.1.71-alpha.20261104122311
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +5 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5167,8 +5167,11 @@ function checkInstalledVersion(pluginKey) {
|
|
|
5167
5167
|
if (declaredVersion !== installedVersion) {
|
|
5168
5168
|
throw new FormCliError(
|
|
5169
5169
|
FormCliErrorCode.PLUGIN_VERSION_MISMATCH,
|
|
5170
|
-
`Plugin ${pluginKey} version mismatch: package.json actionPlugins declares ${declaredVersion}, node_modules has ${installedVersion}
|
|
5171
|
-
{
|
|
5170
|
+
`Plugin ${pluginKey} version mismatch: package.json actionPlugins declares ${declaredVersion}, node_modules has ${installedVersion}`,
|
|
5171
|
+
{
|
|
5172
|
+
hint: `To use the declared version, run "fullstack-cli action-plugin install ${pluginKey}@${declaredVersion}"; to keep ${installedVersion}, run "fullstack-cli action-plugin install ${pluginKey}@${installedVersion}" so package.json records it.`,
|
|
5173
|
+
details: { declaredVersion, installedVersion }
|
|
5174
|
+
}
|
|
5172
5175
|
);
|
|
5173
5176
|
}
|
|
5174
5177
|
return installedVersion;
|