Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
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
Labels
type: bugcode to address defects in shipped code
@teemingc

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?

functions/package.json

Lines 75 to 77 in 7da7772

"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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugcode to address defects in shipped code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /