0
votes

When I tried to install Browsersync by this way:

npm -i browser-sync --save-dev

I get some errors:

D:\projekt>npm install --save-dev browser-sync

npm WARN deprecated [email protected]: use uuid module instead [email protected] D:\projekt `-- [email protected]

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

npm WARN [email protected] No repository field.

What is the problem?

1

1 Answers

1
votes

They are only warnings:

npm WARN deprecated [email protected]: use uuid module instead [email protected] D:\projekt `-- [email protected]

A deprecated module which is used by Browsersync.


npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

You are using Windows operating system instead of OSX, and it does not support fsevents package.


npm WARN [email protected] No repository field.

You have not yet set Git repository URL of your project in package.json file. For example:

{
  "repository": {
    "type": "git",
    "url": "git+https://github.com/user/project"
  }
}