You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
We're using "swagger-ui-express": "4.1.6" with "express": "^5.0.0-alpha.8". It works fine for node 14 and npm 6, but after upgrade to node 16 and npm 7 we have caught the error:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving:
npm ERR! Found: express@5.0.0-alpha.8
npm ERR! node_modules/express
npm ERR! express@"^5.0.0-alpha.8" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer express@">=4.0.0" from swagger-ui-express@4.1.6
npm ERR! node_modules/swagger-ui-express
npm ERR! swagger-ui-express@"^4.1.6" from the root project
Can you add express 5 to peerDependencies also?
Thank you!
The text was updated successfully, but these errors were encountered:
Hi @scottie1984 maybe you can remove express from peerDependencies in the next major release? Users can add express to package.json by themselves. Thank you!
Hi,
We're using "swagger-ui-express": "4.1.6" with "express": "^5.0.0-alpha.8". It works fine for node 14 and npm 6, but after upgrade to node 16 and npm 7 we have caught the error:
Can you add express 5 to peerDependencies also?
Thank you!
The text was updated successfully, but these errors were encountered: