как установить npm sanitize - PullRequest
0 голосов
/ 29 ноября 2018

Я изучаю 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, но он не работает, пожалуйста, помогите мне решить эту проблему.

...