vscode-extension-tester icon indicating copy to clipboard operation
vscode-extension-tester copied to clipboard

[🚫 Bug] TS2307: Cannot find module 'type-fest'

Open brianignacio5 opened this issue 1 year ago • 0 comments

Describe the bug

I've tried to update from 7.0.0 to new 8.5.0 version. After doing harm remove and yarn add --dev I've got this while tsc -p. Is there any reason why is this the case ? I don't have type-fest myself in my project but I've expected to be part of this package dependencies.

Please let me know what other information I should provide.

Steps to reproduce

1. Remove 7.0.0 from package.json with yarn remove
2. yarn add --dev 
3. Try to compile with tsc -p ./
4. Got error in the terminal output.

Logs

node_modules/@redhat-developer/page-objects/out/locators/locators.d.ts:18:29 - error TS2307: Cannot find module 'type-fest' or its corresponding type declarations.

18 import { PartialDeep } from 'type-fest';
                               ~~~~~~~~~~~


Found 1 error in node_modules/@redhat-developer/page-objects/out/locators/locators.d.ts:18

Operating System

macOS 14.5

Visual Studio Code

1.91.1

vscode-extension-tester

8.5.0

NodeJS

v20.11.1

npm

10.2.4

brianignacio5 avatar Aug 01 '24 08:08 brianignacio5