This repository was archived by the owner on Jun 9, 2025. It is now read-only.
This repository was archived by the owner on Jun 9, 2025. It is now read-only.
Type checking error with skipLibCheck
turned off #616
Open
Description
Describe the bug
Updating from 3.0.0 to 4.1.4 causes the following type checking error.
> @sveltejs/[email protected] check /home/chewteeming/git/sveltejs/kit/packages/adapter-netlify
> tsc
../../node_modules/.pnpm/@[email protected]/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/@[email protected]/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?
Lines 75 to 77 in 7da7772
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