Open euclideansphere opened 4 years ago
Have you tried to add a console.log
to the resolveFilePathsFunction
function?
Actually, I have a better idea:
module.exports = class {
const allFiles = await Map(
this.serverless.service.getAllFunctions(),
(fnName) => {
- return this.resolveFilePathsFunction(fnName);
+ return this.resolveFilePathsFunction(fnName).catch((error) => {
+ console.error(error, { fnName });
+ return [];
+ });
},
);
The plugin is dumping this issue right now on linux and osx.
From inspecting the source, it looks like it's failing to read the entrypoint from one of my ~30 functions. How do I know which one? How do I know why?