Cannot set property fullcalendar of undefined in Meteor React










0















I am trying to use fullcalendar-reactwrapper npm package in my meteor react application. But, I am getting the error when using import:



import React from 'react'; 
import ReactDOM from 'react-dom';
import FullCalendar from 'fullcalendar-reactwrapper';


This is the error I am getting,



C:UsersarunsAppDataLocal.meteorpackagespromise.11.1npmnode_modulesmeteor-promisepromise_server.js:218
throw error;



TypeError: Cannot set property 'fullCalendar' of undefined
at Object.<anonymous> (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:26051:19)
at $.fullCalendar.version (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:26028:37)
at Object.map../af (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:26037:3)
at __webpack_require__ (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:30:30)
at Object.defineProperty.value (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:25910:21)
at __webpack_require__ (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:30:30)
at Object.<anonymous> (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:41903:18)
at __webpack_require__ (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:30:30)
at C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:76:18
at C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:79:10
at webpackUniversalModuleDefinition (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:3:20)
at Object.<anonymous> (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:10:3)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at npmRequire (C:PRJldrre.meteorlocalbuildprogramsservernpm-require.js:133:10)
at Module.useNode (packagesmodules-runtime.js:664:18)
at index.js (packagesmodules.js:952:8)


I am using Meteor 1.8, and the below is my npm diff after fullcalendar,



C:PRJldrre>git diff package.json
diff --git a/package.json b/package.json
index 52bca3d..4628971 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,7 @@
"commonmark": "^0.28.1",
"core-js": "^2.5.5",
"file-saver": "^1.3.8",
+ "fullcalendar-reactwrapper": "^1.0.7",
"griddle-react": "^1.13.1",
"handlebars": "^4.0.11",
"jquery": "2.2.4",

C:PRJldrre>git diff package.json
diff --git a/package.json b/package.json
index 52bca3d..4628971 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,7 @@
"commonmark": "^0.28.1",
"core-js": "^2.5.5",
"file-saver": "^1.3.8",
+ "fullcalendar-reactwrapper": "^1.0.7",
"griddle-react": "^1.13.1",
"handlebars": "^4.0.11",
"jquery": "2.2.4",


Please let me know what I am missing here. Thanks in advance for your help :-)










share|improve this question






















  • Many forum suggested to remove .meteor local, I have even tried project from new folder, no luck. I am using windows 10. Now trying the ultimate solution of uninstall meteor and installing it again.

    – Arun
    Nov 15 '18 at 6:57











  • Are you using the component anywhere in your code? It seems like a runtime error for a misconfigured component rather than a compilation error due to failure to import a module. If so, please include the code where you are using the component, and try to see if without using it you are still getting the same error. Also, are you trying to do a SSR?

    – MasterAM
    Nov 15 '18 at 7:32












  • No luck. Getting the same error even after re-installing meteor.

    – Arun
    Nov 15 '18 at 7:54











  • No I am not using the component anywhere, due to the error I removed the code, and trying only with import. SSR - No the module where this is imported is only on client side

    – Arun
    Nov 15 '18 at 7:55












  • The package appears to depend on the following packages: fullcalendar, jquery, moment, react, react-dom. It's not clear if you have installed all of those packages into your application as well? The error message suggests that maybe the first one in particular is missing.

    – ADyson
    Nov 15 '18 at 9:49
















0















I am trying to use fullcalendar-reactwrapper npm package in my meteor react application. But, I am getting the error when using import:



import React from 'react'; 
import ReactDOM from 'react-dom';
import FullCalendar from 'fullcalendar-reactwrapper';


This is the error I am getting,



C:UsersarunsAppDataLocal.meteorpackagespromise.11.1npmnode_modulesmeteor-promisepromise_server.js:218
throw error;



