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

Apollo 2 serverless tutorial dont work #1535

Closed
webchi opened this issue Aug 15, 2018 · 3 comments
Closed

Apollo 2 serverless tutorial dont work #1535

webchi opened this issue Aug 15, 2018 · 3 comments

Comments

@webchi
Copy link

webchi commented Aug 15, 2018

Tried this tutorial but after deploing to aws lamabda get an error:

Unable to import module 'handler': Error
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/var/task/node_modules/apollo-upload-server/lib/middleware.js:14:1)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)

Source code
@MeixnerTobias in slack found workaround solution to add "core-js": "^2.5.7" to package.json. That helped but maybe need fix tutorial or find better fix.

@sbrichardson
Copy link
Contributor

related #1536 possibly

@yofriadi
Copy link

#1542

@abernix
Copy link
Member

abernix commented Jul 2, 2019

Closing as this is quite old, but happy to re-open if it continues to be a problem. (Though I suspect the underlying issue has ben resolved.)

Thanks for opening this originally!

@abernix abernix closed this as completed Jul 2, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants