Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
209 views
in Technique[技术] by (71.8m points)

node.js - Unable to instal and setup react navigation

I'm trying to install react navigator in order to navigate through screens, but when I tried the command

npm install @react-navigation/native

this was the output:

npm ERR! code EPERM
npm ERR! syscall rename
npm ERR! path C:UsersUserinstagram
ode_modulescode-point-at
npm ERR! dest C:UsersUserinstagram
ode_modules.code-point-at-QDMSrkUg
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, rename 'C:UsersUserinstagram
ode_modulescode-point-at' -> 'C:UsersUserinstagram
ode_modules.code-point-at-QDMSrkUg'
npm ERR!  [Error: EPERM: operation not permitted, rename 'C:UsersUserinstagram
ode_modulescode-point-at' -> 'C:UsersUserinstagram
ode_modules.code-point-at-QDMSrkUg'] {
npm ERR!   errno: -4048,
npm ERR!   code: 'EPERM',
npm ERR!   syscall: 'rename',
npm ERR!   path: 'C:\Users\User\instagram\node_modules\code-point-at',
npm ERR!   dest: 'C:\Users\User\instagram\node_modules\.code-point-at-QDMSrkUg'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a text editor or antivirus),
npm ERR! or that you lack permissions to access it.
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:UsersUserAppDataLocal
pm-cache\_logs2021-01-10T07_24_50_912Z-debug.log```
question from:https://stackoverflow.com/questions/65651042/unable-to-instal-and-setup-react-navigation

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...