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

serverless offline not works (at nodejs8.10) #32

Closed
ruucm-working opened this issue Apr 30, 2018 · 3 comments
Closed

serverless offline not works (at nodejs8.10) #32

ruucm-working opened this issue Apr 30, 2018 · 3 comments

Comments

@ruucm-working
Copy link

When I type serverless offline start like README, it does not works with below error

URL: http://localhost:3000/hello

{
  "statusCode": 404,
  "error": "Serverless-offline: route not found.",
  "currentRoute": "get - /hello",
  "existingRoutes": [
    
  ]
}

+additional log at my terminal

Serverless: Warning: found unsupported runtime 'nodejs8.10'

@jayair
Copy link
Member

jayair commented Apr 30, 2018

@ruucm-working You are right. I'll update to the latest serverless offline in a sec.

@jayair
Copy link
Member

jayair commented Apr 30, 2018

@ruucm-working Updated. For your project, run npm install --save-dev serverless-offline to update it.

@ruucm-working
Copy link
Author

@jayair awesome

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