Add back feature #1058
Annotations
3 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:37:18
❯ 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
❯ 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:37:18
❯ 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
❯ 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
|
test
Process completed with exit code 1.
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v2, actions/github-script@v6, actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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/
|