mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-26 21:19:43 -08:00
Fix community package update (#3914)
* 🐛 Fix community package update by using `npm i pkg@latest` always
This commit is contained in:
parent
8e838b602e
commit
4f3043c65f
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue