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

npm ERR! Could not install...[directus-extension-linkmeta/endpoint]...as it does not contain a package.json file. #2

Closed
daltonsutton opened this issue Jul 20, 2022 · 3 comments

Comments

@daltonsutton
Copy link

daltonsutton commented Jul 20, 2022

Trying to install this on a Directus Digital Ocean droplet and I'm getting this error:
SCR-20220720-ek2

Seeing this in the logs:
SCR-20220720-em6

Works great when I install on localhost, just not sure why this isn't working on a droplet.

@dimitrov-adrian
Copy link
Owner

I think this happens because the issue with the local dependencies with npm@6. I will try to dig on it, but for now it seems the requirement is NPM >= 7

@dimitrov-adrian
Copy link
Owner

Update: It's really because the NPM@6 (related issue npm/cli#1414)

@daltonsutton is it possible to use npm 7?

@daltonsutton
Copy link
Author

Sorry for the delay in getting back to you. Just tried this out and that's exactly what it was! Totally missed that. Thanks for pointing me in the right direction!

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