mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
Fix community package update (#3914)
* 🐛 Fix community package update by using `npm i pkg@latest` always
This commit is contained in:
@@ -293,7 +293,7 @@ class LoadNodesAndCredentialsClass {
|
|||||||
): Promise<InstalledPackages> {
|
): Promise<InstalledPackages> {
|
||||||
const downloadFolder = UserSettings.getUserN8nFolderDowloadedNodesPath();
|
const downloadFolder = UserSettings.getUserN8nFolderDowloadedNodesPath();
|
||||||
|
|
||||||
const command = `npm update ${packageName}`;
|
const command = `npm i ${packageName}@latest`;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await executeCommand(command);
|
await executeCommand(command);
|
||||||
|
|||||||
Reference in New Issue
Block a user