TypeError: Cannot set property 'fullCalendar' of undefined
at Object.<anonymous> (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:26051:19)
at $.fullCalendar.version (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:26028:37)
at Object.map../af (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:26037:3)
at __webpack_require__ (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:30:30)
at Object.defineProperty.value (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:25910:21)
at __webpack_require__ (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:30:30)
at Object.<anonymous> (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:41903:18)
at __webpack_require__ (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:30:30)
at C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:76:18
at C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:79:10
at webpackUniversalModuleDefinition (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:3:20)
at Object.<anonymous> (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:10:3)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at npmRequire (C:PRJldrre.meteorlocalbuildprogramsservernpm-require.js:133:10)
at Module.useNode (packagesmodules-runtime.js:664:18)
at index.js (packagesmodules.js:952:8)


I am using Meteor 1.8, and the below is my npm diff after fullcalendar,



C:PRJldrre>git diff package.json
diff --git a/package.json b/package.json
index 52bca3d..4628971 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,7 @@
"commonmark": "^0.28.1",
"core-js": "^2.5.5",
"file-saver": "^1.3.8",
+ "fullcalendar-reactwrapper": "^1.0.7",
"griddle-react": "^1.13.1",
"handlebars": "^4.0.11",
"jquery": "2.2.4",

C:PRJldrre>git diff package.json
diff --git a/package.json b/package.json
index 52bca3d..4628971 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,7 @@
"commonmark": "^0.28.1",
"core-js": "^2.5.5",
"file-saver": "^1.3.8",
+ "fullcalendar-reactwrapper": "^1.0.7",
"griddle-react": "^1.13.1",
"handlebars": "^4.0.11",
"jquery": "2.2.4",


Please let me know what I am missing here. Thanks in advance for your help :-)










share|improve this question






















  • Many forum suggested to remove .meteor local, I have even tried project from new folder, no luck. I am using windows 10. Now trying the ultimate solution of uninstall meteor and installing it again.

    – Arun
    Nov 15 '18 at 6:57











  • Are you using the component anywhere in your code? It seems like a runtime error for a misconfigured component rather than a compilation error due to failure to import a module. If so, please include the code where you are using the component, and try to see if without using it you are still getting the same error. Also, are you trying to do a SSR?

    – MasterAM
    Nov 15 '18 at 7:32












  • No luck. Getting the same error even after re-installing meteor.

    – Arun
    Nov 15 '18 at 7:54











  • No I am not using the component anywhere, due to the error I removed the code, and trying only with import. SSR - No the module where this is imported is only on client side

    – Arun
    Nov 15 '18 at 7:55












  • The package appears to depend on the following packages: fullcalendar, jquery, moment, react, react-dom. It's not clear if you have installed all of those packages into your application as well? The error message suggests that maybe the first one in particular is missing.

    – ADyson
    Nov 15 '18 at 9:49














0












0








0








I am trying to use fullcalendar-reactwrapper npm package in my meteor react application. But, I am getting the error when using import:



import React from 'react'; 
import ReactDOM from 'react-dom';
import FullCalendar from 'fullcalendar-reactwrapper';


This is the error I am getting,



C:UsersarunsAppDataLocal.meteorpackagespromise.11.1npmnode_modulesmeteor-promisepromise_server.js:218
throw error;



TypeError: Cannot set property 'fullCalendar' of undefined
at Object.<anonymous> (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:26051:19)
at $.fullCalendar.version (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:26028:37)
at Object.map../af (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:26037:3)
at __webpack_require__ (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:30:30)
at Object.defineProperty.value (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:25910:21)
at __webpack_require__ (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:30:30)
at Object.<anonymous> (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:41903:18)
at __webpack_require__ (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:30:30)
at C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:76:18
at C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:79:10
at webpackUniversalModuleDefinition (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:3:20)
at Object.<anonymous> (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:10:3)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at npmRequire (C:PRJldrre.meteorlocalbuildprogramsservernpm-require.js:133:10)
at Module.useNode (packagesmodules-runtime.js:664:18)
at index.js (packagesmodules.js:952:8)


I am using Meteor 1.8, and the below is my npm diff after fullcalendar,



C:PRJldrre>git diff package.json
diff --git a/package.json b/package.json
index 52bca3d..4628971 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,7 @@
"commonmark": "^0.28.1",
"core-js": "^2.5.5",
"file-saver": "^1.3.8",
+ "fullcalendar-reactwrapper": "^1.0.7",
"griddle-react": "^1.13.1",
"handlebars": "^4.0.11",
"jquery": "2.2.4",

C:PRJldrre>git diff package.json
diff --git a/package.json b/package.json
index 52bca3d..4628971 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,7 @@
"commonmark": "^0.28.1",
"core-js": "^2.5.5",
"file-saver": "^1.3.8",
+ "fullcalendar-reactwrapper": "^1.0.7",
"griddle-react": "^1.13.1",
"handlebars": "^4.0.11",
"jquery": "2.2.4",


Please let me know what I am missing here. Thanks in advance for your help :-)










share|improve this question














I am trying to use fullcalendar-reactwrapper npm package in my meteor react application. But, I am getting the error when using import:



import React from 'react'; 
import ReactDOM from 'react-dom';
import FullCalendar from 'fullcalendar-reactwrapper';


This is the error I am getting,



C:UsersarunsAppDataLocal.meteorpackagespromise.11.1npmnode_modulesmeteor-promisepromise_server.js:218
throw error;



TypeError: Cannot set property 'fullCalendar' of undefined
at Object.<anonymous> (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:26051:19)
at $.fullCalendar.version (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:26028:37)
at Object.map../af (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:26037:3)
at __webpack_require__ (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:30:30)
at Object.defineProperty.value (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:25910:21)
at __webpack_require__ (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:30:30)
at Object.<anonymous> (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:41903:18)
at __webpack_require__ (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:30:30)
at C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:76:18
at C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:79:10
at webpackUniversalModuleDefinition (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:3:20)
at Object.<anonymous> (C:PRJldrrenode_modulesfullcalendar-reactwrapperlibindex.js:10:3)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at npmRequire (C:PRJldrre.meteorlocalbuildprogramsservernpm-require.js:133:10)
at Module.useNode (packagesmodules-runtime.js:664:18)
at index.js (packagesmodules.js:952:8)


I am using Meteor 1.8, and the below is my npm diff after fullcalendar,



C:PRJldrre>git diff package.json
diff --git a/package.json b/package.json
index 52bca3d..4628971 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,7 @@
"commonmark": "^0.28.1",
"core-js": "^2.5.5",
"file-saver": "^1.3.8",
+ "fullcalendar-reactwrapper": "^1.0.7",
"griddle-react": "^1.13.1",
"handlebars": "^4.0.11",
"jquery": "2.2.4",

C:PRJldrre>git diff package.json
diff --git a/package.json b/package.json
index 52bca3d..4628971 100644
--- a/package.json
+++ b/package.json
@@ -16,6 +16,7 @@
"commonmark": "^0.28.1",
"core-js": "^2.5.5",
"file-saver": "^1.3.8",
+ "fullcalendar-reactwrapper": "^1.0.7",
"griddle-react": "^1.13.1",
"handlebars": "^4.0.11",
"jquery": "2.2.4",


Please let me know what I am missing here. Thanks in advance for your help :-)







javascript reactjs meteor npm fullcalendar






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 15 '18 at 6:20









ArunArun

203




