Я создаю новое приложение laravel «v.6» и использую auth, я уже загружаю composer require laravel/ui --dev
, но когда я пишу вторую команду, которая является php artisan ui bootstrap--auth
, она показывает мне, что я установил «npm установить & npm запустить dev», но npm не установил, показывает мне ошибку
> npm install && npm run dev
npm WARN deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
npm WARN tarball tarball data for postcss-selector-parser@3.1.2 (sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA==) seems to be corrupted. Trying one more time.
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\moazalnoori\Desktop\Projects\WEB\My Projects\Laravel\tf\node_modules\.staging\es-abstract-beb6f7f8\2016\ArraySetLength.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\moazalnoori\Desktop\Projects\WEB\My Projects\Laravel\tf\node_modules\.staging\es-abstract-beb6f7f8\2017\ArraySetLength.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\moazalnoori\Desktop\Projects\WEB\My Projects\Laravel\tf\node_modules\.staging\es-abstract-beb6f7f8\2018\ArraySetLength.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\moazalnoori\Desktop\Projects\WEB\My Projects\Laravel\tf\node_modules\.staging\es-abstract-beb6f7f8\2019\ArraySetLength.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\moazalnoori\Desktop\Projects\WEB\My Projects\Laravel\tf\node_modules\.staging\es-abstract-beb6f7f8\2015\ArraySpeciesCreate.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\moazalnoori\Desktop\Projects\WEB\My Projects\Laravel\tf\node_modules\.staging\es-abstract-beb6f7f8\2016\ArraySpeciesCreate.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\moazalnoori\Desktop\Projects\WEB\My Projects\Laravel\tf\node_modules\.staging\es-abstract-beb6f7f8\2017\ArraySpeciesCreate.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\moazalnoori\Desktop\Projects\WEB\My Projects\Laravel\tf\node_modules\.staging\es-abstract-beb6f7f8\2018\ArraySpeciesCreate.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\moazalnoori\Desktop\Projects\WEB\My Projects\Laravel\tf\node_modules\.staging\es-abstract-beb6f7f8\2019\ArraySpeciesCreate.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\moazalnoori\Desktop\Projects\WEB\My Projects\Laravel\tf\node_modules\.staging\postcss-a499c88e\docs\guidelines\plugin.md'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\moazalnoori\Desktop\Projects\WEB\My Projects\Laravel\tf\node_modules\.staging\postcss-a499c88e\docs\guidelines\runner.md'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\moazalnoori\Desktop\Projects\WEB\My Projects\Laravel\tf\node_modules\.staging\postcss-a499c88e\docs\source-maps.md'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\moazalnoori\Desktop\Projects\WEB\My Projects\Laravel\tf\node_modules\.staging\postcss-a499c88e\docs\syntax.md'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\moazalnoori\Desktop\Projects\WEB\My Projects\Laravel\tf\node_modules\.staging\@babel\types-bbda9182\lib\builders\generated\index.js'
npm ERR! code EPERM
npm ERR! syscall unlink
npm ERR! path C:\Users\moazalnoori\Desktop\Projects\WEB\My Projects\Laravel\tf\node_modules\.staging\postcss-selector-parser-d8a16b9a\LICENSE-MIT
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, unlink 'C:\Users\moazalnoori\Desktop\Projects\WEB\My Projects\Laravel\tf\node_modules\.staging\postcss-selector-parser-d8a16b9a\LICENSE-MIT'
npm ERR! [OperationalError: EPERM: operation not permitted, unlink 'C:\Users\moazalnoori\Desktop\Projects\WEB\My Projects\Laravel\tf\node_modules\.staging\postcss-selector-parser-d8a16b9a\LICENSE-MIT'] {
npm ERR! cause: [Error: EPERM: operation not permitted, unlink 'C:\Users\moazalnoori\Desktop\Projects\WEB\My Projects\Laravel\tf\node_modules\.staging\postcss-selector-parser-d8a16b9a\LICENSE-MIT'] {
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'unlink',
npm ERR! path: 'C:\\Users\\moazalnoori\\Desktop\\Projects\\WEB\\My Projects\\Laravel\\tf\\node_modules\\.staging\\postcss-selector-parser-d8a16b9a\\LICENSE-MIT'
npm ERR! },
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'unlink',
npm ERR! path: 'C:\\Users\\moazalnoori\\Desktop\\Projects\\WEB\\My Projects\\Laravel\\tf\\node_modules\\.staging\\postcss-selector-parser-d8a16b9a\\LICENSE-MIT',
npm ERR! parent: 'postcss-merge-rules'
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 WARN tar ENOENT: no such file or directory, open 'C:\Users\moazalnoori\Desktop\Projects\WEB\My Projects\Laravel\tf\node_modules\.staging\postcss-493da05b\docs\api\assets\scripts.min.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\moazalnoori\Desktop\Projects\WEB\My Projects\Laravel\tf\node_modules\.staging\terser-b74bbca3\tools\colorless-console.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\moazalnoori\Desktop\Projects\WEB\My Projects\Laravel\tf\node_modules\.staging\terser-b74bbca3\tools\domprops.js'
npm WARN tar ENOENT: no such file or directory, open 'C:\Users\moazalnoori\Desktop\Projects\WEB\My Projects\Laravel\tf\node_modules\.staging\postcss-c717aaf4\docs\api\assets\scripts.min.js'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\moazalnoori\AppData\Roaming\npm-cache\_logs\2020-05-28T10_47_15_308Z-debug.log
Итак, как это исправить?