![](/img/trans.png)
[英]An error with starting a dev server for React app using npm-start
[英]Error while running npm-start in react js. Tried installing sass but still not working
npm ERR! code EACCES
npm ERR! syscall rmdir
npm ERR! path /home/vishu/Downloads/React-JS-BookList-master/booklist/node_modules/.node-sass.DELETE/vendor/linux-x64-88
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, rmdir '/home/vishu/Downloads/React-JS-BookList-master/booklist/node_modules/.node-sass.DELETE/vendor/linux-x64-88'
npm ERR! [OperationalError: EACCES: permission denied, rmdir '/home/vishu/Downloads/React-JS-BookList-master/booklist/node_modules/.node-sass.DELETE/vendor/linux-x64-88'] {
npm ERR! cause: [Error: EACCES: permission denied, rmdir '/home/vishu/Downloads/React-JS-BookList-master/booklist/node_modules/.node-sass.DELETE/vendor/linux-x64-88'] {
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'rmdir',
npm ERR! path: '/home/vishu/Downloads/React-JS-BookList-master/booklist/node_modules/.node-sass.DELETE/vendor/linux-x64-88'
npm ERR! },
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'rmdir',
npm ERR! path: '/home/vishu/Downloads/React-JS-BookList-master/booklist/node_modules/.node-sass.DELETE/vendor/linux-x64-88',
npm ERR! parent: 'booklist'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
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! /home/vishu/.npm/_logs/2021-01-19T17_52_06_142Z-debug.log
這是一個權限問題。 要么授予您當前用戶對列出的文件夾的訪問權限,要么嘗試將其作為 sudo 運行。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.