Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Getting errors in function after enabling function pack #88

@ramandeep-singh-1983

Description

@ramandeep-singh-1983

My Azure function was working fine. I followed the instructions and installed azure-functions-pack and now i get the following error in the function log when i access it:

2018-09-18T09:56:53 Welcome, you are now connected to log-streaming service. 2018-09-18T09:56:57.156 [Info] Function started (Id=845c970a-f992-4000-8f9d-76ab41b5f670) 2018-09-18T09:56:57.265 [Error] Exception while executing function: Functions.GetImages. mscorlib: One or more errors occurred. TypeError: Object.entries is not a function at addConstants (D:\home\site\wwwroot\.funcpack\index.js:76905:10) at Object.<anonymous> (D:\home\site\wwwroot\.funcpack\index.js:76923:1) at __webpack_require__ (D:\home\site\wwwroot\.funcpack\index.js:21:30) at Object.module.exports.__webpack_exports__.a (D:\home\site\wwwroot\.funcpack\index.js:75988:69) at __webpack_require__ (D:\home\site\wwwroot\.funcpack\index.js:21:30) at Object.module.exports.__webpack_exports__.a (D:\home\site\wwwroot\.funcpack\index.js:75970:71) at __webpack_require__ (D:\home\site\wwwroot\.funcpack\index.js:21:30) at Object.module.exports.Object.defineProperty.value (D:\home\site\wwwroot\.funcpack\index.js:75925:14) at __webpack_require__ (D:\home\site\wwwroot\.funcpack\index.js:21:30) at Object.module.exports.module.exports.context.res (D:\home\site\wwwroot\.funcpack\index.js:34444:20). 2018-09-18T09:56:57.281 [Error] Function completed (Failure, Id=845c970a-f992-4000-8f9d-76ab41b5f670, Duration=120ms)

I deleted node_modules directory from the function folder through the Kudu console and still getting this error. Am i missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions