Yes, I did try to remove .meteor/local, and it seems to run just fine.
The latest commit I made 'Update to Meteor 1.4.0.1' looks more extensive than it actually is. The ES2015 syntax introduced by the 'ecmascript' package doesn't play well with global variables, like jQuery and the corresponding plugins, so they initially caused warnings.
I solved the issues by removing the plugins from /client/packages and adding their respective atmosphere wrapper packages (TODO: load them directly from npm). This is why so many files are modified in the latest commit.
I think it makes a lot of sense to remove the 3rd-party libs from the repository anyway.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
unfortunately I couldn't make this PR work, Here are the logs:
Unabletoresolvesomemodules:"jquery"in/D/Calismalar/Meteor/mongoclient-PR138/client/plugins/dataTables/datatables.min.js(web.browser)"mongodb"in/D/Calismalar/Meteor/mongoclient-PR138/lib/routers/file_management/download_file.js(web.browser)"datatables.net"in/D/Calismalar/Meteor/mongoclient-PR138/client/plugins/dataTables/datatables.min.js(web.browser)"datatables.net-bs"in/D/Calismalar/Meteor/mongoclient-PR138/client/plugins/dataTables/datatables.min.js(web.browser)"datatables.net-buttons"in/D/Calismalar/Meteor/mongoclient-PR138/client/plugins/dataTables/datatables.min.js(web.browser)"datatables.net-responsive"in/D/Calismalar/Meteor/mongoclient-PR138/client/plugins/dataTables/datatables.min.js(web.browser)Ifyounoticeproblemsrelatedtothesemissingmodules,considerrunning:meteornpminstall--savejquerymongodbdatatables.netdatatables.net-bsdatatables.net-buttonsdatatables.net-responsiveUnabletoresolvesomemodules:"mongodb"in/D/Calismalar/Meteor/mongoclient-PR138/server/mongodb/helper.js(os.windows.x86_32)"winston"in/D/Calismalar/Meteor/mongoclient-PR138/server/internal/logging/winston.js(os.windows.x86_32)"mongodb-restore"in/D/Calismalar/Meteor/mongoclient-PR138/server/mongodb/methods_dump_restore.js(os.windows.x86_32)"mongodb-backup"in/D/Calismalar/Meteor/mongoclient-PR138/server/mongodb/methods_dump_restore.js(os.windows.x86_32)"cheerio"in/D/Calismalar/Meteor/mongoclient-PR138/server/mongodb/methods_user_management.js(os.windows.x86_32)Ifyounoticeproblemsrelatedtothesemissingmodules,considerrunning:meteornpminstall--savemongodbwinstonmongodb-restoremongodb-backupcheerioW20160730-17:45:29.635(3)?(STDERR)C:\Users\RSercan\AppData\Local\.meteor\packages\meteor-tool\1.4.0-1\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\fibers\future.js:280W20160730-17:45:29.698(3)?(STDERR)throw(ex);W20160730-17:45:29.699(3)?(STDERR)^W20160730-17:45:29.699(3)?(STDERR)W20160730-17:45:29.699(3)?(STDERR)Error:Can't find npm module 'winston'. Did you forget to call 'Npm.depends' in package.js within the 'modules-runtime' package?W20160730-17:45:29.699(3)?(STDERR)atObject.Npm.require(D:\Calismalar\Meteor\mongoclient-PR138\.meteor\local\build\programs\server\boot.js:203:17)W20160730-17:45:29.699(3)?(STDERR)atoptions.fallback(packages/modules-runtime/modules-runtime.js:21:1)W20160730-17:45:29.699(3)?(STDERR)atrequire(packages/modules-runtime/.npm/package/node_modules/install/install.js:88:1)W20160730-17:45:29.700(3)?(STDERR)atmeteorInstall.server.internal.logging.winston.js(server/internal/logging/winston.js:4:10)W20160730-17:45:29.700(3)?(STDERR)atfileEvaluate(packages/modules-runtime/.npm/package/node_modules/install/install.js:153:1)W20160730-17:45:29.700(3)?(STDERR)atrequire(packages/modules-runtime/.npm/package/node_modules/install/install.js:82:1)W20160730-17:45:29.700(3)?(STDERR)atD:\Calismalar\Meteor\mongoclient-PR138\.meteor\local\build\programs\server\app\app.js:2067:1W20160730-17:45:29.700(3)?(STDERR)atD:\Calismalar\Meteor\mongoclient-PR138\.meteor\local\build\programs\server\boot.js:297:10W20160730-17:45:29.700(3)?(STDERR)atArray.forEach(native)W20160730-17:45:29.701(3)?(STDERR)atFunction._.each._.forEach(C:\Users\RSercan\AppData\Local\.meteor\packages\meteor-tool\1.4.0-1\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\underscore\underscore.js:79:11)=>Exitedwithcode:1
As I mentioned when you remove old build's cache directories, I'm pretty sure you'll encounter these. Try to checkout your fork and re-build.
Cheers
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have tracked the issue an old version of meteor-promise npm package. The devDependency "chimp" is relying on such package and it might be causing the issue.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Nicely done, but now it has this browser error: Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3
Have you tried to connect any database after upgrade ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Okay, it works but there are a lot of view changes (bootstrap execute button has gone smaller, jsoneditor changed, ) and most importantly check-boxes disappeared. (Check the connection screen and you'll realize it.)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It appears that the jsoneditor atmosphere package create the classes on the dom elements different, so the old stylesheet didn't change the visuals.
The visuals can be tweaked, but the most important is that everything at least work properly after this migration. Do you find anything else that doesn't work at all?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
All these issues are caused by deprecated atmosphere packages, so it would definitely be more clever to use the updated npm versions instead.
I unfortunately find it difficult to load the jQuery plugins from npm into a global jQuery object. The plugins are currently just dumped in 'client' and exist globally, but ES2015 imply a more modular structure where the plugins are imported with import Plugin from 'plugin'.
I don't have the time to resolve this right now, but maybe you could have a look at it?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sure. Could you clarify what steps I need to take in order to rebase correctly? I have done it several times before, and I use SourceTree, but the commits are already on the master branch - so should they end up in another branch?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There are only two commits ahead from your fork, and it seems to be conflicting because of it. It should be on master branch. Or instead you can merge these commits to your fork
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: rsercano
Hello,
thank you so much for this PR, have you tried this with removing .meteor/local cache storages ?
Cheers
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: birkskyum
Yes, I did try to remove .meteor/local, and it seems to run just fine.
The latest commit I made 'Update to Meteor 1.4.0.1' looks more extensive than it actually is. The ES2015 syntax introduced by the 'ecmascript' package doesn't play well with global variables, like jQuery and the corresponding plugins, so they initially caused warnings.
I solved the issues by removing the plugins from /client/packages and adding their respective atmosphere wrapper packages (TODO: load them directly from npm). This is why so many files are modified in the latest commit.
I think it makes a lot of sense to remove the 3rd-party libs from the repository anyway.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: rsercano
Oh thank you. I totally agree with you about 3rd party libs, I'm checking this PR now
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: rsercano
Hi there,
unfortunately I couldn't make this PR work, Here are the logs:
As I mentioned when you remove old build's cache directories, I'm pretty sure you'll encounter these. Try to checkout your fork and re-build.
Cheers
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: birkskyum
Did you run
meteor npm install? I get the same errors if I delete the node_modules folder.View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: rsercano
Sorry my bad, but now it throws this:
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: birkskyum
It sounds like a windows specific migration issue to 1.4. I found another instance of this error in the forum:
https://forums.meteor.com/t/running-meteor-meteor-1-4-beta-3-on-win-7-os/25620#!
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: birkskyum
I have tracked the issue an old version of meteor-promise npm package. The devDependency "chimp" is relying on such package and it might be causing the issue.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: rsercano
Alright then, since mongoclient doesn't have tests yet, I'll remove this dependency and try it.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: rsercano
Nicely done, but now it has this browser error:
Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3Have you tried to connect any database after upgrade ?
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: birkskyum
I found that jquery:2.2.0 does the trick. I have successfully connected a database.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: rsercano
Okay, it works but there are a lot of view changes (bootstrap execute button has gone smaller, jsoneditor changed, ) and most importantly check-boxes disappeared. (Check the connection screen and you'll realize it.)
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: birkskyum
I have re-added the stylesheets from iCheck and jsoneditor that were placed in /client/plugins. The check-boxes are back again as far as I can tell.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: birkskyum
It appears that the jsoneditor atmosphere package create the classes on the dom elements different, so the old stylesheet didn't change the visuals.
The visuals can be tweaked, but the most important is that everything at least work properly after this migration. Do you find anything else that doesn't work at all?
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: rsercano
I'm checking again, thanks for your great efforts
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: rsercano
It seems way better, if you can resolve style problems, I would gladly accept this PR.
This is old view:
This is the new one:
Could you please check this ? And of course jsoneditor as you mentioned
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: birkskyum
The execute button is now full width again, and the JSON editor is now minimalistic and green again.
It appeared that the jsoneditor atmosphere package was a little outdated, so the issue was resolved by using the npm package instead.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: rsercano
Thank you so much, but still there are issues.
Still having these issues and I guess some datatable columns are not adjusted but this is not related about this upgrade.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: birkskyum
All these issues are caused by deprecated atmosphere packages, so it would definitely be more clever to use the updated npm versions instead.
I unfortunately find it difficult to load the jQuery plugins from npm into a global jQuery object. The plugins are currently just dumped in 'client' and exist globally, but ES2015 imply a more modular structure where the plugins are imported with
import Plugin from 'plugin'.I don't have the time to resolve this right now, but maybe you could have a look at it?
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: rsercano
Alright, thanks for your great efforts again. I will queue this asap. Meanwhile could you please rebase your fork and commit.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: birkskyum
Sure. Could you clarify what steps I need to take in order to rebase correctly? I have done it several times before, and I use SourceTree, but the commits are already on the master branch - so should they end up in another branch?
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: rsercano
There are only two commits ahead from your fork, and it seems to be conflicting because of it. It should be on master branch. Or instead you can merge these commits to your fork
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: birkskyum
Ah, okay. I have merged the new commits to my fork.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: rsercano
Additionally it seems that somehow I cant use autocomplete feature in this PR