Kong / insomnia

The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.
https://insomnia.rest
Apache License 2.0
33.72k stars 1.88k forks source link

Yarn error warning package-lock.json found #6576

Open mtarkow3 opened 9 months ago

mtarkow3 commented 9 months ago

Expected Behavior

Trying to install plugins. Getting errors.

Actual Behavior

Error: Error invoking remote method 'installPlugin': Error: Yarn error warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json. warning npm > fs-vacuum@1.2.10: This module is no longer maintained warning npm > gentle-fs@2.3.1: This package is deprecated and will not be receiving further updates warning npm > bin-links > gentle-fs@2.3.1: This package is deprecated and will not be receiving further updates warning npm > gentle-fs > fs-vacuum@1.2.10: This module is no longer maintained warning npm > libcipm@4.0.8: This module is no longer used. Please see @npmcli/arborist if you would like to build and reify package trees programmatically. warning npm > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 warning npm > node-gyp > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 warning npm > readdir-scoped-modules@1.1.0: This functionality has been moved to @npmcli/fs warning npm > read-installed > readdir-scoped-modules@1.1.0: This functionality has been moved to @npmcli/fs warning npm > stringify-package@1.0.1: This module is not used anymore, and has been replaced by @npmcli/package-json warning npm > libnpm > stringify-package@1.0.1: This module is not used anymore, and has been replaced by @npmcli/package-json warning npm > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. warning npm > request > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. warning npm > read-package-tree@5.3.1: The functionality that this package provided is now in @npmcli/arborist warning npm > read-package-tree > readdir-scoped-modules@1.1.0: This functionality has been moved to @npmcli/fs warning npm > debuglog@1.0.1: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. warning npm > read-installed > debuglog@1.0.1: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. warning npm > readdir-scoped-modules > debuglog@1.0.1: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. warning npm > libnpm > libnpmconfig@1.2.1: This module is not used anymore. npm config is parsed by npm itself and by @npmcli/config warning npm > request > har-validator@5.1.5: this library is no longer supported warning npm > npm-registry-fetch > make-fetch-happen > node-fetch-npm@2.0.4: This module is not used anymore, npm uses minipass-fetch for its fetch implementation now

at a.invoke (node:electron/js2c/renderer_init:2:7723)
at async onSubmit (file:///C:/Users/MTARKOW3/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:195:513)

Reproduction Steps

From insomnia, / Install plugin insomnia-plugin-js-eval. Failed to install insomnia-plugin-js-eval

There may be an issue with the plugin itself, as a note you can discover and install plugins from the Plugin Hub. Additional Information Error: Error invoking remote method 'installPlugin': Error: Yarn error warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json. warning npm > fs-vacuum@1.2.10: This module is no longer maintained warning npm > gentle-fs@2.3.1: This package is deprecated and will not be receiving further updates warning npm > bin-links > gentle-fs@2.3.1: This package is deprecated and will not be receiving further updates warning npm > gentle-fs > fs-vacuum@1.2.10: This module is no longer maintained warning npm > libcipm@4.0.8: This module is no longer used. Please see @npmcli/arborist if you would like to build and reify package trees programmatically. warning npm > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 warning npm > node-gyp > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 warning npm > readdir-scoped-modules@1.1.0: This functionality has been moved to @npmcli/fs warning npm > read-installed > readdir-scoped-modules@1.1.0: This functionality has been moved to @npmcli/fs warning npm > read-package-tree@5.3.1: The functionality that this package provided is now in @npmcli/arborist warning npm > read-package-tree > readdir-scoped-modules@1.1.0: This functionality has been moved to @npmcli/fs warning npm > stringify-package@1.0.1: This module is not used anymore, and has been replaced by @npmcli/package-json warning npm > libnpm > stringify-package@1.0.1: This module is not used anymore, and has been replaced by @npmcli/package-json warning npm > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. warning npm > request > uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. warning npm > debuglog@1.0.1: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. warning npm > read-installed > debuglog@1.0.1: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. warning npm > readdir-scoped-modules > debuglog@1.0.1: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. warning npm > libnpm > libnpmconfig@1.2.1: This module is not used anymore. npm config is parsed by npm itself and by @npmcli/config warning npm > request > har-validator@5.1.5: this library is no longer supported warning npm > npm-registry-fetch > make-fetch-happen > node-fetch-npm@2.0.4: This module is not used anymore, npm uses minipass-fetch for its fetch implementation now

at a.invoke (node:electron/js2c/renderer_init:2:7723)
at async onSubmit (file:///C:/Users/MTARKOW3/AppData/Local/insomnia/app-2023.5.8/resources/app.asar/index-f89f6e08.js:195:513)

Is there an existing issue for this?

Additional Information

Version: Insomnia 2023.5.8 Build date: 9/7/2023 OS: Windows_NT x64 10.0.19045 Electron: 25.2.0 Node: 18.15.0 Node ABI: 116 V8: 11.4.183.23-electron.0 Architecture: x64

Insomnia Version

Version: Insomnia 2023.5.8

What operating system are you using?

Windows

Operating System Version

Windows_NT x64 10.0.19045

Installation method

Insomnia.Core-2023.5.8.exe

Last Known Working Insomnia version

No response

Neiz-Kap commented 7 months ago

npm WARN deprecated swagger-methods@2.0.2: This package is no longer being maintained. npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead npm WARN deprecated readdir-scoped-modules@1.1.0: This functionality has been moved to @npmcli/fs npm WARN deprecated mkdirp-promise@1.1.0: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that. npm WARN deprecated json-schema-ref-parser@9.0.9: Please switch to @apidevtools/json-schema-ref-parser npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated debuglog@1.0.1: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. npm WARN deprecated json-schema-ref-parser@7.1.4: Please switch to @apidevtools/json-schema-ref-parser npm WARN deprecated xmldom@0.1.31: Deprecated due to CVE-2021-21366 resolved in 0.5.0