Я пытаюсь установить реакцию в моем проекте, но npm не установит его.
- Я попытался очистить кэш
- Я попытался использовать sudo
- Я переустановил node / npm
- Я попытался удалить все файлы, кроме package.json, после этого я запустил установку npm, и она отлично работала для начальной загрузки jquery и popper.js, которые были в моем package.json, затем я попыталсяУстановка npm реагирует, но выдает ошибку EPERM, после этого я попытался установить animate.css, и он работает нормально, но реакция не установит
package.json:
{
"name": "shield-of-faith-baptist",
"version": "1.0.0",
"description": "The Npm Components for Shield of Faith Baptist's website",
"author": "Zachiah",
"license": "ISC",
"dependencies": {
"animate.css": "^3.7.2",
"bootstrap": "^4.3.1",
"jquery": "^3.4.1",
"popper.js": "^1.15.0"
}
}
Iожидал, что он установит реакцию, но выдал эту ошибку:
npm ERR! path ../loose-envify/cli.js
npm ERR! code EPERM
npm ERR! errno -1
npm ERR! syscall symlink
npm ERR! Error: EPERM: operation not permitted, symlink '../loose-envify/cli.js' -> '/media/pi/209B-7E54/Documents/Programming/Websites/Shield_of_Faith_Baptist/components/node_modules/.bin/loose-envify'
npm ERR! [OperationalError: EPERM: operation not permitted, symlink '../loose-envify/cli.js' -> '/media/pi/209B-7E54/Documents/Programming/Websites/Shield_of_Faith_Baptist/components/node_modules/.bin/loose-envify'] {
npm ERR! cause: [Error: EPERM: operation not permitted, symlink '../loose-envify/cli.js' -> '/media/pi/209B-7E54/Documents/Programming/Websites/Shield_of_Faith_Baptist/components/node_modules/.bin/loose-envify'] {
npm ERR! errno: -1,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'symlink',
npm ERR! path: '../loose-envify/cli.js',
npm ERR! dest: '/media/pi/209B-7E54/Documents/Programming/Websites/Shield_of_Faith_Baptist/components/node_modules/.bin/loose-envify'
npm ERR! },
npm ERR! stack: 'Error: EPERM: operation not permitted, symlink ' +
npm ERR! "'../loose-envify/cli.js' -> " +
npm ERR! "'/media/pi/209B-7E54/Documents/Programming/Websites/Shield_of_Faith_Baptist/components/node_modules/.bin/loose-envify'",
npm ERR! errno: -1,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'symlink',
npm ERR! path: '../loose-envify/cli.js',
npm ERR! dest: '/media/pi/209B-7E54/Documents/Programming/Websites/Shield_of_Faith_Baptist/components/node_modules/.bin/loose-envify',
npm ERR! parent: 'components'
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 (though this is not recommended).
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2019-06-26T02_23_57_388Z-debug.log