Firebase部署SyntaxError:意外的令牌)

时间:2018-03-20 15:54:17

标签: firebase node-modules shopify-app

我正在尝试将Shopify nodejs应用程序部署到firebase。以下node_module导致问题:

“@ shopify / shopify-express”:“^ 1.0.0-alpha.7”,

并收到以下错误:

Detailed stack trace: /user_code/node_modules/@shopify/shopify-express/routes/index.js:19);
  ^

SyntaxError: Unexpected token )
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/user_code/node_modules/@shopify/shopify-express/index.js:2:22)


Functions deploy had errors. To continue deploying other features (such as database), run:
firebase deploy --except functions

Error: Functions did not deploy properly.

有没有机会使用此模块进行部署? firebase服务正常。

0 个答案:

没有答案