Comments (14)
Sounds like a bug. Looking into it.
from meteorite.
Interesting one. Can't seem to reproduce it. Works fine here. I'll give it some more thought... @tmeasday Any idea?
from meteorite.
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.
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.
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.
I tried deleting both and running mrt
again - same error. Is there any tracing logging I can turn on to help troubleshoot?
from meteorite.
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.
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.
$ 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.
If you have a minute can you jump on IRC as well?
from meteorite.
$ 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.
Can you do the same thing but delete ~/.meteorite
(or do mrt uninstall --system
) first?
from meteorite.
I created a gist for shell interactions:
https://gist.github.com/3445426
from meteorite.
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)
- mrt add: pathspec <tag> did not match any file(s) known to git HOT 1
- Incorrect password error HOT 5
- -H flag? HOT 1
- Failed at the [email protected] postinstall script. HOT 2
- error: Package name invalid HOT 11
- Error on installing Meteor 0.9.0 packages HOT 4
- Error while running mrt or meteor HOT 2
- All packages got prefixed with "mrt". What should I do? HOT 8
- migrate-app says package "has not yet been migrated" even though it has HOT 3
- Dependency "mkdirp" version typo HOT 4
- mrt migrate-app hangs HOT 20
- Update README to mention 0.9.0 changes HOT 1
- Cannot read property 'basePackages' of undefined during mrt migrate-app HOT 2
- (Windows) - 'sh' is not recognized. HOT 4
- mrt add without updating dependencies HOT 1
- mrt migrate-app does not exist! HOT 5
- "mrt list" can't show packages.
- Unable to install Meteor HOT 1
- Meteorite on Ubuntu 16.04 LTS HOT 1
- how now ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteorite.