Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
swyxio authored Aug 15, 2019
1 parent 37de6d0 commit 77a5836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ netlify-lambda install

This is what you should do if you are just using Netlify Dev without `netlify-lambda`.

> 💁Check [this commit](https://github.com/sw-yx/gatsby-netlify-form-example-v2/commit/a9d803af3435268e77a045424c0e1250c4d62a38#diff-b9cfc7f2cdf78a7f4b91a753d10865a2) for an example of how to add `netlify-lambda install` in just two lines to fix your functions install issues.
> 💁Check [this commit](https://github.com/sw-yx/gatsby-netlify-form-example-v2/commit/9473e1e9774ce4b3550fbeafe56ccae40d170656#diff-b9cfc7f2cdf78a7f4b91a753d10865a2) for an example of how to add `netlify-lambda install` in just two lines to fix your functions install issues. **Make sure it is in dependencies not devDependencies**. This is a [common gotcha](https://www.netlify.com/docs/build-gotchas/#devdependencies).
If you're using `netlify-lambda serve` or `build`, however, you will want to run this install on the _source_ folder rather than the _dist_/netlify.toml functions folder, so you should run it with the same exact folder name as with those other commands:

Expand Down

0 comments on commit 77a5836

Please sign in to comment.