Skip to content

Doesn't working with serverless + node + typescript #9

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

Open
gapinto opened this issue Apr 26, 2019 · 1 comment
Open

Doesn't working with serverless + node + typescript #9

gapinto opened this issue Apr 26, 2019 · 1 comment

Comments

@gapinto
Copy link

gapinto commented Apr 26, 2019

Firstly congratulation!

I'm working on a POC where I'm using node + typescript + serverless.

I'm with the same problem related here: Crashes when starting offline

But I believe that the problem here is because the compiled javascript directory is: ./build

@gapinto gapinto changed the title Don't working with serverless + node + typescript Doesn't working with serverless + node + typescript Apr 27, 2019
@emmkong
Copy link
Owner

emmkong commented Apr 29, 2019

@gapinto you that plugin get root location of the handlers' files from serverless-offlice plugin config. it defaults to the current directory.

custom:
  serverless-offline:
    host: 0.0.0.0
    port: 4000
    dontPrintOutput: true
    location: build

hope this helped.

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

No branches or pull requests

2 participants