Not installed
I write npm install mineflayer
And I get an error
Error: https://pastebin.com/uZi8DRxH Log: https://pastebin.com/1nhEJmDC
Node version: v9.6.6 Npm version: v20.2.0
What is nearley? Try removing it
On Sun, Oct 29, 2023, 14:58 dom1k @.***> wrote:
I write npm install mineflayer And I get an error
Error: https://pastebin.com/uZi8DRxH Log: https://pastebin.com/1nhEJmDC
Node version: v9.6.6 Npm version: v20.2.0
— Reply to this email directly, view it on GitHub https://github.com/PrismarineJS/mineflayer/issues/3217, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR437W5KPK6HJWDGIUMQW3YBX5B7AVCNFSM6AAAAAA6UUIYRGVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3DMOBWHE4TMOA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
@rom1504 Does not work
Provide more info
On Tue, Oct 31, 2023, 08:14 dom1k @.***> wrote:
Does not work
— Reply to this email directly, view it on GitHub https://github.com/PrismarineJS/mineflayer/issues/3217#issuecomment-1786239812, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAR437SOVY2Q2HUN53KLCBLYCA7GNAVCNFSM6AAAAAA6UUIYRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBWGIZTSOBRGI . You are receiving this because you commented.Message ID: @.***>
@rom1504 Which?
npm ERR! Error: EACCES: permission denied, symlink '../nearley/bin/nearleyc.js' -> '/storage/emulated/0/!Files/projects/mcbot/node_modules/.bin/nearleyc'
npm ERR! [Error: EACCES: permission denied, symlink '../nearley/bin/nearleyc.js' -> '/storage/emulated/0/!Files/projects/mcbot/node_modules/.bin/nearleyc'] {
your linux account seems to not have the right to write or create symlink.
I believe nearly is used by the mojangson parser. It's possible they have some install script that's causing the install to fail, seems like your npm command isn't being run with correct perms. You'd have to fix the environment or use a different one to fix this issue
Actually, looking at https://github.com/kach/nearley/blob/master/package.json, there is no install script. It's just a bin script they have. Your issue is with npm not being able to install the bin scripts on npm install, so the npm is broken. Either run with sudo, fix file system perms or try installing from somewhere where you do have fs perms