Cannot find module @apollo/server after re-deploy in Heroku

Since apollo-server-express is deprecated, I tried to switch to @apollo/server 4.x and implement some modules that are missing when deploying in Heroku

It’s hard to help with just a screenshot of a few errors. Do you have a reproduction you can share?

It does seem odd that the errors are coming from the src directory. An installation of @apollo/server should really only be concerned with things in the dist directory (which is all compiled from typescript). For some reason your errors are coming from typescript files.

Thanks for the reply. already solved it tho, I just change some in the typescript compiler.

If you don’t mind posting what you changed and what fixed it, that’d be great! Never know who might come searching for an answer to the same problem you had :slight_smile: