Im trying to install Webpack but it keeps giving me the same warning over and over and still webpack it's not installed in my project . It is an exiting project that im working with. I tried so many commands like
npm install --no-optional
npm install --global webpack
npm install --save-dev webpack
npm install i -g --save-dev webpack webpack-dev-server
npm i -D webpack
yarn add webpack --dev
I tried deleting the node_modules on my project and installing them again but it still gives me the same warning
SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
and the webpack is not installed.