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.

Error run - funcpack pack ./ -- SyntaxError: Unexpected token in JSON at position 0 (in root path project) #92

Description

@fzanfolim

funcpack pack ./
info: Generating project files/metadata
error: SyntaxError: Unexpected token in JSON at position 0
at JSON.parse ()
at Function. (/usr/local/lib/node_modules/azure-functions-pack/lib/utils/fs-helper.js:58:30)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/azure-functions-pack/lib/utils/fs-helper.js:4:58)
(node:30121) UnhandledPromiseRejectionWarning: Error: Could not generate project
at Command. (/usr/local/lib/node_modules/azure-functions-pack/lib/main.js:143:19)
at Generator.throw ()
at rejected (/usr/local/lib/node_modules/azure-functions-pack/lib/main.js:6:65)
(node:30121) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:30121) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions