This repository was archived by the owner on May 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 67
Error: Cannot find module 'next-aws-lambda' when using yarn 2 #56
Comments
hey @rizkyramadhan, thanks for filing this! what command(s) are you running that lead you to seeing this local error? |
netlify dev, or just push to the repo and let netlify CD deploy my app |
FYI, I'm on windows 10. But I think netlify environment is in linux., and this happens on both env. |
hmm ok. not sure what's going on without really seeing the context. are you able to create a repo that reproduces this issue? |
hey rizky! following up here since this has been open for a little while :) any update? otherwise, we'll close this issue due to inactivity. |
Sorry, closed this for now, I decided to host on my on server without |
This was referenced Nov 11, 2020
Closed
Merged
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
"Cannot find module 'next-aws-lambda'\n" +
'Require stack:\n' +
'- C:\Users\Riz\Desktop\basey2\out_functions\next_api_hello\next_api_hello.js\n' +
'- C:\Users\Riz\scoop\persist\nvm\nodejs\v14.10.1\node_modules\netlify-cli\node_modules\lambda-local\build\lambdalocal.js\n' +
'- C:\Users\Riz\scoop\persist\nvm\nodejs\v14.10.1\node_modules\netlify-cli\src\utils\serve-functions.js\n' +
'- C:\Users\Riz\scoop\persist\nvm\nodejs\v14.10.1\node_modules\netlify-cli\src\commands\dev\index.js\n' +
'- C:\Users\Riz\scoop\persist\nvm\nodejs\v14.10.1\node_modules\netlify-cli\node_modules\@oclif\config\lib\plugin.js\n' +
'- C:\Users\Riz\scoop\persist\nvm\nodejs\v14.10.1\node_modules\netlify-cli\node_modules\@oclif\config\lib\config.js\n' +
'- C:\Users\Riz\scoop\persist\nvm\nodejs\v14.10.1\node_modules\netlify-cli\node_modules\@oclif\config\lib\index.js\n' +
'- C:\Users\Riz\scoop\persist\nvm\nodejs\v14.10.1\node_modules\netlify-cli\node_modules\@oclif\command\lib\command.js\n' +
'- C:\Users\Riz\scoop\persist\nvm\nodejs\v14.10.1\node_modules\netlify-cli\node_modules\@oclif\command\lib\index.js\n' +
'- C:\Users\Riz\scoop\persist\nvm\nodejs\v14.10.1\node_modules\netlify-cli\src\index.js\n' +
'- C:\Users\Riz\scoop\persist\nvm\nodejs\v14.10.1\node_modules\netlify-cli\bin\run',
The text was updated successfully, but these errors were encountered: