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 . (我正在尝试安装Webpack,但它不断给我同样的警告,但仍然没有在我的项目中安装webpack。) It is an exiting project that im working with. (这是一个正在与我合作的退出项目。) I tried so many commands like (我尝试了很多命令)
npm install --no-optional (npm install-无可选)
npm install --global webpack (npm install --global webpack)
npm install --save-dev webpack (npm install --save-dev Webpack)
npm install i -g --save-dev webpack webpack-dev-server (npm install i -g --save-dev webpack webpack-dev-server)
npm i -D webpack (npm i -D Webpack)
yarn add webpack --dev (纱线添加webpack --dev)
I tried deleting the node_modules on my project and installing them again but it still gives me the same warning (我尝试删除项目上的node_modules并再次安装它们,但仍然会给我同样的警告)
SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) (跳过可选的依赖关系:[email protected]不受支持的平台:通缉{“ os”:“ darwin”,“ arch”:“ any”}(当前:{“ os”:“ win32”,“ arch”:“ x64” }))
and the webpack is not installed. (并且未安装webpack。)
ask by E.Lahu translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…