这是我的第一个实际问题帖子。 (如果我做错了事,请不要攻击我。)
我有节点5.6.0。
我已经下载了JS网络应用进行作业。但是,由于无法克服以下错误,因此我无法真正完成分配工作:
S:\PersonalCloud\jennylynneh\web development\code-academy\projects\project-2-beat-mix>npm install
npm WARN rollback Rolling back minimist@1.2.0 failed (this is probably harmless): EPERM: operation not permitted, lstat 'S:\PersonalCloud\jennylynneh\web development\code-academy\projects\project-2-beat-mix\node_modules\fsevents\node_modules\rc'
npm WARN build-apis-beat-mix@1.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: rc@1.2.7 (node_modules\fsevents\node_modules\rc):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: EEXIST: file already exists, rename 'S:\PersonalCloud\jennylynneh\web development\code-academy\projects\project-2-beat-mix\node_modules\fsevents\node_modules\.rc.DELETE\node_modules\minimist' -> 'S:\PersonalCloud\jennylynneh\web development\code-academy\projects\project-2-beat-mix\node_modules\fsevents\node_modules\rc\node_modules\minimist'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: File exists: S:\PersonalCloud\jennylynneh\web development\code-academy\projects\project-2-beat-mix\node_modules\fsevents\node_modules\.rc.DELETE\node_modules\minimist
npm ERR! path S:\PersonalCloud\jennylynneh\web development\code-academy\projects\project-2-beat-mix\node_modules\.is-accessor-descriptor.DELETE\node_modules\kind-of
npm ERR! code EEXIST
npm ERR! errno -4075
npm ERR! syscall rename
npm ERR! EEXIST: file already exists, rename 'S:\PersonalCloud\jennylynneh\web development\code-academy\projects\project-2-beat-mix\node_modules\.is-accessor-descriptor.DELETE\node_modules\kind-of' -> 'S:\PersonalCloud\jennylynneh\web development\code-academy\projects\project-2-beat-mix\node_modules\is-accessor-descriptor\node_modules\kind-of'
npm ERR! File exists: S:\PersonalCloud\jennylynneh\web development\code-academy\projects\project-2-beat-mix\node_modules\.is-accessor-descriptor.DELETE\node_modules\kind-of
npm ERR! Move it away, and try again.`
我已经看过,但是找不到与这些错误有关的任何隐藏文件或文件夹。以下是我为解决此问题所做的工作清单:
npm install
。npm install
。对于无效的参数“ read”,这导致了另一个错误。npm install
。npm cache clean --force
,然后再次运行npm install
。本部分应该用时不到2分钟,但是现在我花了3个小时以上。我只是不知道该怎么办。有人有建议吗?
在此先感谢您的回答。 :)
Jen