⚡️ boilerplate to add cloudflare queues #1634
Annotations
4 errors and 2 warnings
src/tests/routes/osm.spec.ts > OSM routes > getTrailsOSM > should get trails:
server/src/services/osm/getTrailsOSMService.ts#L8
TRPCError: OSM_URI is not defined in the environment variables
❯ Module.getTrailsOsmService src/services/osm/getTrailsOSMService.ts:8:11
❯ src/controllers/getOsm/getTrailsOSM.ts:39:20
❯ resolveMiddleware home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:421:36
❯ callRecursive home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:451:38
❯ next home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:460:32
❯ inputMiddleware home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:291:16
❯ callRecursive home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:451:32
❯ callRecursive home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:451:32
❯ resolve home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:481:24
❯ src/tests/routes/osm.spec.ts:46:25
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'INTERNAL_SERVER_ERROR' }
Caused by: Error: OSM_URI is not defined in the environment variables
❯ Module.getTrailsOsmService src/services/osm/getTrailsOSMService.ts:8:11
❯ src/controllers/getOsm/getTrailsOSM.ts:39:20
❯ resolveMiddleware home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:421:36
❯ callRecursive home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:451:38
❯ next home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:460:32
❯ inputMiddleware home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:291:16
❯ callRecursive home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:451:32
❯ callRecursive home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:451:32
❯ resolve home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:481:24
❯ src/tests/routes/osm.spec.ts:46:25
|
src/tests/routes/user.spec.ts > User Routes:
server/src/drizzle/methods/User.ts#L77
TRPCError: jwtSecret is not defined
❯ User.generateAuthToken src/drizzle/methods/User.ts:77:27
❯ src/controllers/user/userSignUp.ts:42:21
❯ resolveMiddleware home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:421:30
❯ callRecursive home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:451:32
❯ callRecursive home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:451:32
❯ resolve home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:481:24
❯ src/tests/routes/user.spec.ts:13:16
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'INTERNAL_SERVER_ERROR' }
Caused by: Caused by: Error: jwtSecret is not defined
❯ User.generateAuthToken src/drizzle/methods/User.ts:77:27
❯ src/controllers/user/userSignUp.ts:42:21
❯ resolveMiddleware home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:421:30
❯ callRecursive home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:451:32
❯ callRecursive home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:451:32
❯ resolve home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index.mjs:481:24
❯ src/tests/routes/user.spec.ts:13:16
|
src/tests/routes/weather.spec.ts > Get weather information > Get weekly weather information:
server/src/tests/routes/weather.spec.ts#L30
TypeError: Cannot read properties of undefined (reading '_def')
❯ home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/config-d5fdbd39.mjs:175:31
❯ Object.apply home/runner/work/PackRat/PackRat/node_modules/@trpc/server/dist/index-f91d720c.mjs:67:20
❯ src/tests/routes/weather.spec.ts:30:34
|
test
Process completed with exit code 1.
|
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|