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, Code: FUNCTION_INVOCATION_FAILED #3

Open
ryokryok opened this issue May 22, 2023 · 0 comments
Open

error, Code: FUNCTION_INVOCATION_FAILED #3

ryokryok opened this issue May 22, 2023 · 0 comments

Comments

@ryokryok
Copy link

I ran this repo locally and got an error. (This Serverless Function has crashed.)

➜  vanilla-vercel-functions git:(main) ✗ pnpm start

> vanilla-vercel-functions@ start /Users/mrozin/Develop/nodejs/vanilla-vercel-functions
> vercel dev

Vercel CLI 29.3.6
> Ready! Available at http://localhost:3000
Cannot use import statement outside a module

I added "type": "module" to package.json, and this problem is resolved.

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