microsoft / ngconf2015demo

TodoMVC application demo for ng-conf 2015

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error on Build

Mig1st4ck opened this issue · comments

Hi, i cloned this repo amd when i try to build like the line in:

node tsc\tsc.js -m amd todo.ts

I get this error.

module.js:340
    throw err;
          ^
Error: Cannot find module 'd:\\ngconf2015demo\tsc\tsc.js'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:901:3

Is there any adicional step i missed?

I found how to fix it.

node tsc/tsc.js -m amd todo.ts

Could you please change the documentation to reflect that so others don't have this problem.

thanks! readme updated.

Since you have a tsconfig.json in the root folder, don't you just need this?

node tsc/tsc.js

Yup. Let me change that then.

From: Luke Hoban [mailto:notifications@github.com]
Sent: Friday, March 6, 2015 10:18 AM
To: Microsoft/ngconf2015demo
Cc: Mohamed Hegazy
Subject: Re: [ngconf2015demo] Error on Build (#4)

Since you have a tsconfig.json in the root folder, don't you just need this?

node tsc/tsc.js


Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-77607800.