We setup a basic shopify (node) app using the CLI as instructed. Then ran the “shopify generate billing” and selected a recurring billing cycle. When we serve the app it compiles fine but when we go to install it we are met with a referenceError: handlers is not defined (see below). Why are we running into this error and how do we resolve it?
(node:43028) ExperimentalWarning: The fs.promises API is experimental
┃ event - compiled successfully
┃ > Ready on http://localhost:8081
┃ ReferenceError: handlers is not defined
┃ at _callee$ (/Users/user/Public/Sites/shopifyapp/server/server.js:37:28)
┃ at tryCatch (/Users/user/Public/Sites/shopifyapp/node_modules/@babel/polyfill/node_modules/regenerator-runtime/runtime.js:63:40)
┃ at Generator.invoke [as _invoke] (/Users/user/Public/Sites/shopifyapp/node_modules/@babel/polyfill/node_modules/regenerator-runtime/runtime.js:293:22)
┃ at Generator.next (/Users/user/Public/Sites/shopifyapp/node_modules/@babel/polyfill/node_modules/regenerator-runtime/runtime.js:118:21)
┃ at asyncGeneratorStep (/Users/juserred/Public/Sites/shopifyapp/server/server.js:29:103)
┃ at _next (/Users/user/Public/Sites/shopifyapp/server/server.js:31:194)
┃ at /Users/jausered/Public/Sites/shopifyapp/server/server.js:31:364
┃ at new Promise ()
┃ at /Users/jared/Public/Sites/shopily/server/server.js:31:97
┃ at afterAuth (/Users/jared/Public/Sites/shopily/server/server.js:37:28)