Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

Cannot find type definition file for ‘@types’ #1535

Open
vitaliyhayda opened this issue Jul 28, 2019 · 2 comments
Open

Cannot find type definition file for ‘@types’ #1535

vitaliyhayda opened this issue Jul 28, 2019 · 2 comments

Comments

@vitaliyhayda
Copy link

vitaliyhayda commented Jul 28, 2019

The full issue described here, for v3.2.4:
https://forum.ionicframework.com/t/cannot-find-type-definition-file-for-types/164794

Rolling back to v3.2.3 works

@riderx
Copy link

riderx commented Sep 16, 2019

also work in v3.2.4 if you add

    "types": [
      "node"
    ],

in tsconfig compilerOptions

@chancezeus
Copy link

I ran into this as well and especially for slightly larger projects it means a whole lot of additional configuration if you depend on more than just the "node" typings. In my opinion this is a major regression compared to v3.2.3 and it should be reverted or at least the build tools should scan and inject the packages in node_modules/@types automatically without any user intervention, especially since this breaks the default behaviour of the typescript compiler (default behaviour is to include all of node_modules/@types automatically without any user intervention).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants