Проблема при установке экспресса на termuxAndroid

Форум для тех, кто программирует под Android
Ответить Пред. темаСлед. тема
Anonymous
 Проблема при установке экспресса на termux

Сообщение Anonymous »

Я попробовал установить экспресс с помощью termux,

Код: Выделить всё

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.
Я также установил другие модули, такие как mongoose, body-parser и nodemon, но проблем не было.
Пожалуйста, помогите!Я попробовал установить Express на termux, но выдал ошибку.
Ошибка Npm. Эта операция была отклонена вашей операционной системой.
Несмотря на то, что я установил другие модули, используя тот же процесс

Подробнее здесь: https://stackoverflow.com/questions/790 ... -on-termux
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «Android»