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

V3: serverless offline does not work with the elm and shebang loader #191

Closed
HyperBrain opened this issue Aug 16, 2017 · 1 comment
Closed
Labels
Milestone

Comments

@HyperBrain
Copy link
Member

This is a Bug Report

Description

If you try to run the serverless-elm-demo with serverless-offline and do not specify the offline location as .webpack/service the server will crash when you access one of the sample endpoints.

However the elm files are compiled correctly and also the service packages are created correctly.

For more details see here: ktonon/elm-serverless-demo#3

Solution

serverless-webpack should set the location option of serverless-offline automatically to the base path of the compiled outputs (i.e. .webpack/service or any user specified webpack base path).

Additional Data

  • Serverless-Webpack Version you're using: 3.0.0-rc.1
  • Webpack version you're using: ^3.3.0 -> 3.5.4
  • Serverless Framework Version you're using: 1.19.0
  • Operating System: ALL
@HyperBrain
Copy link
Member Author

/cc @ktonon @ringods

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

No branches or pull requests

1 participant