Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Angular2: Failed at the [email protected] start script #78

Open
Abdelkrim opened this issue Mar 14, 2016 · 5 comments
Open

Angular2: Failed at the [email protected] start script #78

Abdelkrim opened this issue Mar 14, 2016 · 5 comments

Comments

@Abdelkrim
Copy link

I have executed the setup:

npm install
npm start

Then an issue occured. I have uploaded the log file

> [email protected] start C:\TypeScriptSamples\angular2
> node node_modules/typescript/lib/tsc.js && node node_modules/http-server/bin/http-server -o

node_modules/angular2/src/core/facade/promise.d.ts(1,10): error TS2661: Cannot re-export name that is not defined in the module.

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\app\\nodejs\\node.exe" "C:\\app\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! node v4.0.0
npm ERR! npm  v2.14.2
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: `node node_modules/typescript/lib/tsc.js && node node_modules/http-server/bin/http-server -o`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] start script 'node node_modules/typescript/lib/tsc.js && node node_modules/http-server/bin/http-server -o'.
npm ERR! This is most likely a problem with the typescript-angular2 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node node_modules/typescript/lib/tsc.js && node node_modules/http-server/bin/http-server -o
npm ERR! You can get their info via:
npm ERR!     npm owner ls typescript-angular2
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\TypeScriptSamples\angular2\npm-debug.log

npm-debug.log.txt

Thank you in advance for your help

Abdelkrim

@mhegazy
Copy link
Contributor

mhegazy commented Mar 14, 2016

Thanks @Abdelkrim, we will update the sample. for now please head over to the angular2 site, the sample there is uptodate: https://angular.io/docs/ts/latest/quickstart.html

@Abdelkrim
Copy link
Author

Thank you, i'll look at the tutorial.
KR
A.

@0x333333
Copy link

Hi, I'm new to Typescript, it's an awesome sample list! Unfortunately I ran into the same issue here, I'd like to know is there any update? Or can you give me some hints so that I can try to fix this?

Thanks a lot!
Zhipeng

@GabrielDelepine
Copy link
Contributor

Hi,

I also experience this issue.

Tried with :

npm 3.8.9
node 6.2.0

And with :

npm 2.15.5
node 4.4.5

@firminochangani
Copy link

I experienced the same issue. Node 5.1.0, npm version: 3.3.12

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

5 participants