Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

hadis's avatar
Level 1

Gulp installation error source-map-resolve

I am pretty new to using terminal and installing gulp.while installing it has error. I am using windows10 this is the error:

$ npm install gulp-cli -g npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated

github links recomends me to install source-map-resolve but It has an error too!

$ npm install source-map-resolve npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\peyvand\package.json' npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\peyvand\package.json' npm WARN peyvand No description npm WARN peyvand No repository field. npm WARN peyvand No README data npm WARN peyvand No license field. [email protected] updated 1 package and audited 6 packages in 2.104s found 0 vulnerabilities

can anyone help me to install gulp?

0 likes
1 reply
bobbybouwmann's avatar
Level 88

You run npm install in a directory that doesn't have package.json file.

If you want to install it you either have to go to the directory of your project or install it globally

npm install source-map-resolve -g 

However, the message is not an error. It's a warning. Basically it says that gulp-cli is using a dependency that is deprecated. You don't have to worry about anything here ;)

1 like

Please or to participate in this conversation.