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: Syntax Error: Unexpected token in JSON at position 0 #82

Description

@Saltallica

Hi, encountering the following when attempting to use funcpack pack ./

$ funcpack pack ./

info: Generating project files/metadata
error:  SyntaxError: Unexpected token  in JSON at position 0
    at JSON.parse (<anonymous>)
    at Function.<anonymous> (C:\Users\sjohnson\AppData\Roaming\npm\node_modules\azure-functions-pack\lib\utils\fs-helper.js:58:30)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\sjohnson\AppData\Roaming\npm\node_modules\azure-functions-pack\lib\utils\fs-helper.js:4:58)
    at <anonymous>
(node:15696) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Could not generate project
(node:15696) [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.

Windows 10
Node v8.9.4
npm v5.6.0

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