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

Error: Syntax Error: Unexpected token in JSON at position 0 #82

Open
Saltallica opened this issue May 21, 2018 · 0 comments
Open

Error: Syntax Error: Unexpected token in JSON at position 0 #82

Saltallica opened this issue May 21, 2018 · 0 comments

Comments

@Saltallica
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant