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

Netlify Function is throwing cannot find the dependencies #30

Closed
indcoder opened this issue Oct 16, 2020 · 0 comments
Closed

Netlify Function is throwing cannot find the dependencies #30

indcoder opened this issue Oct 16, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@indcoder
Copy link

The Netlify function cannot be reached on the production

image

The error is because it cannot find the dev packages

{errorType: "Runtime.ImportModuleError",…}
errorMessage: "Error: Cannot find module 'phin'↵Require stack:↵- /var/task/ga.js↵- /var/runtime/UserFunction.js↵- /var/runtime/index.js"
errorType: "Runtime.ImportModuleError"
trace: ["Runtime.ImportModuleError: Error: Cannot find module 'phin'", "Require stack:", "- /var/task/ga.js",…]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant