You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.