Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meteor 1.2 Compatibility #383

Open
MegatronCupcakes opened this issue Sep 22, 2015 · 42 comments
Open

Meteor 1.2 Compatibility #383

MegatronCupcakes opened this issue Sep 22, 2015 · 42 comments

Comments

@MegatronCupcakes
Copy link

just updated to Meteor 1.2 and hit the same issue reported by @RanaivosonHerimanitra here: #243 (comment)

per the 1.2 Breaking Changes (https://github.com/meteor/meteor/wiki/Breaking-changes-in-Meteor-1.2) I'm guessing LESS constraints need to be updated.

@kartikTT
Copy link

Having the same issue as mentioned above, not sure why the package is listed as incompatible with meteor 0.9.0 or after - been using it with 1.1 for a while.

@RanaivosonHerimanitra
Copy link

that's weird actually!

@MegatronCupcakes
Copy link
Author

I don't know why, but in upgrading to Meteor 1.2, accounts-entry was downgraded from 1.0.3 (which I've been using with no issues) to 0.7.3. Meteor then reports accounts-entry 0.7.3 is incompatible with Meteor 0.9.0 or later. When I attempt to manually update accounts-entry to 1.0.3, I see messages re: conflicting LESS constraints.

@RanaivosonHerimanitra
Copy link

Same here

@twavis
Copy link

twavis commented Sep 23, 2015

same here...

@fungilation
Copy link

same. Need a fix...

@matthewvincent
Copy link

same issue as the rest

@girishramnani
Copy link

same

@selaias
Copy link

selaias commented Sep 25, 2015

I faced similar issues, and I what I did was
-opened .meteor/packages file and comment out all the packages that throw errors,

  • completed the upgrade to Meteor 1.2 (this upgrades less and stylus to the needed versions)
  • uncomment the affected packages
    started the app

@fungilation
Copy link

Nope. Uncommenting joshowens:accounts-entry, after upgrading Meteor to 1.2 doesn't actually let the package run, it's marked as incompatible and disabled.

$ meteor run
[[[[[ [project] ]]]]]

=> Started proxy.                             
=> Started MongoDB.                           
W20150925-13:57:29.974(-7)? (STDERR) The package joshowens:accounts-entry at 0.7.3 is incompatible with Meteor 0.9.0 or later. 
W20150925-13:57:29.977(-7)? (STDERR) If a new, compatible version of this package exists, running 'meteor update' should cause you to update. 
W20150925-13:57:31.147(-7)? (STDERR) 
W20150925-13:57:31.148(-7)? (STDERR) ~/.meteor/packages/meteor-tool/.1.1.8.iyinfe++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:245
W20150925-13:57:31.148(-7)? (STDERR)                        throw(ex);
W20150925-13:57:31.148(-7)? (STDERR)                              ^
W20150925-13:57:31.155(-7)? (STDERR) ReferenceError: AccountsEntry is not defined
W20150925-13:57:31.156(-7)? (STDERR)     at lib/_lib.coffee:57:5
W20150925-13:57:31.156(-7)? (STDERR)     at [project]/.meteor/local/build/programs/server/boot.js:249:5
=> Exited with code: 8

@selaias
Copy link

selaias commented Sep 25, 2015

I;m sorry I had it locally and updated also the dependancy on meteor version.
I maintain a forked version of this package (BUT highly reworked as I eliminated coffescript) which seems to work if you want to try.
Anyway, I guess the owner of this should bump the version of meteor soon.
I'm sorry again for misleading you.

@fungilation
Copy link

No worries you aren't misleading. Just corrections where warranted ;)
On Fri, Sep 25, 2015 at 3:05 PM Stavros Elaias notifications@github.com
wrote:

I;m sorry I had it locally and updated also the dependancy on meteor
version.
I maintain a forked version of this package (BUT highly reworked as I
eliminated coffescript) which seems to work if you want to try.
Anyway, I guess the owner of this should bump the version of meteor soon.
I'm sorry again for misleading you.


Reply to this email directly or view it on GitHub
#383 (comment)
.

@jakubbilko
Copy link
Contributor

I was able to get this package working on 1.2 by cloning the repo into the packages direcory of my project, renaming it, bumping a few version nubers and installing it from my package. Here are my steps:

  • add the simple-form package meteor add joshowens:simple-form
  • bump the meteor version in package.js api.versionsFrom("METEOR@1.2.0.1");
  • change the version of simple-form in package.js to joshowens:simple-form@0.2.1, do the same in versions.json
  • add your package meteor add [your-modified-package-name]

I updated the project to meteor 1.2 earlier. Also make sure that you remove the normal version of accounts-entry from your project. This is just a temporary solution- we should wait unitil the autor adresses the issue.

@xcv58
Copy link

xcv58 commented Oct 2, 2015

@jakubbilko Could you public your modified package?

@jakubbilko
Copy link
Contributor

It's here: https://github.com/jakubbilko/accounts-entry
I can't guarantee it's going to work flawlessly tho.

@xcv58
Copy link

xcv58 commented Oct 4, 2015

@jakubbilko Thank you very much!

@matthewvincent
Copy link

@jakubbilko Thanks! Much appreciated.

@greyarch
Copy link

greyarch commented Oct 9, 2015

