A
A
adil162019-04-24 21:30:37
webstorm
adil16, 2019-04-24 21:30:37

Installing gulp in webstorm, how to install on windows?

Hello. I decided to start learning about sass, I created a package.json in the webstorm, then I wanted to install gulp, I entered the npm i gulp --save dev command in the terminal, I got the following error:

npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for [email protected]: wanted {"os":"linux","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! notsup Valid OS:    linux
npm ERR! notsup Valid Arch:  any
npm ERR! notsup Actual OS:   win32
npm ERR! notsup Actual Arch: x64

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Bogachev, 2019-04-24
@sfi0zy

You mistyped, there should be a hyphen between "save" and "dev": npm i gulp --save-dev.
Your (incorrect in this situation) command tells npm to install the dev package, which depends on the linux-only inotify package, and of course, under windows, the "this platform is not supported" error occurs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question