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

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

Description

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

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