Skip to content

Failed to deploy - u[e].files.forEach is not a function #2

@cameronk

Description

@cameronk

When running the deploy script, I get this error:

...
Start Folder: shared
Start catalogDependencyFiles
Start updateIndex
Start updateIndex
Start updateIndex
Start updateIndex
start CreateDependencyFileJS
FAILURE!
{"success":false,"action":"prepWork","error":{"message":"u[e].files.forEach is not a function","object":{}}}

I believe it comes from this line in the deploy script.

In my project I have a "shared code" directory that shares some utilities between my various Azure functions. The error seems to occur a when processing that directory.

I'm also a bit confused about project structure - should I define a package.json (and my function dependencies) on the function level or the project level?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions