Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.
This repository was archived by the owner on May 1, 2020. It is now read-only.

not include node_modules/@types in dev build #179

Closed
@izee

Description

@izee

I installed @types/cordova and ionic build works fine.
but ionic serve output:

[11:19:42] ionic-app-scripts 0.0.36
[11:19:42] watch started ...
[11:19:42] build dev started ...
[11:19:42] clean started ...
[11:19:42] clean finished in 1 ms
[11:19:42] copy started ...
[11:19:42] transpile started ...
[11:19:43] lint started ...
[11:19:45] lint finished in 2.36 s
[11:19:47] typescript: D:/Develop/Project/team.app/src/pages/home/home.ts, line: 89

        Cannot find name 'cordova'.
  L88:  handler: ()=> {
  L89:      cordova.plugins.settings.openSetting("location_source", ()=> {
  L90:              createAlert.dismiss();

[11:19:47] transpile failed

[11:19:47] copy finished in 4.88 s
[11:19:47] watch ready in 4.98 s

Metadata

Metadata

Assignees

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