fullcalendar'' has no exported member 'Options'.- getting error in Angular
up vote
3
down vote
favorite
I'm following this ApNg2Fullcalendar installing structure step by step , Im used Angular 5 ,
but I had following error
node_modules/ap-angular2-fullcalendar/src/calendar/calendar.d.ts(3,10):
error TS2305: Module ''fullcalendar'' has no exported member
'Options'. node_modules/fullcalendar/dist/fullcalendar.d.ts(695,36):
error TS2304: Cannot find name 'JQueryPromise'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(696,29): error
TS2304: Cannot find name 'JQueryPromise'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(697,20): error
TS2304: Cannot find name 'JQueryPromise'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(759,22): error
TS2304: Cannot find name 'JQueryPromise'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(775,50): error
TS2304: Cannot find name 'JQueryPromise'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(988,23): error
TS2304: Cannot find name 'JQueryEventObject'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(1401,70): error
TS2304: Cannot find name 'JQueryAjaxSettings'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(1603,50): error
TS2304: Cannot find name 'JQueryPromise'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(1623,50): error
TS2304: Cannot find name 'JQueryPromise'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(2588,50): error
TS2304: Cannot find name 'JQueryPromise'.
how to fix it?
my index.component.ts
import { Component, } from '@angular/core';
import 'Fullcalendar';
@Component({
selector: 'app-index',
templateUrl: './index.component.html',
styleUrls: ['./index.component.css']
})
export class IndexComponent {
title = 'app';
calendarOptions:Object = {
height: 'parent',
fixedWeekCount : false,
defaultDate: '2016-09-12',
editable: true,
eventLimit: true, // allow "more" link when too many events
events: [
{
title: 'All Day Event',
start: '2016-09-01'
},
{
title: 'Long Event',
start: '2016-09-07',
end: '2016-09-10'
},
{
id: 999,
title: 'Repeating Event',
start: '2016-09-09T16:00:00'
},
{
id: 999,
title: 'Repeating Event',
start: '2016-09-16T16:00:00'
},
{
title: 'Conference',
start: '2016-09-11',
end: '2016-09-13'
},
{
title: 'Meeting',
start: '2016-09-12T10:30:00',
end: '2016-09-12T12:30:00'
},
{
title: 'Lunch',
start: '2016-09-12T12:00:00'
},
{
title: 'Meeting',
start: '2016-09-12T14:30:00'
},
{
title: 'Happy Hour',
start: '2016-09-12T17:30:00'
},
{
title: 'Dinner',
start: '2016-09-12T20:00:00'
},
{
title: 'Birthday Party',
start: '2016-09-13T07:00:00'
},
{
title: 'Click for Google',
url: 'http://google.com/',
start: '2016-09-28'
}
]
};
onCalendarInit(initialized: boolean) {
console.log('Calendar initialized');
}
}
app.module.ts
import { CalendarComponent } from 'ap-angular2-fullcalendar';
import { CalendarModule } from 'ap-angular2-fullcalendar';
@NgModule({
declarations: [
AppComponent,
IndexComponent,
CalendarComponent
],
imports: [
BrowserModule,
NgbModule.forRoot(),
AngularFontAwesomeModule,
routes
],
index.component.html
<angular2-fullcalendar [options]="calendarOptions" (initialized)="onCalendarInit($event)"></angular2-fullcalendar>
angular fullcalendar fullcalendar-scheduler
add a comment |
up vote
3
down vote
favorite
I'm following this ApNg2Fullcalendar installing structure step by step , Im used Angular 5 ,
but I had following error
node_modules/ap-angular2-fullcalendar/src/calendar/calendar.d.ts(3,10):
error TS2305: Module ''fullcalendar'' has no exported member
'Options'. node_modules/fullcalendar/dist/fullcalendar.d.ts(695,36):
error TS2304: Cannot find name 'JQueryPromise'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(696,29): error
TS2304: Cannot find name 'JQueryPromise'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(697,20): error
TS2304: Cannot find name 'JQueryPromise'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(759,22): error
TS2304: Cannot find name 'JQueryPromise'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(775,50): error
TS2304: Cannot find name 'JQueryPromise'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(988,23): error
TS2304: Cannot find name 'JQueryEventObject'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(1401,70): error
TS2304: Cannot find name 'JQueryAjaxSettings'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(1603,50): error
TS2304: Cannot find name 'JQueryPromise'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(1623,50): error
TS2304: Cannot find name 'JQueryPromise'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(2588,50): error
TS2304: Cannot find name 'JQueryPromise'.
how to fix it?
my index.component.ts
import { Component, } from '@angular/core';
import 'Fullcalendar';
@Component({
selector: 'app-index',
templateUrl: './index.component.html',
styleUrls: ['./index.component.css']
})
export class IndexComponent {
title = 'app';
calendarOptions:Object = {
height: 'parent',
fixedWeekCount : false,
defaultDate: '2016-09-12',
editable: true,
eventLimit: true, // allow "more" link when too many events
events: [
{
title: 'All Day Event',
start: '2016-09-01'
},
{
title: 'Long Event',
start: '2016-09-07',
end: '2016-09-10'
},
{
id: 999,
title: 'Repeating Event',
start: '2016-09-09T16:00:00'
},
{
id: 999,
title: 'Repeating Event',
start: '2016-09-16T16:00:00'
},
{
title: 'Conference',
start: '2016-09-11',
end: '2016-09-13'
},
{
title: 'Meeting',
start: '2016-09-12T10:30:00',
end: '2016-09-12T12:30:00'
},
{
title: 'Lunch',
start: '2016-09-12T12:00:00'
},
{
title: 'Meeting',
start: '2016-09-12T14:30:00'
},
{
title: 'Happy Hour',
start: '2016-09-12T17:30:00'
},
{
title: 'Dinner',
start: '2016-09-12T20:00:00'
},
{
title: 'Birthday Party',
start: '2016-09-13T07:00:00'
},
{
title: 'Click for Google',
url: 'http://google.com/',
start: '2016-09-28'
}
]
};
onCalendarInit(initialized: boolean) {
console.log('Calendar initialized');
}
}
app.module.ts
import { CalendarComponent } from 'ap-angular2-fullcalendar';
import { CalendarModule } from 'ap-angular2-fullcalendar';
@NgModule({
declarations: [
AppComponent,
IndexComponent,
CalendarComponent
],
imports: [
BrowserModule,
NgbModule.forRoot(),
AngularFontAwesomeModule,
routes
],
index.component.html
<angular2-fullcalendar [options]="calendarOptions" (initialized)="onCalendarInit($event)"></angular2-fullcalendar>
angular fullcalendar fullcalendar-scheduler
add a comment |
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I'm following this ApNg2Fullcalendar installing structure step by step , Im used Angular 5 ,
but I had following error
node_modules/ap-angular2-fullcalendar/src/calendar/calendar.d.ts(3,10):
error TS2305: Module ''fullcalendar'' has no exported member
'Options'. node_modules/fullcalendar/dist/fullcalendar.d.ts(695,36):
error TS2304: Cannot find name 'JQueryPromise'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(696,29): error
TS2304: Cannot find name 'JQueryPromise'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(697,20): error
TS2304: Cannot find name 'JQueryPromise'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(759,22): error
TS2304: Cannot find name 'JQueryPromise'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(775,50): error
TS2304: Cannot find name 'JQueryPromise'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(988,23): error
TS2304: Cannot find name 'JQueryEventObject'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(1401,70): error
TS2304: Cannot find name 'JQueryAjaxSettings'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(1603,50): error
TS2304: Cannot find name 'JQueryPromise'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(1623,50): error
TS2304: Cannot find name 'JQueryPromise'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(2588,50): error
TS2304: Cannot find name 'JQueryPromise'.
how to fix it?
my index.component.ts
import { Component, } from '@angular/core';
import 'Fullcalendar';
@Component({
selector: 'app-index',
templateUrl: './index.component.html',
styleUrls: ['./index.component.css']
})
export class IndexComponent {
title = 'app';
calendarOptions:Object = {
height: 'parent',
fixedWeekCount : false,
defaultDate: '2016-09-12',
editable: true,
eventLimit: true, // allow "more" link when too many events
events: [
{
title: 'All Day Event',
start: '2016-09-01'
},
{
title: 'Long Event',
start: '2016-09-07',
end: '2016-09-10'
},
{
id: 999,
title: 'Repeating Event',
start: '2016-09-09T16:00:00'
},
{
id: 999,
title: 'Repeating Event',
start: '2016-09-16T16:00:00'
},
{
title: 'Conference',
start: '2016-09-11',
end: '2016-09-13'
},
{
title: 'Meeting',
start: '2016-09-12T10:30:00',
end: '2016-09-12T12:30:00'
},
{
title: 'Lunch',
start: '2016-09-12T12:00:00'
},
{
title: 'Meeting',
start: '2016-09-12T14:30:00'
},
{
title: 'Happy Hour',
start: '2016-09-12T17:30:00'
},
{
title: 'Dinner',
start: '2016-09-12T20:00:00'
},
{
title: 'Birthday Party',
start: '2016-09-13T07:00:00'
},
{
title: 'Click for Google',
url: 'http://google.com/',
start: '2016-09-28'
}
]
};
onCalendarInit(initialized: boolean) {
console.log('Calendar initialized');
}
}
app.module.ts
import { CalendarComponent } from 'ap-angular2-fullcalendar';
import { CalendarModule } from 'ap-angular2-fullcalendar';
@NgModule({
declarations: [
AppComponent,
IndexComponent,
CalendarComponent
],
imports: [
BrowserModule,
NgbModule.forRoot(),
AngularFontAwesomeModule,
routes
],
index.component.html
<angular2-fullcalendar [options]="calendarOptions" (initialized)="onCalendarInit($event)"></angular2-fullcalendar>
angular fullcalendar fullcalendar-scheduler
I'm following this ApNg2Fullcalendar installing structure step by step , Im used Angular 5 ,
but I had following error
node_modules/ap-angular2-fullcalendar/src/calendar/calendar.d.ts(3,10):
error TS2305: Module ''fullcalendar'' has no exported member
'Options'. node_modules/fullcalendar/dist/fullcalendar.d.ts(695,36):
error TS2304: Cannot find name 'JQueryPromise'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(696,29): error
TS2304: Cannot find name 'JQueryPromise'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(697,20): error
TS2304: Cannot find name 'JQueryPromise'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(759,22): error
TS2304: Cannot find name 'JQueryPromise'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(775,50): error
TS2304: Cannot find name 'JQueryPromise'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(988,23): error
TS2304: Cannot find name 'JQueryEventObject'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(1401,70): error
TS2304: Cannot find name 'JQueryAjaxSettings'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(1603,50): error
TS2304: Cannot find name 'JQueryPromise'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(1623,50): error
TS2304: Cannot find name 'JQueryPromise'.
node_modules/fullcalendar/dist/fullcalendar.d.ts(2588,50): error
TS2304: Cannot find name 'JQueryPromise'.
how to fix it?
my index.component.ts
import { Component, } from '@angular/core';
import 'Fullcalendar';
@Component({
selector: 'app-index',
templateUrl: './index.component.html',
styleUrls: ['./index.component.css']
})
export class IndexComponent {
title = 'app';
calendarOptions:Object = {
height: 'parent',
fixedWeekCount : false,
defaultDate: '2016-09-12',
editable: true,
eventLimit: true, // allow "more" link when too many events
events: [
{
title: 'All Day Event',
start: '2016-09-01'
},
{
title: 'Long Event',
start: '2016-09-07',
end: '2016-09-10'
},
{
id: 999,
title: 'Repeating Event',
start: '2016-09-09T16:00:00'
},
{
id: 999,
title: 'Repeating Event',
start: '2016-09-16T16:00:00'
},
{
title: 'Conference',
start: '2016-09-11',
end: '2016-09-13'
},
{
title: 'Meeting',
start: '2016-09-12T10:30:00',
end: '2016-09-12T12:30:00'
},
{
title: 'Lunch',
start: '2016-09-12T12:00:00'
},
{
title: 'Meeting',
start: '2016-09-12T14:30:00'
},
{
title: 'Happy Hour',
start: '2016-09-12T17:30:00'
},
{
title: 'Dinner',
start: '2016-09-12T20:00:00'
},
{
title: 'Birthday Party',
start: '2016-09-13T07:00:00'
},
{
title: 'Click for Google',
url: 'http://google.com/',
start: '2016-09-28'
}
]
};
onCalendarInit(initialized: boolean) {
console.log('Calendar initialized');
}
}
app.module.ts
import { CalendarComponent } from 'ap-angular2-fullcalendar';
import { CalendarModule } from 'ap-angular2-fullcalendar';
@NgModule({
declarations: [
AppComponent,
IndexComponent,
CalendarComponent
],
imports: [
BrowserModule,
NgbModule.forRoot(),
AngularFontAwesomeModule,
routes
],
index.component.html
<angular2-fullcalendar [options]="calendarOptions" (initialized)="onCalendarInit($event)"></angular2-fullcalendar>
angular fullcalendar fullcalendar-scheduler
angular fullcalendar fullcalendar-scheduler
edited Dec 20 '17 at 12:06
asked Dec 20 '17 at 5:37
core114
1,35151848
1,35151848
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
up vote
10
down vote
accepted
The problem is in fullcalendar package inside ap-angular2-fullcalendar node_modules.
Fullcalendar has been updated 3.8.0 but you need 3.7.0...
My solution is...
Step 1: npm install fullcalendar@3.7.0 --save
;
Step 2: in your package.json write/edit 'postinstall'
to "rm -Rf ./node_modules/app-angular2-fullcalendar/node_modules"
1
Thanks sir I'm Installed thisnpm install fullcalendar@3.6.1
now its work
– core114
Dec 21 '17 at 5:33
1
@Ruslan Kovalchuk same thing I do but not working...!
– Brijesh Mavani
Jan 17 at 9:20
@Kansara try this onenpm install fullcalendar@3.6.1
– core114
Mar 6 at 13:00
add a comment |
up vote
1
down vote
Just do this - you're probably using the Angular CLI:
npm i @types/fullcalendar -s
You don't have the typings
2
Awesome...It worked for me..thanks bro
– Renil Babu
Jun 6 at 6:45
add a comment |
up vote
0
down vote
I Found some solution now its work for me Im Updated to npm install fullcalendar@3.6.1
add a comment |
up vote
0
down vote
I had the same problem too. I solved it updating fullcalendar dependecie exactly to version 3.6.1.
npm install --save fullcalendar@3.6.1
add a comment |
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
10
down vote
accepted
The problem is in fullcalendar package inside ap-angular2-fullcalendar node_modules.
Fullcalendar has been updated 3.8.0 but you need 3.7.0...
My solution is...
Step 1: npm install fullcalendar@3.7.0 --save
;
Step 2: in your package.json write/edit 'postinstall'
to "rm -Rf ./node_modules/app-angular2-fullcalendar/node_modules"
1
Thanks sir I'm Installed thisnpm install fullcalendar@3.6.1
now its work
– core114
Dec 21 '17 at 5:33
1
@Ruslan Kovalchuk same thing I do but not working...!
– Brijesh Mavani
Jan 17 at 9:20
@Kansara try this onenpm install fullcalendar@3.6.1
– core114
Mar 6 at 13:00
add a comment |
up vote
10
down vote
accepted
The problem is in fullcalendar package inside ap-angular2-fullcalendar node_modules.
Fullcalendar has been updated 3.8.0 but you need 3.7.0...
My solution is...
Step 1: npm install fullcalendar@3.7.0 --save
;
Step 2: in your package.json write/edit 'postinstall'
to "rm -Rf ./node_modules/app-angular2-fullcalendar/node_modules"
1
Thanks sir I'm Installed thisnpm install fullcalendar@3.6.1
now its work
– core114
Dec 21 '17 at 5:33
1
@Ruslan Kovalchuk same thing I do but not working...!
– Brijesh Mavani
Jan 17 at 9:20
@Kansara try this onenpm install fullcalendar@3.6.1
– core114
Mar 6 at 13:00
add a comment |
up vote
10
down vote
accepted
up vote
10
down vote
accepted
The problem is in fullcalendar package inside ap-angular2-fullcalendar node_modules.
Fullcalendar has been updated 3.8.0 but you need 3.7.0...
My solution is...
Step 1: npm install fullcalendar@3.7.0 --save
;
Step 2: in your package.json write/edit 'postinstall'
to "rm -Rf ./node_modules/app-angular2-fullcalendar/node_modules"
The problem is in fullcalendar package inside ap-angular2-fullcalendar node_modules.
Fullcalendar has been updated 3.8.0 but you need 3.7.0...
My solution is...
Step 1: npm install fullcalendar@3.7.0 --save
;
Step 2: in your package.json write/edit 'postinstall'
to "rm -Rf ./node_modules/app-angular2-fullcalendar/node_modules"
answered Dec 20 '17 at 14:55
Ruslan Kovalchuk
12413
12413
1
Thanks sir I'm Installed thisnpm install fullcalendar@3.6.1
now its work
– core114
Dec 21 '17 at 5:33
1
@Ruslan Kovalchuk same thing I do but not working...!
– Brijesh Mavani
Jan 17 at 9:20
@Kansara try this onenpm install fullcalendar@3.6.1
– core114
Mar 6 at 13:00
add a comment |
1
Thanks sir I'm Installed thisnpm install fullcalendar@3.6.1
now its work
– core114
Dec 21 '17 at 5:33
1
@Ruslan Kovalchuk same thing I do but not working...!
– Brijesh Mavani
Jan 17 at 9:20
@Kansara try this onenpm install fullcalendar@3.6.1
– core114
Mar 6 at 13:00
1
1
Thanks sir I'm Installed this
npm install fullcalendar@3.6.1
now its work– core114
Dec 21 '17 at 5:33
Thanks sir I'm Installed this
npm install fullcalendar@3.6.1
now its work– core114
Dec 21 '17 at 5:33
1
1
@Ruslan Kovalchuk same thing I do but not working...!
– Brijesh Mavani
Jan 17 at 9:20
@Ruslan Kovalchuk same thing I do but not working...!
– Brijesh Mavani
Jan 17 at 9:20
@Kansara try this one
npm install fullcalendar@3.6.1
– core114
Mar 6 at 13:00
@Kansara try this one
npm install fullcalendar@3.6.1
– core114
Mar 6 at 13:00
add a comment |
up vote
1
down vote
Just do this - you're probably using the Angular CLI:
npm i @types/fullcalendar -s
You don't have the typings
2
Awesome...It worked for me..thanks bro
– Renil Babu
Jun 6 at 6:45
add a comment |
up vote
1
down vote
Just do this - you're probably using the Angular CLI:
npm i @types/fullcalendar -s
You don't have the typings
2
Awesome...It worked for me..thanks bro
– Renil Babu
Jun 6 at 6:45
add a comment |
up vote
1
down vote
up vote
1
down vote
Just do this - you're probably using the Angular CLI:
npm i @types/fullcalendar -s
You don't have the typings
Just do this - you're probably using the Angular CLI:
npm i @types/fullcalendar -s
You don't have the typings
answered Mar 14 at 21:25
Devin McQueeney
6551626
6551626
2
Awesome...It worked for me..thanks bro
– Renil Babu
Jun 6 at 6:45
add a comment |
2
Awesome...It worked for me..thanks bro
– Renil Babu
Jun 6 at 6:45
2
2
Awesome...It worked for me..thanks bro
– Renil Babu
Jun 6 at 6:45
Awesome...It worked for me..thanks bro
– Renil Babu
Jun 6 at 6:45
add a comment |
up vote
0
down vote
I Found some solution now its work for me Im Updated to npm install fullcalendar@3.6.1
add a comment |
up vote
0
down vote
I Found some solution now its work for me Im Updated to npm install fullcalendar@3.6.1
add a comment |
up vote
0
down vote
up vote
0
down vote
I Found some solution now its work for me Im Updated to npm install fullcalendar@3.6.1
I Found some solution now its work for me Im Updated to npm install fullcalendar@3.6.1
answered Dec 21 '17 at 5:34
core114
1,35151848
1,35151848
add a comment |
add a comment |
up vote
0
down vote
I had the same problem too. I solved it updating fullcalendar dependecie exactly to version 3.6.1.
npm install --save fullcalendar@3.6.1
add a comment |
up vote
0
down vote
I had the same problem too. I solved it updating fullcalendar dependecie exactly to version 3.6.1.
npm install --save fullcalendar@3.6.1
add a comment |
up vote
0
down vote
up vote
0
down vote
I had the same problem too. I solved it updating fullcalendar dependecie exactly to version 3.6.1.
npm install --save fullcalendar@3.6.1
I had the same problem too. I solved it updating fullcalendar dependecie exactly to version 3.6.1.
npm install --save fullcalendar@3.6.1
answered Nov 10 at 17:17
Matias Cassanelli
11
11
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%2f47899427%2ffullcalendar-has-no-exported-member-options-getting-error-in-angular%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