MixinLabs / meteor-wisp

Meteor Smart-Package for wisp - Clojure like LISP language.
5 stars 3 forks source link

Getting "wisp/compiler" can't load message on 'mrt add wisp' #1

Closed elabeca closed 10 years ago

elabeca commented 10 years ago

Done installing smart packages

Ok, everything's ready. Here comes Meteor!

=> Errors while scanning packages:

While loading plugin compileWisp from package wisp: /Users/elie/.meteor/tools/09b63f1ed5/tools/bundler.js:1011:21: Can't load npm module 'wisp/compiler' while loading packages/compileWisp:plugin.js. Check your Npm.depends().' at Object._.extend.Npm.require (/Users/elie/.meteor/tools/09b63f1ed5/tools/bundler.js:1011:21) at Package (packages/compileWisp/plugin/compile-wisp.js:1) at :85:4 at :92:3

JoshuaOSHickman commented 10 years ago

I'm also seeing this. Any workaround?

nsmeta commented 10 years ago

I'm very sorry, people, for not keeping packages up to date for so long. :( I will address these issues in roughly 24 hours.

P.S. The problem with this issue is that I forgot to include Npm.depends statement in package.js.

nsmeta commented 10 years ago

This should be fixed now. Let me know if you encounter any issues.

JoshuaOSHickman commented 10 years ago

I'm seeing that it's downloading the new version, v0.9.0-0.0.1, but the same error is showing up.

nsmeta commented 10 years ago

I tried to reproduce your issue, but no luck. Are you trying to install the new version in the same project where the previous buggy package was installed?

Could you please provide more details on your dev environment: OS version, Meteor version?

I'm using OSX 10.9 with Meteor 0.8.0 and it seems to work fine:

✓ wisp
tag: https://github.com/MixinLabs/meteor-wisp.git#v0.9.0-0.0.1

Done installing smart packages

Stand back while Meteorite does its thing

Done installing smart packages

Ok, everything's ready. Here comes Meteor!

wisp: updating npm dependencies -- wisp...
compileWisp: updating npm dependencies -- wisp...
wisp: wisp is a homoiconic JavaScript dialect with Clojure syntax, s-expressions and macros.
JoshuaOSHickman commented 10 years ago

I'm running Ubuntu 13.04, meteor 0.8.0. I can replicate with a meteor create wisp-test && cd wisp-test && mrt add wisp. I've deleted meteorite's global package cache for wisp as well, just to make sure, but the problem persists. I thought the issue might be something like e.g. me requiring root for npm to install global packages, but running as root didn't fix it.

nsmeta commented 10 years ago

Hi. I reproduced the issue on Ubuntu as well... I've just pushed the fix. Hopefully, this time it works :)