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

@Thomas-23

Description

@Thomas-23

log below:

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

> @angular2/[email protected] setup-demo E:\angular-electron
> npm install --no-optional [email protected] es6-promise@^3.1.2 es6-shim@0
.35.0 [email protected] [email protected] zone.js@^0.6.6

@angular2/[email protected] E:\angular-electron
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
`-- [email protected]


E:\angular-electron>npm run start

> @angular2/[email protected] start E:\angular-electron
> npm run demo


> @angular2/[email protected] demo E:\angular-electron
> npm run build && npm run build_demo && electron ./demo


> @angular2/[email protected] build E:\angular-electron
> npm run clean && tsc


> @angular2/[email protected] 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/[email protected] build: `npm run clean && tsc`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @angular2/[email protected] 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.

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