diff --git a/aws-lambda-haskell-runtime.cabal b/aws-lambda-haskell-runtime.cabal
--- a/aws-lambda-haskell-runtime.cabal
+++ b/aws-lambda-haskell-runtime.cabal
@@ -4,10 +4,10 @@
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: 6ac02c7958d3fc1d4ffc62c4bc057af179b9db126454b63255e8aeef0101cade
+-- hash: 77bb69bb6cee68d5d854ba29a9b6ffd5fe538c849f335826d5a1278bd8aa5543
 
 name:           aws-lambda-haskell-runtime
-version:        1.0.8
+version:        1.0.9
 synopsis:       Haskell runtime for AWS Lambda
 description:    Please see the README on GitHub at <https://github.com/theam/aws-lambda-haskell-runtime#readme>
 category:       AWS
diff --git a/src/Aws/Lambda/Configuration.hs b/src/Aws/Lambda/Configuration.hs
--- a/src/Aws/Lambda/Configuration.hs
+++ b/src/Aws/Lambda/Configuration.hs
@@ -129,6 +129,7 @@
                 | DirError IOError
 data DirData = DirData FilePath DirContent
 
+
 -- Produces directory data
 walk :: FilePath -> Conduit.ConduitM () DirData IO ()
 walk path = do
@@ -141,14 +142,14 @@
     Left e -> Conduit.yield (DirData path (DirError e))
  where
   listdir = do
-    entries <- Directory.getDirectoryContents path >>= filterHidden
+    entries <- filterHidden <$> Directory.getDirectoryContents path
     subdirs <- filterM isDir entries
     files   <- filterM isFile entries
     return $ DirList subdirs files
    where
     isFile entry = Directory.doesFileExist (path </> entry)
     isDir entry = Directory.doesDirectoryExist (path </> entry)
-    filterHidden paths = return $ filter (\p -> head p /= '.') paths
+    filterHidden paths = filter (\p -> head p /= '.' && p /= "node_modules") paths
 
 
 -- Consume directories
