benawad / benawad/graphql-typescript-stripe-example
Image not building
- Dominant language
- TypeScript
- Stars
- 261
- Forks
- 107
- PR merge metrics
- No merged PRs in 30d
Description
```
...
=> [builder 4/6] RUN npm install 63.3s
=> [stage-1 4/7] RUN npm install --production 52.7s
=> [builder 5/6] COPY . . 0.1s
=> ERROR [builder 6/6] RUN npm run build 1.8s
------
> [builder 6/6] RUN npm run build:
#12 0.562
#12 0.562 > server@0.0.1 build
#12 0.562 > tsc -b
#12 0.562
#12 1.769 node_modules/@types/http-assert/index.d.ts(14,105): error TS1144: '{' or ';' expected.
#12 1.770 node_modules/@types/http-assert/index.d.ts(15,91): error TS1144: '{' or ';' expected.
#12 1.770 node_modules/@types/http-assert/index.d.ts(30,100): error TS1005: ';' expected.
#12 1.770 node_modules/apollo-server-core/dist/ApolloServer.d.ts(7,13): error TS1005: '=' expected.
#12 1.770 node_modules/apollo-server-core/dist/ApolloServer.d.ts(7,23): error TS1005: ';' expected.
#12 1.771 node_modules/apollo-server-core/dist/ApolloServer.d.ts(7,28): error TS1005: ';' expected.
#12 1.771 node_modules/apollo-server-core/dist/plugin/index.d.ts(1,13): error TS1005: '=' expected.
#12 1.771 node_modules/apollo-server-core/dist/plugin/index.d.ts(1,41): error TS1005: ';' expected.
#12 1.771 node_modules/apollo-server-core/dist/plugin/index.d.ts(2,13): error TS1005: '=' expected.
#12 1.772 node_modules/apollo-server-core/dist/plugin/index.d.ts(2,86): error TS1005: ';' expected.
#12 1.772 node_modules/apollo-server-core/dist/plugin/index.d.ts(3,1): error TS1128: Declaration or statement expected.
#12 1.772 node_modules/apollo-server-core/dist/plugin/index.d.ts(3,13): error TS1005: ';' expected.
#12 1.772 node_modules/apollo-server-core/dist/plugin/index.d.ts(3,157): error TS1109: Expression expected.
#12 1.772 node_modules/apollo-server-core/dist/plugin/index.d.ts(3,164): error TS1005: ';' expected.
#12 1.772 node_modules/apollo-server-core/dist/plugin/index.d.ts(4,13): error TS1005: '=' expected.
#12 1.772 node_modules/apollo-server-core/dist/plugin/index.d.ts(4,63): error TS1005: ';' expected.
#12 1.773 node_modules/apollo-server-core/dist/plugin/index.d.ts(5,1): error TS1128: Declaration or statement expected.
#12 1.773 node_modules/apollo-server-core/dist/plugin/index.d.ts(5,13): error TS1005: ';' expected.
#12 1.773 node_modules/apollo-server-core/dist/plugin/index.d.ts(5,63): error TS1005: ';' expected.
#12 1.773 node_modules/apollo-server-core/dist/plugin/index.d.ts(6,13): error TS1005: '=' expected.
#12 1.773 node_modules/apollo-server-core/dist/plugin/index.d.ts(6,59): error TS1005: ';' expected.
#12 1.773 node_modules/apollo-server-core/dist/plugin/index.d.ts(7,1): error TS1128: Declaration or statement expected.
#12 1.773 node_modules/apollo-server-core/dist/plugin/index.d.ts(7,13): error TS1005: ';' expected.
#12 1.773 node_modules/apollo-server-core/dist/plugin/index.d.ts(7,59): error TS1005: ';' expected.
#12 1.774 node_modules/apollo-server-core/dist/types.d.ts(5,13): error TS1005: '=' expected.
#12 1.774 node_modules/apollo-server-core/dist/types.d.ts(5,23): error TS1005: ';' expected.
#12 1.774 node_modules/apollo-server-core/dist/types.d.ts(5,28): error TS1005: ';' expected.
#12 1.774 node_modules/apollo-server-core/dist/types.d.ts(14,13): error TS1005: '=' expected.
#12 1.774 node_modules/apollo-server-core/dist/types.d.ts(14,45): error TS1005: ';' expected.
#12 1.774 node_modules/apollo-server-express/dist/ApolloServer.d.ts(5,13): error TS1005: '=' expected.
#12 1.774 node_modules/apollo-server-express/dist/ApolloServer.d.ts(5,38): error TS1005: ';' expected.
------
executor failed running [/bin/sh -c npm run build]: exit code: 1
```
Any idea what might be going wrong?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the Docker build's `npm run build` step, which runs `tsc -b` and fails while parsing declarations in `@types/http-assert` and Apollo Server packages. Compare the TypeScript and dependency versions used by the image, then rerun the build; done means the TypeScript compilation completes without these declaration syntax errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, graphql, node.js, typescript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100