We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using TypeScript with "module": "es2015", the compiler gives the following error:
"module": "es2015"
index.ts(1,30): error TS2307: Cannot find module 'apollo-server-express'.
Here is the content of the index.ts:
index.ts
import {graphqlExpress} from 'apollo-server-express'
typescript
apollo-server-express
graphql
Any idea why this is happening?
The text was updated successfully, but these errors were encountered:
The solution was to set "moduleResolution": "node" at tsconfig.json
"moduleResolution": "node"
tsconfig.json
Sorry, something went wrong.
No branches or pull requests
When using TypeScript with
"module": "es2015"
, the compiler gives the following error:Here is the content of the
index.ts
:typescript
: 2.6.1apollo-server-express
: 1.2.0graphql
: 0.11.7Any idea why this is happening?
The text was updated successfully, but these errors were encountered: