Skip to content

Commit 3954d9d

Browse files
authored
fix: start:dev fails to start locally (#362)
Error: When a manual configuration is not provided, gateway requires an Apollo configuration. Local development should use NODE_END=local since #361
1 parent 0964ccc commit 3954d9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"build": "rm -rf dist && tsc",
88
"watch": "tsc -w & nodemon",
99
"start": "node dist/index.js",
10-
"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",
10+
"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",
1111
"test-ci": "npm test",
1212
"test:watch": "npm test -- --watchAll",
1313
"test": "jest",

0 commit comments

Comments
 (0)