Cannot find type definition file for ‘zen-observable'
up vote
0
down vote
favorite
I'm working with Ionic 3, I just choose aws default template and I get an error:
> ionic start app0 aws // aws is a default starting app in Ionic3
> cd app0
> ionic serve
When I serve :
Error:
[app-scripts] [16:44:12] typescript: node_modules/aws-amplify/lib/PubSub/Providers/MqttOverWSProvider.d.ts, line: 2
[app-scripts] Cannot find type definition file for 'zen-observable'.
[app-scripts] L1: import Client from 'paho-mqtt';
[app-scripts] L2: import * as Observable from 'zen-observable';
[app-scripts] L3: import AbstractPubSubProvider from './PubSubProvider';
[app-scripts] [16:44:12] typescript: node_modules/aws-amplify/lib/PubSub/Providers/PubSubProvider.d.ts, line: 1
[app-scripts] Cannot find type definition file for 'zen-observable'.
[app-scripts] L1: import * as Observable from 'zen-observable';
[app-scripts] L2: import PubSubProvider, ProvidertOptions from '../types';
[app-scripts] Cannot find type definition file for 'zen-observable'.
[app-scripts] [16:44:12] typescript: node_modules/aws-amplify/lib/PubSub/PubSub.d.ts, line: 1
[app-scripts] L1: import '../Common/Polyfills';
[app-scripts] L2: import * as Observable from 'zen-observable';
[app-scripts] [16:44:12] typescript: node_modules/aws-amplify/lib/PubSub/types/Provider.d.ts, line: 1
[app-scripts] Cannot find type definition file for 'zen-observable'.
[app-scripts] L1: import * as Observable from 'zen-observable';
[app-scripts] L2: import ProvidertOptions from './PubSub';
Ionic Info:
Ionic:
ionic (Ionic CLI) : 4.3.1
System:
NodeJS : v8.9.4
npm : 6.4.1
OS : Linux 4.13
angular npm ionic3
add a comment |
up vote
0
down vote
favorite
I'm working with Ionic 3, I just choose aws default template and I get an error:
> ionic start app0 aws // aws is a default starting app in Ionic3
> cd app0
> ionic serve
When I serve :
Error:
[app-scripts] [16:44:12] typescript: node_modules/aws-amplify/lib/PubSub/Providers/MqttOverWSProvider.d.ts, line: 2
[app-scripts] Cannot find type definition file for 'zen-observable'.
[app-scripts] L1: import Client from 'paho-mqtt';
[app-scripts] L2: import * as Observable from 'zen-observable';
[app-scripts] L3: import AbstractPubSubProvider from './PubSubProvider';
[app-scripts] [16:44:12] typescript: node_modules/aws-amplify/lib/PubSub/Providers/PubSubProvider.d.ts, line: 1
[app-scripts] Cannot find type definition file for 'zen-observable'.
[app-scripts] L1: import * as Observable from 'zen-observable';
[app-scripts] L2: import PubSubProvider, ProvidertOptions from '../types';
[app-scripts] Cannot find type definition file for 'zen-observable'.
[app-scripts] [16:44:12] typescript: node_modules/aws-amplify/lib/PubSub/PubSub.d.ts, line: 1
[app-scripts] L1: import '../Common/Polyfills';
[app-scripts] L2: import * as Observable from 'zen-observable';
[app-scripts] [16:44:12] typescript: node_modules/aws-amplify/lib/PubSub/types/Provider.d.ts, line: 1
[app-scripts] Cannot find type definition file for 'zen-observable'.
[app-scripts] L1: import * as Observable from 'zen-observable';
[app-scripts] L2: import ProvidertOptions from './PubSub';
Ionic Info:
Ionic:
ionic (Ionic CLI) : 4.3.1
System:
NodeJS : v8.9.4
npm : 6.4.1
OS : Linux 4.13
angular npm ionic3
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm working with Ionic 3, I just choose aws default template and I get an error:
> ionic start app0 aws // aws is a default starting app in Ionic3
> cd app0
> ionic serve
When I serve :
Error:
[app-scripts] [16:44:12] typescript: node_modules/aws-amplify/lib/PubSub/Providers/MqttOverWSProvider.d.ts, line: 2
[app-scripts] Cannot find type definition file for 'zen-observable'.
[app-scripts] L1: import Client from 'paho-mqtt';
[app-scripts] L2: import * as Observable from 'zen-observable';
[app-scripts] L3: import AbstractPubSubProvider from './PubSubProvider';
[app-scripts] [16:44:12] typescript: node_modules/aws-amplify/lib/PubSub/Providers/PubSubProvider.d.ts, line: 1
[app-scripts] Cannot find type definition file for 'zen-observable'.
[app-scripts] L1: import * as Observable from 'zen-observable';
[app-scripts] L2: import PubSubProvider, ProvidertOptions from '../types';
[app-scripts] Cannot find type definition file for 'zen-observable'.
[app-scripts] [16:44:12] typescript: node_modules/aws-amplify/lib/PubSub/PubSub.d.ts, line: 1
[app-scripts] L1: import '../Common/Polyfills';
[app-scripts] L2: import * as Observable from 'zen-observable';
[app-scripts] [16:44:12] typescript: node_modules/aws-amplify/lib/PubSub/types/Provider.d.ts, line: 1
[app-scripts] Cannot find type definition file for 'zen-observable'.
[app-scripts] L1: import * as Observable from 'zen-observable';
[app-scripts] L2: import ProvidertOptions from './PubSub';
Ionic Info:
Ionic:
ionic (Ionic CLI) : 4.3.1
System:
NodeJS : v8.9.4
npm : 6.4.1
OS : Linux 4.13
angular npm ionic3
I'm working with Ionic 3, I just choose aws default template and I get an error:
> ionic start app0 aws // aws is a default starting app in Ionic3
> cd app0
> ionic serve
When I serve :
Error:
[app-scripts] [16:44:12] typescript: node_modules/aws-amplify/lib/PubSub/Providers/MqttOverWSProvider.d.ts, line: 2
[app-scripts] Cannot find type definition file for 'zen-observable'.
[app-scripts] L1: import Client from 'paho-mqtt';
[app-scripts] L2: import * as Observable from 'zen-observable';
[app-scripts] L3: import AbstractPubSubProvider from './PubSubProvider';
[app-scripts] [16:44:12] typescript: node_modules/aws-amplify/lib/PubSub/Providers/PubSubProvider.d.ts, line: 1
[app-scripts] Cannot find type definition file for 'zen-observable'.
[app-scripts] L1: import * as Observable from 'zen-observable';
[app-scripts] L2: import PubSubProvider, ProvidertOptions from '../types';
[app-scripts] Cannot find type definition file for 'zen-observable'.
[app-scripts] [16:44:12] typescript: node_modules/aws-amplify/lib/PubSub/PubSub.d.ts, line: 1
[app-scripts] L1: import '../Common/Polyfills';
[app-scripts] L2: import * as Observable from 'zen-observable';
[app-scripts] [16:44:12] typescript: node_modules/aws-amplify/lib/PubSub/types/Provider.d.ts, line: 1
[app-scripts] Cannot find type definition file for 'zen-observable'.
[app-scripts] L1: import * as Observable from 'zen-observable';
[app-scripts] L2: import ProvidertOptions from './PubSub';
Ionic Info:
Ionic:
ionic (Ionic CLI) : 4.3.1
System:
NodeJS : v8.9.4
npm : 6.4.1
OS : Linux 4.13
angular npm ionic3
angular npm ionic3
asked Nov 8 at 16:15
Karim Garali
226
226
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
try this:
npm install –save-dev @types/zen-observable
npm install –save-dev @types/paho-mqtt
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
try this:
npm install –save-dev @types/zen-observable
npm install –save-dev @types/paho-mqtt
add a comment |
up vote
0
down vote
try this:
npm install –save-dev @types/zen-observable
npm install –save-dev @types/paho-mqtt
add a comment |
up vote
0
down vote
up vote
0
down vote
try this:
npm install –save-dev @types/zen-observable
npm install –save-dev @types/paho-mqtt
try this:
npm install –save-dev @types/zen-observable
npm install –save-dev @types/paho-mqtt
answered Nov 9 at 17:35
Richard Zhang
24514
24514
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53211795%2fcannot-find-type-definition-file-for-zen-observable%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown