We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I followed the tutorial exactly:
yarn add netlify-lambda
[build] functions = "functions"
src/hello.js
exports.handler = function(event, context, callback) { callback(null, { statusCode: 200, body: "Hello, World" }); }
netlify-lambda serve src
Unhandled rejection Error: Cannot find module '<redacted>/functions/hello'
Am I missing something here?
The text was updated successfully, but these errors were encountered:
FYI babel-core was installed, but it was the wrong version. I had to install babel-core separately:
yarn add @babel/core@^7.0.0
Sorry, something went wrong.
I think this was probably caused by #20
deploy says babel/core is necessary netlify/netlify-lambda#17
b1a5645
No branches or pull requests
I followed the tutorial exactly:
yarn add netlify-lambda
in a new directorysrc/hello.js
with the contents:netlify-lambda serve src
and got:Am I missing something here?
The text was updated successfully, but these errors were encountered: