Home >Web Front-end >JS Tutorial >When node.js uses npm to install plug-ins, it prompts install Error: ENOENT error report_node.js

When node.js uses npm to install plug-ins, it prompts install Error: ENOENT error report_node.js

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-05-16 16:30:521458browse

When using npm install to install extension plug-ins, the system prompts "npm install Error: ENOENT, stat 'C:UsersAppDataRoamingnpm'".

In the past, the installation process was very smooth, and this situation never happened. My solution here is to directly create the directory prompted above. It should be that node.js does not have enough permissions. Please note here.

Sometimes it is like this. It may be a problem that cannot be solved for a long time. The actual solution is very simple, it is so willful! !

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn