M
M
Mega Sinyak2020-08-21 14:54:06
npm
Mega Sinyak, 2020-08-21 14:54:06

What are the warnings?

The developers of PhpStorm in the latest releases abandoned automatic minification using YUI Compressor and suggested using other packages, I put:

C:\Users\Lenovo>npm i -g csso-cli uglify-js
C:\Users\Lenovo\AppData\Roaming\npm\csso -> C:\Users\Lenovo\AppData\Roaming\npm\node_modules\csso-cli\bin\csso
C:\Users\Lenovo\AppData\Roaming\npm\uglifyjs -> C:\Users\Lenovo\AppData\Roaming\npm\node_modules\uglify-js\bin\uglifyjs
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules\csso-cli\node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

+ uglify-js@3.10.1
+ csso-cli@3.0.0
added 28 packages from 58 contributors in 7.615s

C:\Users\Lenovo>

What are two warnings?
Do you need to fix something?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aetae, 2020-08-21
@mega-sinyak

No. You don't have to do anything. This is an optional dependency on fsevents (file watcher for linux), so you don't need it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question