Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unbuntu 22 install wechaty by docker get error. no such file or directory, open '/bot/package.json' #202

Open
msh01 opened this issue Jul 1, 2023 · 0 comments

Comments

@msh01
Copy link

msh01 commented Jul 1, 2023

this is my error

Starting Docker Container for Wechaty v0.65.15 with Node.js v14.17.5 ...
npm ERR! code ENOENT
npm ERR! syscall open
npm ERR! path /bot/package.json
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, open '/bot/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

my ECS is alicloud china zone.

here is my run command :

sudo docker run -it \
    --name chatsum-wechaty \
	--rm \
    -e WECHATY_LOG="verbose" \
    -e WECHATY_PUPPET \
    -e WECHATY_PUPPET_PADLOCAL_TOKEN \
    -e WECHATY_PUPPET_SERVER_PORT \
    -e WECHATY_TOKEN \
    -p "$WECHATY_PUPPET_SERVER_PORT:$WECHATY_PUPPET_SERVER_PORT" \
	--volume="$(pwd)/wechatyBot":/bot \
    wechaty/wechaty:0.65
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant