Added accounts-google to my app, just looking to remove it, total beginner here. I used the command meteor add accounts-google, but meteor undo and meteor destroy aren't valid commands.
Found it, meteor remove accounts-google
thanks anyway.
Related
I recently updated my Meteor App to 1.3 and also want to migrate to the "new style" of coding, meaning ES2015, React, later on Apollo/GraphQL.
First I only want to use the import syntax. But when I meteor add Ecmascript it will then hang on meteor:
Building for web.browser /
takes forever.
Any ideas why?
I had the same issue. In my case this is how I got it fixed. May be it is the same for you.
I had multiple third party libraries in client/lib folder.
To use ES6 syntax, I added 'ecmascript' to my .meteor/packages file and after that issuing the meteor command would just hang.
During trial and error, I figured out that
deleting the client/lib directory made meteor to start
.
For the libraries my application depends on, I went to https://atmospherejs.com, searched for the meteor specific package name for the dependency and added these to .meteor/packages file.
e.g: Instead of copying the datatables.js and datatables.css inside client/lib folder, add 'menway:jquery-datatables' to .meteor/packages or issue the command meteor add menway:jquery-datatables
I try to port some of my packages to the new meteor 0.9 rc.
2 of 3 did work, the 3rd has a hack in it which does work when installed via meteor add.
Is there a way to remove a published package from the meteor package server? I don't want a broken package in the repository.
It's currently impossible to remove published packages on meteor's packaging server and on atmosphere.
What you could do however is create a new version that has a empty Package.onUse. And a comment why it's empty. This makes your package inert and ensures you that you won't break anyones project.
Late edit:
You can now hide it from the search results with set-unmigrated
meteor admin set-unmigrated YOURPACKAGE
It is not possible to remove the package from atmosphere.js but it is possible to hide using .
meteor admin set-unmigrated PACKAGE-NAME . but this will not prevent users from adding the package in their project using . meteor add PACKAGE-NAME .
In this case it makes sense to put empty Package.onUse and update the package as highlighted by Marco in his answer.
I recently updated my meteor app to 0.6.5 and I noticed that the router package is not working properly, so I also did a mrt update, but there are still issues. For example, accessing routes does not render the appropriate template. When I run the router test there is also this issue:
Error: Cannot find module 'connect'
I noticed that there was an update to meteor router, but my app is failing to render the corresponding route-template.
Please let me know if there is a method to fix this issue. Thanks
Meteor Router has been updated to support 0.6.5. Note also that there will be the last (non bugfix) release and there is a new router project called Iron Router that will replace Meteor Router.
Meteor router doesn't yet support 0.6.5. It should do shortly as it just has to be slightly modified to work with the new version of meteor containing the linker branch. Why not consider the move to iron-router.
Tom Coleman (author of meteor-router) & Chris Mather worked to build it. It is compatible with 0.6.5
In the meantime, and more generally for mrt packages, you may need to downgrade to 0.6.4.1 until the package author has had a chance to update to the new package API that is part of 0.6.5. You can find instructions here - https://groups.google.com/d/topic/meteor-talk/BbrjGcGGIzc/discussion
Upgraded to the latest 0.6.0 of meteor and Collection API is not define, meteor does not start correctly any more:
ReferenceError: CollectionAPI is not defined
I copy pasted collectionapi to app "packages" folder, but still does not run. Is there anything else I have to do, to use Collection API with latest meteor 0.6.0?
meteor add collectionapi - says: collectionapi: already using
Thanks in advance for any kind of information and help!
I'm not sure copying and pasting packages is a good idea. Have you tried reinstalling it with meteor remove collectionapi and then adding it again?
Update: I seem to be getting the same problem with one of my packages, chartjs. It's now giving a similar error to yours, saying ReferenceError: Chart is not defined. Previously Chart was scoped to the window, so it could be accessed in my client JS files. It must be due to the scoping changes in 0.6.0, but I'm not sure yet how to resolve it - probably the package itself needs updating.
Update 2: Yup, akshat was dead right, the JS file at the heart of the chartjs package needed the var Chart changing to just Chart so it would be scoped to the window object. Have sent a pull request to the package.
Yes, thanks for answers. Fix is also available for download in CollectionAPI github:
https://github.com/crazytoad/meteor-collectionapi/pull/12
I tried replicating the todos application without using the example meteor terminal commentlets
Steps, i followed, (I'm using Ubuntu 12.04 build)
In terminal - meteor create todos
-- created the todos
a default *.html, *.css, *.js create underneath to the todos folder,
i deleted and replaced the actual todo artifacts into to it (e.g. client, server, public folders to the root) -> tried running the app - UI appears but the functionality breaks
I just wanna know what is ideal way create a app something similar structure as todos app.
This might help other folks to create a larger applications... currently i stuck in single *.js.
There's also a .meteor directory per project. Did you copy that too?
I've used a vagrant (https://github.com/pixelhandler/vagrant-dev-env) to install all of the dependencies and have an app running fine.
I just used 'meteor create myapp' like the docs say.
My bad i found it, just use this commentlet on terminal
meteor list --using
the above commentlet will list you out all the packages used for the current meteor project
Just add those project to the newly create meteor project and write your own structure, i found another way struture the project which i post as soon as possible...
meteor list --using
underscore
backbone
spiderable
accounts-ui
accounts-weibo
accounts-google
accounts-facebook
accounts-password
accounts-twitter
jquery
preserve-inputs
intersting fact is todo example comes two version one with secure and non secure packages - out-of-box build release with 0.4.2, and 0.5.0 respectively...