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

Cannot find module date-fns #629

Open
raDiesle opened this issue Sep 3, 2024 · 0 comments
Open

Cannot find module date-fns #629

raDiesle opened this issue Sep 3, 2024 · 0 comments

Comments

@raDiesle
Copy link

raDiesle commented Sep 3, 2024

Using "firebase-functions": "^5.0.1" it works on local machine, but not on remote, using npm-shrinkwrap.json mechanism

DEFAULT 2024-09-03T10:20:33.517498Z Provided module can't be loaded.
DEFAULT 2024-09-03T10:20:33.517537Z Did you list all required modules in the package.json dependencies?
DEFAULT 2024-09-03T10:20:33.517564Z Detailed stack trace: Error: Cannot find module 'date-fns'
DEFAULT 2024-09-03T10:20:33.517569Z Require stack:
DEFAULT 2024-09-03T10:20:33.517573Z - /workspace/index.js
DEFAULT 2024-09-03T10:20:33.517578Z - /workspace/node_modules/@google-cloud/functions-framework/build/src/loader.js

Is it expected to separately install date-fns in my dependencies ?

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