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

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

Open

Description

@vitaliyhayda

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

Activity

  1. riderx commented on Sep 16, 2019

    @riderx

    also work in v3.2.4 if you add

        "types": [
          "node"
        ],
    

    in tsconfig compilerOptions

  2. chancezeus commented on Dec 13, 2019

    @chancezeus

    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions