insomnia icon indicating copy to clipboard operation
insomnia copied to clipboard

Yarn error warning package-lock.json found

Open mtarkow3 opened this issue 3 years ago • 1 comments

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 > [email protected]: This module is no longer maintained warning npm > [email protected]: This package is deprecated and will not be receiving further updates warning npm > bin-links > [email protected]: This package is deprecated and will not be receiving further updates warning npm > gentle-fs > [email protected]: This module is no longer maintained warning npm > [email protected]: This module is no longer used. Please see @npmcli/arborist if you would like to build and reify package trees programmatically. warning npm > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 warning npm > node-gyp > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 warning npm > [email protected]: This functionality has been moved to @npmcli/fs warning npm > read-installed > [email protected]: This functionality has been moved to @npmcli/fs warning npm > [email protected]: This module is not used anymore, and has been replaced by @npmcli/package-json warning npm > libnpm > [email protected]: This module is not used anymore, and has been replaced by @npmcli/package-json warning npm > [email protected]: 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 > [email protected]: 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 > [email protected]: The functionality that this package provided is now in @npmcli/arborist warning npm > read-package-tree > [email protected]: This functionality has been moved to @npmcli/fs warning npm > [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. warning npm > read-installed > [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. warning npm > readdir-scoped-modules > [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. warning npm > libnpm > [email protected]: This module is not used anymore. npm config is parsed by npm itself and by @npmcli/config warning npm > request > [email protected]: this library is no longer supported warning npm > npm-registry-fetch > make-fetch-happen > [email protected]: 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 > [email protected]: This module is no longer maintained warning npm > [email protected]: This package is deprecated and will not be receiving further updates warning npm > bin-links > [email protected]: This package is deprecated and will not be receiving further updates warning npm > gentle-fs > [email protected]: This module is no longer maintained warning npm > [email protected]: This module is no longer used. Please see @npmcli/arborist if you would like to build and reify package trees programmatically. warning npm > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 warning npm > node-gyp > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 warning npm > [email protected]: This functionality has been moved to @npmcli/fs warning npm > read-installed > [email protected]: This functionality has been moved to @npmcli/fs warning npm > [email protected]: The functionality that this package provided is now in @npmcli/arborist warning npm > read-package-tree > [email protected]: This functionality has been moved to @npmcli/fs warning npm > [email protected]: This module is not used anymore, and has been replaced by @npmcli/package-json warning npm > libnpm > [email protected]: This module is not used anymore, and has been replaced by @npmcli/package-json warning npm > [email protected]: 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 > [email protected]: 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 > [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. warning npm > read-installed > [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. warning npm > readdir-scoped-modules > [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. warning npm > libnpm > [email protected]: This module is not used anymore. npm config is parsed by npm itself and by @npmcli/config warning npm > request > [email protected]: this library is no longer supported warning npm > npm-registry-fetch > make-fetch-happen > [email protected]: 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

mtarkow3 avatar Sep 27 '23 17:09 mtarkow3

npm WARN deprecated [email protected]: This package is no longer being maintained. npm WARN deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead npm WARN deprecated [email protected]: This functionality has been moved to @npmcli/fs npm WARN deprecated [email protected]: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that. npm WARN deprecated [email protected]: Please switch to @apidevtools/json-schema-ref-parser npm WARN deprecated [email protected]: this library is no longer supported npm WARN deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. npm WARN deprecated [email protected]: Please switch to @apidevtools/json-schema-ref-parser npm WARN deprecated [email protected]: Deprecated due to CVE-2021-21366 resolved in 0.5.0

Neiz-Kap avatar Nov 21 '23 08:11 Neiz-Kap