Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

File 'typings/browser.d.ts' not found. #20

Description

@Thomas-23

log below:

E:\angular-electron>npm run setup-demo

> @angular2/electron@1.0.0 setup-demo E:\angular-electron
> npm install --no-optional angular2@2.0.0-beta.12 es6-promise@^3.1.2 es6-shim@0
.35.0 reflect-metadata@0.1.2 rxjs@5.0.0-beta.2 zone.js@^0.6.6

@angular2/electron@1.0.0 E:\angular-electron
+-- angular2@2.0.0-beta.12
+-- es6-promise@3.1.2
+-- es6-shim@0.35.0
+-- reflect-metadata@0.1.2
+-- rxjs@5.0.0-beta.2
`-- zone.js@0.6.6


E:\angular-electron>npm run start

> @angular2/electron@1.0.0 start E:\angular-electron
> npm run demo


> @angular2/electron@1.0.0 demo E:\angular-electron
> npm run build && npm run build_demo && electron ./demo


> @angular2/electron@1.0.0 build E:\angular-electron
> npm run clean && tsc


> @angular2/electron@1.0.0 clean E:\angular-electron
> rimraf dist

error TS6053: File 'typings/browser.d.ts' not found.

npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\long\\AppData\\R
oaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "run" "build"
npm ERR! node v6.3.1
npm ERR! npm  v3.10.6
npm ERR! code ELIFECYCLE
npm ERR! @angular2/electron@1.0.0 build: `npm run clean && tsc`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @angular2/electron@1.0.0 build script 'npm run clean && t
sc'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the @angular2/electron pa
ckage,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm run clean && tsc
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs @angular2/electron
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls @angular2/electron
npm ERR! There is likely additional logging output above.

the error Prompt browser.d.ts not found, how do i solve this problem.

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