@jakubbilko, this did not work for me, still getting the same error message :(

@jakubbilko
Copy link
Contributor

@greyarch have you removed the old version of accounts-entry from your project?

@adrianbadarau
Copy link

@greyarch I had the same issue and it worked after I added the check and ejson packages ( meteor add check ejson )

@hlazardzig
Copy link

@jakubbilko: thank you very much! Well done.

@queso
Copy link
Contributor

queso commented Oct 14, 2015

I am happy to take a PR and push a release here.

@jakubbilko
Copy link
Contributor

PR created ;)

@pawelos88
Copy link

I can see that the PR is now merged - could you please push a release? :)

@JogoShugh
Copy link

In the interim, is it possible to reference @jakubbilko 's package from Atmosphere?

@TheSpitefulOctopus
Copy link

@JogoShugh why not just git clone it to your project

@dougwells
Copy link

I know how to clone a github repository but am not sure sure how to run it to fix this problem. Is someone willing to share the steps needed? Thanks

@TheSpitefulOctopus
Copy link

@dougwells
here is what i did

in my projects root folder
created a folder called projects
cd to projects
git clone package_you_want
meteor add package_name (can be found in package.js under name)
eg. meteor add joshowens:accounts-entry

i believe that was all i did i can double check if that dosent work when i return home and let you know if you run into problems

@dougwells
Copy link

Thanks. Getting closer but still not there. Here is where I am at:

  1. Cloned the file into a new directory called projects. Under package.js, the name of the cloned file is also joshowens:accounts-entry

  2. When I run $ meteor add joshowens:accounts-entry, meteor is simply installing the original joshowens file, not the new/cloned one on my hard drive

Question: How do I get meteor to install the new/forked jakubbilko version of accounts-entry that I have stored locally in my projects/package.js file?

@dougwells
Copy link

Got it!!!!!

One small change to @TheSpitefulOctopus excellent counsel. Within my project root folder, I needed to create a folder called packages (instead of projects). After that it worked perfectly.

For more information on running packages from your local drive see http://stackoverflow.com/questions/18328000/installing-a-local-package-on-meteor

Thanks for everyone's help on this forum. Took ~2 frustrating hours to get it to work but I learned a TON through the process ...

dougwells added a commit to dougwells/microposts that referenced this issue Oct 24, 2015
@IstoraMandiri
Copy link

@queso 👍 could you publish this to atmosphere if it works?

@whitehammer07
Copy link

anyone having luck? I'm stuck also

@rklaeboe
Copy link

rklaeboe commented Nov 9, 2015

Procedure by @TheSpitefulOctopus + comment by dougwells that the folder is named packages (at same level as 'client' and 'server') with single subfolder: the cloned accounts-entry package works OK for now.

@nephix
Copy link

nephix commented Nov 10, 2015

Any chance this is getting fixed without any workarounds?

@chip
Copy link

chip commented Nov 16, 2015

@queso - Any chance that merged PR will be published to Atmosphere soon? 😄

@j127
Copy link

j127 commented Nov 20, 2015

I'm also getting this error with Meteor 1.2.1:

$ meteor add joshowens:accounts-entry                                                                           
Changes to your project's package version selections:                                            
joshowens:accounts-entry  added, version 0.7.3
joshowens:accounts-entry: INCOMPATIBLE WITH METEOR 0.9.0 OR LATER

and:

W20151120-11:06:12.146(-8)? (STDERR) The package joshowens:accounts-entry at 0.7.3 is incompatible with Meteor 0.9.0 or later. 
W20151120-11:06:12.146(-8)? (STDERR) If a new, compatible version of this package exists, running 'meteor update' should cause you to update. 

(meteor update didn't work.)

I'm new to Meteor and not sure if this (via SO) is the ideal solution, but it seems to have fixed it in the meantime:

meteor add check
meteor add selaias:accounts-entry

@zulhfreelancer
Copy link

This works for me:

meteor remove joshowens:accounts-entry
meteor add selaias:accounts-entry

@stewartcelani
Copy link

@jakubbilko Thanks a bunch for your fix. =)
@dougwells I was also stuck on the microposts section of the course ;) -- Thanks xD

@soutmesa
Copy link

soutmesa commented Jan 6, 2016

thanks

@BarinsGhost
Copy link

For anyone who is doing udemy course on meteor and is having an issue and can't fix it, here is what you need to do (assuming you have not installed the joshowens package yet):
meteor add joshowens:accounts-entry
After this you will get the error that says its incompatible.
Now, you are in your PROJECT ROOT folder, eg the name you used when you typed your first
meteor create project
For me it was microposts, as in the udemy course. So I typed
meteor create microposts
And thus my project root folder is microposts
So, now all you have to do is this:

mkdir packages
cd packages
git clone https://github.com/Differential/accounts-entry.git

After that meteor will detect the folder and do the work itself.
Special thanks to @dougwells and @TheSpitefulOctopus

@julioe
Copy link

julioe commented Mar 23, 2016

It works thanks to @BarinsGhost, @dougwells and @TheSpitefulOctopus

@johnboscobenedict
Copy link

it works for me too thanks to @zulhfreelancer @BarinsGhost, @dougwells and @TheSpitefulOctopus

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests