skip to Main Content

i have this error during the installation of tailwind installation with react
the error is this :

npm i tailwind postcss autoprefixer
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '[email protected]',
npm WARN EBADENGINE   required: { node: '>=0.8 <=9' },
npm WARN EBADENGINE   current: { node: 'v18.16.1', npm: '9.8.0' }
npm WARN EBADENGINE }
npm WARN deprecated [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.
npm WARN deprecated [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

added 153 packages, and audited 395 packages in 14s

88 packages are looking for funding
  run `npm fund` for details

14 vulnerabilities (6 moderate, 7 high, 1 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.


Run `npm audit` for details

please help if you any idea.
thanks in advance

2

Answers


  1. First of all, you need to install NVM to install and switch to a different node version that meets the requirements.

    To install this tool, you can go to the nvm-windows github repo and download the zip-file containing the installation wizard. And then you can install.

    And then you need to open a new terminal and run nvm -v to check that NVM is installed correctly. You should see the NVM version number.

    You can install Node 9 using NVM by running nvm install 9. This will download and install Node 9 on your device.

    And then you can switch to Node 9 using NVM by running nvm use 9. This will make Node 9 the active version for your current terminal session.

    Finally, You can try npm i tailwind postcss autoprefixer. This will install these packages in your project folder.

    Login or Signup to reply.
  2. Tailwind hasn’t been updated in the last four years, and it relies on the amqplib library version 0.5.2, which hasn’t been updated in the last six years. Considering the lack of recent updates/

    it is recommended to explore alternative solutions.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search