Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build Repo: TSError: ⨯ Unable to compile TypeScript #8038

Closed
ReevMich opened this issue Oct 25, 2017 · 3 comments
Closed

Can't build Repo: TSError: ⨯ Unable to compile TypeScript #8038

ReevMich opened this issue Oct 25, 2017 · 3 comments

Comments

@ReevMich
Copy link

ReevMich commented Oct 25, 2017

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Material 2 produces a release build.

What is the current behavior?

I'm new to the angular world and I'm trying to find a way to contribute to the project but when I follow the development steps from the DEVELOPMENT.md to build the project, I get the following error.

C:\Users\cooly\Desktop\material2-master>gulp material:build-release

C:\Users\cooly\Desktop\material2-master\node_modules\ts-node\src\index.ts:307
        throw new TSError(formatDiagnostics(diagnosticList, cwd, ts, lineOffset))
              ^
TSError: ⨯ Unable to compile TypeScript
tools\gulp\tasks\lint.ts (90,24): Property 'red' does not exist on type 'typeof "C:/Users/cooly/Desktop/material2-master/node_modules/@types/gulp-util/node_modules/chalk/...'. (2339)
    at getOutput (C:\Users\cooly\Desktop\material2-master\node_modules\ts-node\src\index.ts:307:15)
    at C:\Users\cooly\Desktop\material2-master\node_modules\ts-node\src\index.ts:336:16
    at Object.compile (C:\Users\cooly\Desktop\material2-master\node_modules\ts-node\src\index.ts:498:11)
    at Module.m._compile (C:\Users\cooly\Desktop\material2-master\node_modules\ts-node\src\index.ts:392:43)
    at Module._extensions..js (module.js:579:10)
    at Object.require.extensions.(anonymous function) [as .ts] (C:\Users\cooly\Desktop\material2-master\node_modules\ts-node\src\index.ts:395:12)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)

What are the steps to reproduce?

  1. I just downloaded the repo from GitHub
  2. Unzipped the project
  3. Followed the steps from the DEVELOPMENT.md to try to build the project.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Material 2 beta
Angular: Repo Angular Version
OS: Windows 10
Typescript: 2.4.2

Is there anything else we should know?

@willshowell
Copy link
Contributor

Likely related to #8030

@crisbeto
Copy link
Member

Will be resolved by #8030.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
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