✅ – Sorrow – 21-19 Jan 29

Hi, npm-related, why am is this error being thrown? I can read, but I can't make any sense
ScriptyChris
ScriptyChris474d ago
I would deduce your projects has React v18.2 and it needs some library, which needs React v16.3, which causes conflicts. I think you should update react-typed package, so it will be in sync with React v18.2
Sorrow
Sorrow474d ago
Correct It's react 18.2 I'm not sure about updating though This pops up whenever I try to install react-typed I had to use --force to get it installed
ScriptyChris
ScriptyChris474d ago
Maybe try npm update react-typed
ScriptyChris
ScriptyChris474d ago
Also, this package is already 3 years old, so... React 16 may be the highest it can possibly be synced with https://www.npmjs.com/package/react-typed?activeTab=versions
npm
react-typed
A react wrapper for typed.js. Latest version: 1.2.0, last published: 3 years ago. Start using react-typed in your project by running npm i react-typed. There are 28 other projects in the npm registry using react-typed.
ScriptyChris
ScriptyChris474d ago
If your project has mostly React 16 deps, then maybe you should downgrade React from 18 to 16 or... get rid of outdated dependencies (update them or switch to alternatives)
Sorrow
Sorrow474d ago
Ah I see So basically my terminal throws that warning whenever I'm trying to install outdated packages? *In respect to ReactJS
ScriptyChris
ScriptyChris474d ago
It's not warning, but error, which is worse 😛 And force installation in this case doesn't guarantee stuff to work - as last line of the error says
Sorrow
Sorrow474d ago
Ah I see ok ty!
Unknown User
Unknown User473d ago
Message Not Public
Sign In & Join Server To View