Skip to content

Commit

Permalink
fix: start:dev fails to start locally (#362)
Browse files Browse the repository at this point in the history
Error: When a manual configuration is not provided, gateway requires an Apollo configuration.

Local development should use NODE_END=local since #361
  • Loading branch information
mmiermans authored Feb 22, 2024
1 parent 0964ccc commit 3954d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "rm -rf dist && tsc",
"watch": "tsc -w & nodemon",
"start": "node dist/index.js",
"start:dev": "NODE_ENV=local npm run build && rover supergraph compose --config ./local-supergraph-config.yaml > local-supergraph.graphql --elv2-license accept && NODE_ENV=development AWS_XRAY_LOG_LEVEL=silent AWS_XRAY_CONTEXT_MISSING=LOG_ERROR npm run watch",
"start:dev": "NODE_ENV=local npm run build && rover supergraph compose --config ./local-supergraph-config.yaml > local-supergraph.graphql --elv2-license accept && NODE_ENV=local AWS_XRAY_LOG_LEVEL=silent AWS_XRAY_CONTEXT_MISSING=LOG_ERROR npm run watch",
"test-ci": "npm test",
"test:watch": "npm test -- --watchAll",
"test": "jest",
Expand Down

0 comments on commit 3954d9d

Please sign in to comment.