svgr icon indicating copy to clipboard operation
svgr copied to clipboard

"@svgr/plugin-svgo" and "@svgr/webpack" seems to be incompatible with "node v20.x".

Open stein2nd opened this issue 1 year ago • 0 comments

🐛 Bug Report

I report that I ran "npm install @svgr/plugin-svgo @svgr/webpack --save-dev" and got the following WARN.:

npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '@es-joy/[email protected]', npm WARN EBADENGINE required: { node: '^14 || ^16 || ^17 || ^18 || ^19' }, npm WARN EBADENGINE current: { node: 'v20.5.0', npm: '9.8.0' } npm WARN EBADENGINE }

npm WARN EBADENGINE Unsupported engine { npm WARN EBADENGINE package: '[email protected]', npm WARN EBADENGINE required: { node: '^14 || ^16 || ^17 || ^18 || ^19' }, npm WARN EBADENGINE current: { node: 'v20.5.0', npm: '9.8.0' } npm WARN EBADENGINE }

When I ran "npm install -D eslint eslint-plugin-jsdoc @es-joy/jsdoccomment" individually, no warn showed up.

eslint-plugin-jsdoc: 46.4.5 @es-joy/jsdoccomment: 0.39.4

To Reproduce

Using Terminal, run "npm install -D @svgr/plugin-svgo @svgr/webpack".

Expected behavior

Link to repl or repo (highly encouraged)

Run npx envinfo --system --binaries --npmPackages @svgr/webpack --markdown --clipboard

System:

  • OS: macOS 13.5
  • CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
  • Memory: 317.07 MB / 32.00 GB
  • Shell: 3.2.57 - /bin/bash

Binaries:

  • Node: 20.5.0 - ~/.nodebrew/current/bin/node
  • Yarn: 1.22.19 - /usr/local/bin/yarn
  • npm: 9.8.0 - ~/.nodebrew/current/bin/npm

npmPackages:

  • @svgr/webpack: ^8.0.1 => 8.0.1

stein2nd avatar Aug 02 '23 04:08 stein2nd