claudiajs / example-projects

Simple example projects that show how to use ClaudiaJs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: Cannot find module './config'

calendarbase opened this issue · comments

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?