apollographql / apollographql/apollo-server

Getting started tutorial has typescript issues...

Open
#7,835 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
14k
Forks
2k
Avg merge
2d 14h
Merged PRs (30d)
2

Description

### Issue Description

followed the tutorial, but after running the compiled files I get

`Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/git/api/dist/app`

### Link to Reproduction

https://www.apollographql.com/docs/apollo-server/getting-started/#step-1-create-a-new-project

### Reproduction Steps

import a file (any file) into your ts

Contributor guide

Open the contributing guide

Research direction

Start with the getting-started tutorial linked in the issue and follow its TypeScript setup through compilation and execution. Reproduce the ERR_MODULE_NOT_FOUND error using the reported import step, then update the tutorial so the compiled files run successfully and verify the documented commands end without the missing-module error.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.