Hey @Frodo1980
I can see a couple of issues with the repository.
- You have set the functions directory in the
netlify.toml
tofunctions
, but theapi.js
function is insrc
. - You have set
included_files
to["**.xlsX"]
(note the uppercaseX
) though the filename isxlsx
(all lowercase) -
included_files
need to site under the[functions]
section of thenetlify.toml
e.g.[functions] directory = "functions" [functions.api] included_files = ["src/*.xlsx"]
-
included_files
paths are “relative to the base directory” -
npm start
won’t work with Netlify. You cannot have a listener, but it is possible to use express as outlined in How to run Express.js apps with Netlify Functions (you need to export a handler.)