This repository was archived by the owner on Jun 9, 2025. It is now read-only.
Description Describe the bug
Updating from 3.0.0 to 4.1.4 causes the following type checking error.
> @sveltejs/adapter-netlify@5.0.2 check /home/chewteeming/git/sveltejs/kit/packages/adapter-netlify
> tsc
../../node_modules/.pnpm/@netlify+serverless-functions-api@2.1.1/node_modules/@netlify/serverless-functions-api/dist/cookie_store.d.ts:1:24 - error TS2307: Cannot find module ' @netlify/node-cookies' or its corresponding type declarations.
1 import { Cookie } from ' @netlify/node-cookies' ;
~ ~~~~~~~~~~~~~~~~~~~~~~
Found 1 error in ../../node_modules/.pnpm/@netlify+serverless-functions-api@2.1.1/node_modules/@netlify/serverless-functions-api/dist/cookie_store.d.ts:1
ELIFECYCLE Command failed with exit code 2.
Should the @netlify/node-cookies package be added to the dependencies?
"dependencies" : {
"@netlify/serverless-functions-api" : " 1.41.2"
},
Configuration
System:
OS: Linux 5.15 Ubuntu 22.04.5 LTS 22.04.5 LTS (Jammy Jellyfish)
CPU: (8) x64 AMD Ryzen 7 5800H with Radeon Graphics
Memory: 9.55 GB / 15.62 GB
Container: Yes
Shell: 5.8.1 - /usr/bin/zsh
Binaries:
Node: 20.19.2 - ~ /.volta/tools/image/node/20.19.2/bin/node
npm: 10.8.2 - ~ /.volta/tools/image/node/20.19.2/bin/npm
pnpm: 10.11.1 - ~ /.volta/bin/pnpm
bun: 1.2.5 - ~ /.bun/bin/bun