Skip to content
Back

How to install private npm package in functions?

  • 0
  • Self Hosted
  • Functions
elnur
16 Oct, 2024, 16:20

I don't see any guides or similar as to how to achieve it. I tried adding the .npmrc file to the function source but that didn't work.

npm error 404 Not Found - GET https://registry.npmjs.org/@org/package/-/pkg-1.0.0.tgz - Not found

TL;DR
Install private npm packages in functions by configuring the .npmrc file correctly - this may resolve the 404 Not Found error.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more