203












  • Many forum suggested to remove .meteor local, I have even tried project from new folder, no luck. I am using windows 10. Now trying the ultimate solution of uninstall meteor and installing it again.

    – Arun
    Nov 15 '18 at 6:57











  • Are you using the component anywhere in your code? It seems like a runtime error for a misconfigured component rather than a compilation error due to failure to import a module. If so, please include the code where you are using the component, and try to see if without using it you are still getting the same error. Also, are you trying to do a SSR?

    – MasterAM
    Nov 15 '18 at 7:32












  • No luck. Getting the same error even after re-installing meteor.

    – Arun
    Nov 15 '18 at 7:54











  • No I am not using the component anywhere, due to the error I removed the code, and trying only with import. SSR - No the module where this is imported is only on client side

    – Arun
    Nov 15 '18 at 7:55












  • The package appears to depend on the following packages: fullcalendar, jquery, moment, react, react-dom. It's not clear if you have installed all of those packages into your application as well? The error message suggests that maybe the first one in particular is missing.

    – ADyson
    Nov 15 '18 at 9:49


















  • Many forum suggested to remove .meteor local, I have even tried project from new folder, no luck. I am using windows 10. Now trying the ultimate solution of uninstall meteor and installing it again.

    – Arun
    Nov 15 '18 at 6:57











  • Are you using the component anywhere in your code? It seems like a runtime error for a misconfigured component rather than a compilation error due to failure to import a module. If so, please include the code where you are using the component, and try to see if without using it you are still getting the same error. Also, are you trying to do a SSR?

    – MasterAM
    Nov 15 '18 at 7:32












  • No luck. Getting the same error even after re-installing meteor.

    – Arun
    Nov 15 '18 at 7:54











  • No I am not using the component anywhere, due to the error I removed the code, and trying only with import. SSR - No the module where this is imported is only on client side

    – Arun
    Nov 15 '18 at 7:55












  • The package appears to depend on the following packages: fullcalendar, jquery, moment, react, react-dom. It's not clear if you have installed all of those packages into your application as well? The error message suggests that maybe the first one in particular is missing.

    – ADyson
    Nov 15 '18 at 9:49

















Many forum suggested to remove .meteor local, I have even tried project from new folder, no luck. I am using windows 10. Now trying the ultimate solution of uninstall meteor and installing it again.

– Arun
Nov 15 '18 at 6:57





Many forum suggested to remove .meteor local, I have even tried project from new folder, no luck. I am using windows 10. Now trying the ultimate solution of uninstall meteor and installing it again.

– Arun
Nov 15 '18 at 6:57













Are you using the component anywhere in your code? It seems like a runtime error for a misconfigured component rather than a compilation error due to failure to import a module. If so, please include the code where you are using the component, and try to see if without using it you are still getting the same error. Also, are you trying to do a SSR?

– MasterAM
Nov 15 '18 at 7:32






Are you using the component anywhere in your code? It seems like a runtime error for a misconfigured component rather than a compilation error due to failure to import a module. If so, please include the code where you are using the component, and try to see if without using it you are still getting the same error. Also, are you trying to do a SSR?

– MasterAM
Nov 15 '18 at 7:32














No luck. Getting the same error even after re-installing meteor.

– Arun
Nov 15 '18 at 7:54





No luck. Getting the same error even after re-installing meteor.

– Arun
Nov 15 '18 at 7:54













No I am not using the component anywhere, due to the error I removed the code, and trying only with import. SSR - No the module where this is imported is only on client side

– Arun
Nov 15 '18 at 7:55






No I am not using the component anywhere, due to the error I removed the code, and trying only with import. SSR - No the module where this is imported is only on client side

– Arun
Nov 15 '18 at 7:55














The package appears to depend on the following packages: fullcalendar, jquery, moment, react, react-dom. It's not clear if you have installed all of those packages into your application as well? The error message suggests that maybe the first one in particular is missing.

– ADyson
Nov 15 '18 at 9:49






The package appears to depend on the following packages: fullcalendar, jquery, moment, react, react-dom. It's not clear if you have installed all of those packages into your application as well? The error message suggests that maybe the first one in particular is missing.

– ADyson
Nov 15 '18 at 9:49













0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53313542%2fcannot-set-property-fullcalendar-of-undefined-in-meteor-react%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53313542%2fcannot-set-property-fullcalendar-of-undefined-in-meteor-react%23new-answer', 'question_page');

);

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







Popular posts from this blog

Use pre created SQLite database for Android project in kotlin

Darth Vader #20

Ondo