Closed calendarbase closed 7 years ago
I tried to prepare an express app for Lambda following this tutorial https://claudiajs.com/tutorials/serverless-express.html, and got this error:
Error: Cannot find module './config'
In the server file I have this: var CONFIG = require('./config');
How do I handle subfolders? Do I need to have everything in the root?
I tried to prepare an express app for Lambda following this tutorial https://claudiajs.com/tutorials/serverless-express.html, and got this error:
Error: Cannot find module './config'
In the server file I have this: var CONFIG = require('./config');
How do I handle subfolders? Do I need to have everything in the root?