Hi guys,
I have a project based on Meteor 1.2.1 I try update it to 1.3.4.4 and until now I have two problem. I open this topic to ask my questions and share experience, maybe itβs useful for the others.
Question #1:
When I update my project with meteor update command I see this message on terminal:
Unable to resolve some modules:
"jquery" in /home/user/Programming/IProjects/tttest/Sources/client/lib/select2/select2.full.js
(web.browser)
If you notice problems related to these missing modules, consider running:
meteor npm install --save jquery
but I havenβt any package.json for add jquery to it.
What is this message about?
Question #2:
I can run my project successfully in Meteor 1.2.1 but now after update My app crashed with iron-router message βOrganize your Meteor applicationβ like below image:
so how is anybody supposed to help you? If you donβt show your code or at least copy paste the complete error message from your console, I am afraid all that is left for you is to revert back to 1.2.1.
I have upgraded many sites to the latest version of Iron Router and Meteor and did not have any problems.
My project a little big but if you want to see any file (for example router.js or server startup or β¦) I can send it here. This is my application structure:
And without any error on server console.
I canβt understand where is app.js file and how to debug this to find issue.
I have upgraded many sites to the latest version of Iron Router and Meteor and did not have any problems.
I also update near 4 app from 1.2.1 to 1.3.x based on Iron-Router without any issue but this app crashed without any reason.
Iβm doing double check my codes and it seems all things is correct.
I search a lot and it seems I have same issue as this one but that solution (remove .meteor folder and recreate it) not working for me.
@perak save me. @perak point to Chrome on this issue and this note save my life. I saw that project not working on Chrome too but I didnβt see console output on Chrome.
This is error message on Chrome:
I donβt know why but on Chrome more error printed on console and the main error is Uncaught TypeError: Cannot read property 'define' of undefined and this is a i18n files of select2 component that I used in project in client/lib/select2/i18n path. I remove this folder at all and now project works well without any issue.
Again thanks @perak