Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Using npm to install blink-diff Times error

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

When you finish installing nodejs and npm, you will report the following error when you start installing blink-diff.

Npm config set prefix "C:\ Program Files\ nodejs\ node_global"

When blink-diff

Npm WARN saveError ENOENT: no such file or directory, open'C:\ Program Files\ nod

Ejs\ package.json'

Npm notice created a lockfile as package-lock.json. You should commit this file.

Npm WARN enoent ENOENT: no such file or directory, open'C:\ Program Files\ nodejs

\ package.json'

Npm WARN nodejs No description

Npm WARN nodejs No repository field.

Npm WARN nodejs No README data

Npm WARN nodejs No license field.

+ blink-diff@1.0.13

Added 27 packages, removed 428 packages and moved 48 packages in 36.884s

Obviously, there is no problem when checking npm-v. But an error was reported as soon as the blink-diff tool was installed.

Because npm is installed in the default directory, there may be no global installation, and some configurations do not support it.

Solution:

When installing the blink-diff tool, add the parameters of the global variable to the successful installation.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report