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

Error in prod: Cannot find module 'basic-auth' #1

Open
madebyfabian opened this issue Jan 25, 2023 · 0 comments
Open

Error in prod: Cannot find module 'basic-auth' #1

madebyfabian opened this issue Jan 25, 2023 · 0 comments

Comments

@madebyfabian
Copy link

madebyfabian commented Jan 25, 2023

When deploying a nuxt 3 page with this module on vercel:

2023-01-25T16:53:26.700Z	5ff53cd6-5c21-49ee-b28a-c41a3ea59660	ERROR	Cannot find module 'basic-auth'
Require stack:
- /var/task/index.js
2023-01-25T16:53:26.700Z	5ff53cd6-5c21-49ee-b28a-c41a3ea59660	ERROR	Did you forget to add it to "dependencies" in `package.json`?
RequestId: 5ff53cd6-5c21-49ee-b28a-c41a3ea59660 Error: Runtime exited with error: exit status 1
Runtime.ExitError

This persists even when I add the basic-auth into dependencies.

Env

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