我正在学习node.js,并尝试安装npm sanitize,但是它不起作用。 安装代码和错误如下
C:\Users\Stephen Lee\Desktop\nodejs>npm install -S sanitize-html
npm WARN nodejs@1.0.0 No description
npm WARN nodejs@1.0.0 No repository field.
npm ERR! path C:\Users\Stephen Lee\Desktop\nodejs\node_modules\domutils
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 'C:\Users\Stephen Lee\Desktop\nodejs\node_modules\domutils' -> 'C:\Users\Stephen Lee\Desktop\nodejs\node_modules\.domutils.DELETE'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Stephen Lee\AppData\Roaming\npm-cache\_logs\2018-11-28T10_13_00_967Z-debug.log
尽管我做了npm init
来创建json文件,但是没有用
请帮助我解决此问题。