Code Monkey home page Code Monkey logo

Comments (14)

possibilities avatar possibilities commented on August 26, 2024

Sounds like a bug. Looking into it.

from meteorite.

possibilities avatar possibilities commented on August 26, 2024

Interesting one. Can't seem to reproduce it. Works fine here. I'll give it some more thought... @tmeasday Any idea?

from meteorite.

Multiply avatar Multiply commented on August 26, 2024

Could it be file permission problems? Just trying to pitch in. :)

Another thing, did you use mrt add underscore-string, or did you just add it to your .json file?

from meteorite.

badslug avatar badslug commented on August 26, 2024

Thanks for the help. I don't think it's a permissions problem - all the directories are under my home directory and meteorite is pulling the main underscore-string smart package repo - it's just not getting the underscore-string submodule (the submodule directory is created but nothing is in it). I've run some tests on another smart package built the same way and am running into the same problem. I'm not sure if it's relevant but my node and git versions are:

$ git --version
git version 1.7.12
$ node --version
v0.8.8

Since I'm using the git repo mrt add underscore-string doesn't work. I edited the smart.json file (to what I added above) and added the package name to the .meteor/packages file as well.

from meteorite.

possibilities avatar possibilities commented on August 26, 2024

As much as I'd rather find the root of the problem you can probably fix things by deleting ./.meteor/meteorite and/or ~/.meteorite.

from meteorite.

badslug avatar badslug commented on August 26, 2024

I tried deleting both and running mrt again - same error. Is there any tracing logging I can turn on to help troubleshoot?

from meteorite.

tmeasday avatar tmeasday commented on August 26, 2024

Something is wrong here, there shouldn't be an underscore-string directory in a master meteor that's in the ~/.meteorite directory.

Additionally, I'm not sure why meteorite is running that meteor anyway, it should have just copied it over into the current dir. In your project dir, is .meteor/meteorite a symlink?

from meteorite.

tmeasday avatar tmeasday commented on August 26, 2024

Iain, can you please confirm if with a clean meteor project, and that smart.json, mrt install creates a symlink in .meteor/meteorite. It shouldn't.

If it doesn't.. what's different about your project?

Thanks!

from meteorite.

badslug avatar badslug commented on August 26, 2024
$ ls -al .meteor/
total 24
drwxr-xr-x  6 ion  staff  204 Aug 23 11:43 .
drwxr-xr-x  8 ion  staff  272 Aug 22 22:42 ..
-rw-r--r--  1 ion  staff    6 Aug 22 22:14 .gitignore
drwxr-xr-x  3 ion  staff  102 Aug 22 22:42 local
lrwxr-xr-x  1 ion  staff   84 Aug 23 11:43 meteorite -> /Users/ion/.meteorite/meteors/meteor/meteor/92b848fe1aff55658ae38d4e1b1aeb081370ca12
-rw-r--r--  1 ion  staff  174 Aug 22 22:35 packages

I'll create a fresh test project and post the results.

from meteorite.

tmeasday avatar tmeasday commented on August 26, 2024

If you have a minute can you jump on IRC as well?

from meteorite.

badslug avatar badslug commented on August 26, 2024
$ mrt create my-test-project
Fetching Meteor (branch: master)...
my-test-project: created.

To run your new app:
   cd my-test-project
   meteor
$ cd my-test-project
$ mrt add underscore-string
Fetching Meteor (branch: master)...
Resolving dependencies..
Install custom Meteor build...
Meteor installed
underscore-string: underscore.string repackaged for Meteor
$ mrt
Fetching Meteor (branch: master)...
Resolving dependencies..
Meteor installed
[[[[[ ~/dev/meteor/my-test-project ]]]]]

Running on: http://localhost:3000/
No dependency info in bundle. Filesystem monitoring disabled.
Errors prevented startup:
Exception while bundling application:
Error: ENOENT, no such file or directory '/Users/ion/.meteorite/meteors/meteor/meteor/92b848fe1aff55658ae38d4e1b1aeb081370ca12/packages/underscore-string/lib/underscore.string/lib/underscore.string.js'
    at Object.openSync (fs.js:240:18)
    at Object.readFileSync (fs.js:128:15)
    at Object.add_resource (/Users/ion/.meteorite/meteors/meteor/meteor/92b848fe1aff55658ae38d4e1b1aeb081370ca12/app/lib/bundler.js:269:23)
    at /Users/ion/.meteorite/meteors/meteor/meteor/92b848fe1aff55658ae38d4e1b1aeb081370ca12/packages/meteor/package.js:10:12
    at [object Object].add_file (/Users/ion/.meteorite/meteors/meteor/meteor/92b848fe1aff55658ae38d4e1b1aeb081370ca12/app/lib/bundler.js:196:5)
    at /Users/ion/.meteorite/meteors/meteor/meteor/92b848fe1aff55658ae38d4e1b1aeb081370ca12/app/lib/bundler.js:97:16
    at Array.forEach (native)
    at Function.<anonymous> (/Users/ion/.meteorite/meteors/meteor/meteor/92b848fe1aff55658ae38d4e1b1aeb081370ca12/app/lib/third/underscore.js:76:11)
    at /Users/ion/.meteorite/meteors/meteor/meteor/92b848fe1aff55658ae38d4e1b1aeb081370ca12/app/lib/bundler.js:96:11
    at Array.forEach (native)

Please fix the problem and restart.
$ ls -al .meteor/
total 24
drwxr-xr-x  6 ion  staff  204 Aug 23 21:18 .
drwxr-xr-x  7 ion  staff  238 Aug 23 21:18 ..
-rw-r--r--  1 ion  staff    6 Aug 23 21:18 .gitignore
drwxr-xr-x  3 ion  staff  102 Aug 23 21:18 local
lrwxr-xr-x  1 ion  staff   84 Aug 23 21:18 meteorite -> /Users/ion/.meteorite/meteors/meteor/meteor/92b848fe1aff55658ae38d4e1b1aeb081370ca12
-rw-r--r--  1 ion  staff  187 Aug 23 21:18 packages
$

from meteorite.

tmeasday avatar tmeasday commented on August 26, 2024

Can you do the same thing but delete ~/.meteorite (or do mrt uninstall --system) first?

from meteorite.

badslug avatar badslug commented on August 26, 2024

I created a gist for shell interactions:

https://gist.github.com/3445426

from meteorite.

tmeasday avatar tmeasday commented on August 26, 2024

Ok, so the issue is an old version of meteorite. @IainShigeoka is on 0.8 and isn't able to update right now, but that's a separate problem and I'm closing this.

from meteorite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.