oortcloud / meteorite

Installer & smart package manager for Meteor
http://oortcloud.github.com/meteorite/
MIT License
841 stars 106 forks source link

mrt not working with meteor 0.8.1.3 #279

Closed g8d3 closed 10 years ago

g8d3 commented 10 years ago

See:

meteor --version
Release 0.8.1.3
mrt

Stand back while Meteorite does its thing

Installing Meteor

  branch: https://github.com/meteor/meteor.git#master

Installing smart packages

Downloading Meteor development bundle

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: spawn ENOENT
    at errnoException (child_process.js:998:11)
    at Process.ChildProcess._handle.onexit (child_process.js:789:34)

Whichever command I want with mrt it fails, mrt list mrt help for example.

Any ideas?

tmeasday commented 10 years ago

It looks like you are running meteor out of smart.json and thus git. What does your smart.json look like?

g8d3 commented 10 years ago

I don't have a smart.json file. Because I created project with meteor create.

However, I am trying to create one with:

 mrt create my-app

Installing Meteor

  branch: https://github.com/meteor/meteor.git#master

Installing smart packages

Downloading Meteor development bundle

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: spawn ENOENT
    at errnoException (child_process.js:998:11)
    at Process.ChildProcess._handle.onexit (child_process.js:789:34)
tmeasday commented 10 years ago

Hi Juan,,

Are you running the latest version of Meteorite?

On Wednesday, 11 June 2014 at 11:40 am, Juan David Pastas wrote:

I don't have a smart.json file. Because I created project with meteor create. However, I am trying to create one with: mrt create my-app Installing Meteor branch: https://github.com/meteor/meteor.git#master Installing smart packages Downloading Meteor development bundle events.js:72 throw er; // Unhandled 'error' event ^ Error: spawn ENOENT at errnoException (child_process.js:998:11) at Process.ChildProcess._handle.onexit (child_process.js:789:34)

— Reply to this email directly or view it on GitHub (https://github.com/oortcloud/meteorite/issues/279#issuecomment-45692904).

g8d3 commented 10 years ago

how could I know? mrt + anything gives me error. I tried to install it again. But I think I am going to uninstall and install.

g8d3 commented 10 years ago
sudo npm uninstall -g meteorite
Password:
unbuild meteorite@0.7.4
npm ERR! Refusing to delete: /usr/local/bin/mrt not in /usr/local/lib/node_modules/meteorite
File exists: /usr/local/bin/mrt
Move it away, and try again. 

npm ERR! System Darwin 13.1.0
npm ERR! command "node" "/usr/local/bin/npm" "uninstall" "-g" "meteorite"
npm ERR! cwd /Users/pills/code/workers-list
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.10
npm ERR! path /usr/local/bin/mrt
npm ERR! code EEXIST
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/pills/code/workers-list/npm-debug.log
npm ERR! not ok code 0
tmeasday commented 10 years ago

mrt —version should tell you.

Try npm install -g meteorite to be sure.

On Wednesday, 11 June 2014 at 12:49 pm, Juan David Pastas wrote:

how could I know? mrt + anything gives me error. I tried to install it again. But I think I am going to uninstall and install.

— Reply to this email directly or view it on GitHub (https://github.com/oortcloud/meteorite/issues/279#issuecomment-45696213).

g8d3 commented 10 years ago

Contents of npm-debug file.

tmeasday commented 10 years ago

Hrmm. Not really sure, seems like an npm problem now. That's a really old version you are running, definitely need to get onto the latest.

g8d3 commented 10 years ago
mrt --version
Meteorite version 0.4.7

It's the first time you've run Meteor from a git checkout.
I will download a kit containing all of Meteor's dependencies.
######################################################################## 100.0%
Installed dependency kit v0.3.34 in dev_bundle.

Unreleased (running from a checkout)

I will try to update npm.

g8d3 commented 10 years ago

Also, this worked in console, but I don't see any file smart.json or related with meteorite saying jade:

$ mrt add jade

Installing Meteor

  branch: https://github.com/meteor/meteor.git#master

Installing smart packages

$

Note nothing was before the second dollar sign.

g8d3 commented 10 years ago

@tmeasday do you understand this message It's the first time you've run Meteor from a git checkout.?

I am going to try with a lower version of meteor.

tmeasday commented 10 years ago

Hey, you're running an old version of Meteorite that always checked Meteor out from git.

You don't want that. You'll need to figure out how to get the latest version -- sorry I can't help more but it seems like an obscure npm problem..

g8d3 commented 10 years ago

Just for the record, I uninstalled npm and installed it again. Same problem.

I solved the problem about meteorite not being uninstalled with rm /usr/local/bin/mrt and then npm uninstall -g meteorite npm install -g meteorite.

mrt create my-app works, but when I cd into the app and enter mrt add jade, the package is not added.

I am going to try in another computer.

On Wed, Jun 11, 2014 at 5:44 PM, Tom Coleman notifications@github.com wrote:

Hey, you're running an old version of Meteorite that always checked Meteor out from git.

You don't want that. You'll need to figure out how to get the latest version -- sorry I can't help more but it seems like an obscure npm problem..

— Reply to this email directly or view it on GitHub https://github.com/oortcloud/meteorite/issues/279#issuecomment-45810019.

g8d3 commented 10 years ago

It works in Ubuntu, with same versions I have in OS X:

$ npm --version
1.4.15
$ mrt --version
Meteorite version 0.7.4
Release 0.8.1.3

$ mrt add jade
✓ jade
    tag: https://github.com/mquandalle/meteor-jade.git#v0.2.4

Done installing smart packages

Stand back while Meteorite does its thing

Done installing smart packages

Ok, everything's ready. Here comes Meteor!

jade: Jade template language for Meteor