Код: Выделить всё
npm install express
Код: Выделить всё
npm error code EACCES
npm error syscall symlink
npm error path ../mime/cli.js
npm error dest /storage/emulated/0/PROJECTS/express-blog/node_modules/.bin/mime
npm error errno -13
npm error Error: EACCES: permission denied, symlink '../mime/cli.js' -> '/storage/emulated/0/PROJECTS/express-blog/node_modules/.bin/mime'
npm error at async symlink (node:internal/fs/promises:1001:10)
npm error at async Promise.all (index 0)
npm error at async Promise.all (index 0)
npm error at async #createBinLinks (/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:394:5)
npm error at async Promise.allSettled (index 0)
npm error at async #linkAllBins (/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:375:5)
npm error at async #build (/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:160:7)
npm error at async Arborist.rebuild (/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:62:5)
npm error at async [reifyPackages] (/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:325:11)
npm error at async Arborist.reify (/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:142:5) {
npm error errno: -13,
npm error code: 'EACCES',
npm error syscall: 'symlink',
npm error path: '../mime/cli.js',
npm error dest: '/storage/emulated/0/PROJECTS/express-blog/node_modules/.bin/mime'
npm error }
npm error
npm error The operation was rejected by your operating system.
npm error It is likely you do not have the permissions to access this file as the current user
npm error
npm error If you believe this might be a permissions issue, please double-check the npm error permissions of the file and its containing directories, or try running
npm error the command again as root/Administrator.
Пожалуйста, помогите!Я попробовал установить Express на termux, но выдал ошибку.
Ошибка Npm. Эта операция была отклонена вашей операционной системой.
Несмотря на то, что я установил другие модули, используя тот же процесс
Подробнее здесь: https://stackoverflow.com/questions/790 ... -on-termux