Skip to content

TS2304: Cannot find name 'module'. #680

Description

@ericmccarthy7

Info about system & node version

OpenSUSE Leap 42.1
angular-cli: 1.0.0-beta.1
node: 5.11.0
os: linux x64

Steps taken to produce error

ng new test-app
cd test-app
gvim
ng serve

Error is via typescript when I'm editing the file app/test-app.component.ts

I can get rid of the error by including
/// <reference path="../typings.d.ts" />
at the top of the file.

image

image

Using vim with https://github.com/leafgarland/typescript-vim and https://github.com/Valloric/YouCompleteMe

Activity

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