Hello, nice to meet you.
We are currently creating an environment to start development with React.
Installing webpack at npm depends on the version.
I'd like to use the latest [email protected],
When I try to install it, I see the following:
webpack 4.8.3 =>UNMET PEER [email protected]
Now that the above is out,
When I try to install [email protected], I see the following:
ajv6.5.0 =>UNMET PEER DEPENDENCY [email protected]
# It seems to be circulating.
As I couldn't help it, I added [email protected].
for example, browser-sync and react-hot-loader.
When I try to put in a nearby library, I get a dependency error like the one above.
It often appears, but
What do you do during development?
# If you decide on the version and put it in at once, you will not be able to do anything like the above
It may not happen, but I don't think that would fit the current development.
When using the latest version of webpack,
Each library may not support the latest version of webpack, so
I think it is necessary to reduce the webpack version until it is compatible.
Also, it may happen if you do not match the node version, so you need to be careful.
Each library is upgraded every time, so
As soon as we can support the latest version of webpack, we will need to adjust it every time.
However, webpack etc. are upgraded daily, so
Personally, when I start a project, I think it would be better to start making a stable version.
© 2024 OneMinuteCode. All rights reserved.