Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google plugin crashes during packaging step #199

Closed
HyperBrain opened this issue Aug 22, 2017 · 0 comments
Closed

Google plugin crashes during packaging step #199

HyperBrain opened this issue Aug 22, 2017 · 0 comments

Comments

@HyperBrain
Copy link
Member

This is a Bug Report

Description

When using the webpack plugin (version 3) with a Google project, the Google plugin crashes during the packaging phase.

The reason is, that the webpack plugin does not set an artifact service path (which is needed and evaluated by the Google plugin during its compile step).

$ node node_modules/serverless/bin/serverless package
Serverless: Bundling with Webpack...
Time: 486ms
   Asset     Size  Chunks             Chunk Names
index.js  2.71 kB       0  [emitted]  main
   [0] ./index.js 159 bytes {0} [built]
Serverless: Packaging service...

  Type Error ---------------------------------------------

  Cannot read property 'split' of undefined

The plugin should set the property in case the Google provider is used.

Additional Data

  • Serverless-Webpack Version you're using: 3.0.0-rc.1
  • Webpack version you're using: 3.5.x
  • Serverless Framework Version you're using: 1.20.2
  • Operating System: Windows 10 (but unrelated)
  • Stack Trace (if available):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant