Scrap2312
Scrap2312

Reputation: 23

While installing npm live-server, I got an error

Error:

npm WARN deprecated [email protected]: The package has been renamed to `open`
C:\Users\Owner\AppData\Roaming\npm\live-server -> C:\Users\Owner\AppData\Roaming\npm\node_modules\live-server\live-server.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\live-server\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

+ [email protected]
updated 1 package in 43.192s

Upvotes: 1

Views: 1383

Answers (1)

Mickael B.
Mickael B.

Reputation: 5215

This is not an error, this is a warning.

Your packages has been installed successfully.

The warning is about the opn dependency of live-server you can see it in the official repository's package.json under the dependencies key. NPM simply states that this dependency has been renamed but npm took care of it.

An issue and a pull request are open for this problem on the offical repository and the only one who can fix this is the maintainer of the repository.

Upvotes: 3

Related Questions