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

AppleDouble error #12

Closed
gazzmanzx6 opened this issue Mar 3, 2019 · 5 comments
Closed

AppleDouble error #12

gazzmanzx6 opened this issue Mar 3, 2019 · 5 comments

Comments

@gazzmanzx6
Copy link

Hi,

I am getting the following error in Raspbian Stretch when I run npm commands after installing TuyaAPI/cli.

npm ERR! code E404
npm ERR! 404 Not found : @tuyapi/.AppleDouble
npm ERR! 404
npm ERR! 404 '@tuyapi/.AppleDouble' is not in the npm registry.
npm ERR! 404 Your package name is not valid, because
npm ERR! 404 1. name can no longer contain capital letters
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

The error goes if I remove TuyaApi/cli.

Any ideas what might be wrong?

Thanks.

@codetheweb
Copy link
Member

That's a pretty strange error; what command are you running to install the CLI?

@gazzmanzx6
Copy link
Author

gazzmanzx6 commented Mar 3, 2019 via email

@codetheweb
Copy link
Member

What happens if you make a new directory somewhere on your machine and try installing locally with npm i @tuyapi/cli (without the -g flag)?

@gazzmanzx6
Copy link
Author

I tried installing locally but I can't get it run at all.I get command not found error.
I'm not in any way an expert with npm so have probably done something wrong.

@codetheweb
Copy link
Member

Try prefixing with npx when using a local install. For example: npx tuya-cli --help.

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

2 participants