Can't install via mrt in meteroite - meteor

I cannot install any packages from atmosphere. On my mac, curl and git installed, i do:
mrt add router
And it happens nothing. No error, no warning, just a non ending process.
Same is true when I do
mrt add somepackagethatdoesnotexist
Since this leaves me without any clues on what to debug, I hope this sound familiar to someone :)

Related

Centos7: Can't install nginx (or epel)

I have a clean install of Centos 7 on a RaspberryPi3b+. I am trying to install nginx and am running into problems with each approach.
Most of the research I've done points to installing epel, and then installing nginx. When I run yum install epel-release, I get the error:
No package epel-release available.
Error: Nothing to do.
Some searching led me to wget it directly from fedora. I was able do that. I then ran rpm -ivh epel-release-latest-7.noarch.rpm successfully and then tried yum install nginx. That gave me this long error:
One of the configured repositories failed (Unknown),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).
3. Run the command with the repository temporarily disabled
yum --disablerepo=<repoid> ...
4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:
yum-config-manager --disable <repoid>
or
subscription-manager repos --disable=<repoid>
5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:
yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
Cannot retrieve metalink for repository: epel/armhfp. Please verify its path and try again
So, I found another method that doesn't require epel. I created a .repo file for nginx at /etc/yum.repos.d/nginx.repo, and added:
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=0
enabled=1
I ran yum repolist and got an error:
http://nginx.org/packages/centos/7/armhfp/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
For laughs, I tried installing nginx anyway and got an error similar to the long one above that the nginx repo failed.
Finally, I tried going to nginx.org and finding the correct link and hard-coding it in the repo file. That didn't work either, and now I am well and truly stuck.

Npm command not working

I have to install natural node in a meteor project. But for that I need to install npm so for that I am using this command "mrt add np". But it not showing anythiing means going in infinite loop. But when I tried to install natural node using command "npm install natural", it got install. Why so??
But for perperly installing natural I need to follow these steps:
"Installing natural package in a meteor application" but when I am doing that basic command is not working. How can I proceed with rest of the things.
Any pointers please. Thanks in advance
Meteorite obtains all the packages from
atmosphere.meteor.com:443
which seems to be down at the moment. Npm doesn't depend thereon, that's why npm install works for you. A solution for you might be adding the git url to the package in the smart.json à la
"somepackage": {
"git":"https://github.com/somegreatgithubber/somepackage.git"
}
Hope that helps, kind regards!

Meteor packages almost always fail to install

My experience with meteor has always been the same: a few packages install with mrt add but most of them exit with some error.
Errors such as
Template names shouldn't contain '.' or '/'
Parse error: ... {{> yield region='menu'}}
There was a problem checking out tag: v0.6.1
error: File not found: lib/moment/moment.js
Parse error: ... afFieldMessage name=field autoform=../.
These were some of the errors I was presented with when I just now tried to do mrt add with houston, ogno-admin, autoform, tabs, issues, and wizard.
I realize this is a vague question, but what am I doing wrong?
Do other people have this experiene with meteor? It would be a really easy way to build lots of different apps if only it worked at all!
Meteorite is wonky sometimes. If you are seeing random errors like this, you may want to follow the cleanup instructions for Meteorite, and make sure you are using the latest version. The moment error you're seeing above happens, for example, when Meteorite fails to check out the git submodule in meteor-moment.
Make sure you're up to date.
sudo -H npm update -g meteorite
Then, quoted from Meteorite troubleshooting:
mrt uninstall
mrt uninstall --system
mrt install .
One other thing, mentioned in the comments, is that unmaintained packages that use the UI will very likely be broken in Meteor 0.8. So don't confuse that with Meteorite errors.

Node-csv-npm install causes Meteor to hang at "Starting your app..."

I created a new meteor app using meteor create, including bootstrap and coffeescript.
Then I added the following packages:
sudo npm install -g meteorite
mrt add filepicker
sudo mrt add xml2js
All is well at this point. I can start the app and see Hello World just fine.
Then I try to add the csv package:
sudo mrt add node-csv-npm
Install goes well, but when I go to start the app, in the terminal, it hangs at "Starting your app."
Open to any ideas.
Thanks!
This is not tied to the node-csv-npm package, I had the problem with another one that was working great an hour ago, but needed to be re-added due to branch merging. Unfortunately, the only solution I've found is a brutal one:
Remove all traces to the package from packages folder, smart.json, smart.lock and packages/.gitignore to be sure.
After that, manually add package/packagename folder with source of the package.

Iron Router doesn't update

I'm trying to update to the version 0.6.2, but when I insert mrt update iron-router in the command line I receive this alert:
Problem installing iron-router
✘ [0.6.1] conflicts with [0.6.2]
Can't resolve dependencies! Use --force if you don't mind mrt taking a wild guess and running your app anyway.
Am I doing something wrong?
Thanks in advance.
You could try a fresh installation:
meteor remove iron-router
rm -rf packages/iron-router
mrt update
meteor add iron-router
Also make sure you're using the latest version of meteorite
sudo -H npm install meteorite
It seems that one of the other smart packages you are using explicitly depends on a different version of Iron Router. Based on the smart.json packages that you posted, accounts-entry depends on 0.6.1 and I'm guessing you are manually depending on iron router 0.6.2 in your main app.
The best course of action is to probably change the version in accounts-entry (it will probably not break anything, as 0.6.1 to 0.6.2 was just bug fixes) and possibly submit a pull request for that as well.
Had a Similar problem.
Go to you app directory, open meteor, then open packages and you will see
iron-router
inside the file listed as a meteor package.
Then go to the terminal and
cd yourApp
meteor add iron:router
for me that added the 1x version and solved many of my errors.
Hope it works!

Resources