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

Broke because the meteor issue [1.3.3] import from absolute paths no longer work #7225 #51

Open
gantu opened this issue Jun 16, 2016 · 12 comments

Comments

@gantu
Copy link

gantu commented Jun 16, 2016

I tried to fix it by relative paths but still no luck :( .

@martinhbramwell
Copy link

I am seeing the same thing, yup.

@gantu
Copy link
Author

gantu commented Jun 18, 2016

Replaced all absolute paths into relative path declarations. Right now it is not throwing any errors, but when I try to access the application through browser getting following errors on browser console:

Uncaught TypeError: Cannot read property 'html5' of undefined html5shiv.min.js:6

(anonymous function)    @   html5shiv.min.js:6
meteorInstall.client.modules._flatly.bootstrap.html5shiv.min.js @   html5shiv.min.js:4
fileEvaluate    @   install.js:153
require @   install.js:82
(anonymous function)

There is no route for the path: / router.js:347

@junibrosas
Copy link

It gives me those errors so right now I just reverted back to the old version which is working for me ( 1.3.0). If Git is used in the project, just run git stash save to revert recent changes.

@martinhbramwell
Copy link

How did you do that exactly?

When I change .meteor/release to 1.3.0 instead of 1.3.2.4 I get :

This project says that it uses Meteor 1.3.0, but you don't have that version of Meteor installed and the Meteor update servers don't have it either. Please edit the .meteor/release file in the project and change it to a valid Meteor release.

@junibrosas
Copy link

@martinhbramwell , is your project working property before you updated to 1.3.3? and are you using Git? If so, just use git stash save

@martinhbramwell
Copy link

martinhbramwell commented Jun 18, 2016

@junibrosas I just revert to 1.3.2.4 ( in .meteor/release ) and everything works fine.

My question was about how you use 1.3.0 if it does not exist?

@martinhbramwell
Copy link

@gantu

Uncaught TypeError: Cannot read property 'html5' of undefined html5shiv.min.js:6

I am also getting that. Show stopper. Back to 1.3.2.4 :-(

@junibrosas
Copy link

@martinhbramwell try meteor update --release

@martinhbramwell
Copy link

All I get is :

 you@yours:~/projects/mm-kick$ meteor update --release 1.3.0
 Meteor 1.3.0: unknown release.

@gantu
Copy link
Author

gantu commented Jun 30, 2016

@martinhbramwell I read in following talk you have fixed this issue. Could you please share how you have fixed it? As I am getting same error if I upgrade to meteor 1.3.4.1.

@martinhbramwell
Copy link

@gantu I described the steps to get to 1.3.4.1 in my first post in the "talk" you refer to.

But here it is again (slightly edited) :

  1. I added ´react-simple-di´ and ´react-komposer'' to my package.json
  2. I removed "babel-root-slash-import" from .babelrc, which solved the absolute references bug.
  3. I updated html5shiv.min.js, to their latest version which got rid of the ´Uncaught TypeError: Cannot read property 'html5' of undefined html5shiv.min.js:6´ nastiness
  4. I deleted respond.min.js` from the project, in order to fix, "TypeError: Cannot read property 'matchMedia' of undefined"

@gantu
Copy link
Author

gantu commented Jul 20, 2016

Thanks @martinhbramwell, these steps are fixing the issue.

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

3 participants