VulcanJS / Vulcan-Starter

VulcanJS starter repo. Use as a base for your own VulcanJS projects.
MIT License
127 stars 88 forks source link

Vulcan-Starter with errors on Chrome for example-instagram #55

Closed ghost closed 6 years ago

ghost commented 6 years ago

Vulcan-Starter example-instagram cannot be loaded and it seem to be caused by runtime error on Chrome as below.

screen shot 2018-05-05 at 11 08 05

With

Meteor 1.6.1 Node v10.0.0 Npm 5.6.0

As the result, the page cannot be loaded properly and picture cannot be loaded as below.

screen shot 2018-05-05 at 11 12 40

Hope someone could help with this.

pozylon commented 6 years ago

Same here, could not fix it yet

ghost commented 6 years ago

Maybe the team is still looking at it, give them a few more days or I have to switch to use other framework. Sigh.

SachaG commented 6 years ago

I fixed the issue with the missing photos. As for the error messages, it seems to be some kind of Meteor error, I'm not sure it's related to Vulcan directly. I'd suggest doing:

Let me know if this works!

pozylon commented 6 years ago

Hey @SachaG thanks for some hints, I just went through the bulletpoints but it didn't help. And it's not an issue specific with the instagram example, these Uncaught Typerror's come up no matter with what packages you bring up the starter project. I have Node v8.11.1 installed and completely reinstalled Meteor from meteor.com

MacOS High Sierra 10.13.4 Meteor 1.6.1 Node v8.11.1 NPM v6

ghost commented 6 years ago

Thanks @SachaG but it sounds like still a blocker. Shall we raise it to https://forums.meteor.com/ for the group to look at? if it is sounds like due to the incompatible between meteor / node / npm?

Really love to use this framework but it have to be runnable, before we can code.....

ghost commented 6 years ago

I have raised this separately to meteor forum, see how it will go. https://forums.meteor.com/t/is-it-problem-with-meteor-or-vulcanjs-or-something-else/43568

SachaG commented 6 years ago

Are you using the normal install or the 2-repo install?

pozylon commented 6 years ago

@SachaG Normal Install

pozylon commented 6 years ago

I just did some more research on this topic:

It could be one of those babel / ecmascript packages:

meteor:ecmascript meteor:ecmascript-runtime-client @babel/runtime

Maybe related to https://github.com/meteor/meteor/blob/devel/History.md#v1611-2018-04-02 changes to @babel/runtime

lc3t35 commented 6 years ago

no error for me OSX 10.12.6, meteor 1.6.1, node v8.9.4, npm 5.6.0, chrome 66.0.3359.139, FF 59.0.2 capture d ecran 2018-05-08 a 11 38 33 2-repo install,

meteor list
accounts-password    1.5.1  Password support for accounts                       
example-instagram    0.0.0+
vulcan:core          1.10.0  Vulcan core package
vulcan:debug         1.10.0  Vulcan debug package
vulcan:i18n-en-us    1.10.0  Vulcan i18n package (en_US)
vulcan:i18n-fr-fr    1.10.0  Vulcan i18n package (fr_FR)
vulcan:ui-bootstrap  1.10.0  Vulcan Bootstrap UI components.

can you downgrade node to v8.9.4 to match meteor's node version ?

lc3t35 commented 6 years ago

https://forums.meteor.com/t/upgraded-to-1-6-1-1-now-getting-all-kinds-of-console-errors/43462

AlABarazi commented 6 years ago

Same problem with me on MacOS High Sierra

SachaG commented 6 years ago

I've only tested Vulcan with Meteor 1.6.1. Can you try downgrading?

AlABarazi commented 6 years ago

My current version of Meteor is 1.6.1

pozylon commented 6 years ago

This will fix the above errors (basically a bump of npm packages + meteor 1.6.1.1 upgrade, i think the one that matters is the babel runtime one):

https://gist.github.com/pozylon/2f42567ecdc47ad7cb1e64012d7c5a69

vipinlahoti commented 6 years ago

Thanks @pozylon it solved the issue

SachaG commented 6 years ago

Just pushed an update, let me know.

ghost commented 6 years ago

Thanks @pozylon and @SachaG , Just need to git pull Vulcan-starter for latest master and it should do the magic without downgrading node or meteor?

AlABarazi commented 6 years ago

Thanks, the last update solved the problem. Also, the Modal in step 4 is showing now.

ghost commented 6 years ago

Hello everyone, with the latest pull the getting-started able to start with only one warning which is fine.

screen shot 2018-05-10 at 12 12 37

But example-instagram still didnt work for me, with the following from the console and blank page show up.

screen shot 2018-05-10 at 12 15 42

Do i need to downgrade the node?

Meteor 1.6.1.1
Node v10.0.0
Npm 5.6.0

or any package missing?

meteor list
accounts-password  1.5.1  Password support for accounts
example-instagram  0.0.0+
vulcan:core        1.10.0  Vulcan core package
vulcan:i18n-en-us  1.10.0  Vulcan i18n package 

@pozylon @SachaG @lc3t35 able to shed some light please?

lc3t35 commented 6 years ago

when you switch between examples : meteor reset, meteor npm install, meteor --settings settings.json don't forget to add METEOR_PACKAGE_DIRS before commands if it's a 2 repo install.

ghost commented 6 years ago

Thanks a lot. it all about the node version 10.0.0 is not compatible and all good now once downgraded to Node 8.11.1 and added vulcan:ui-bootstrap to packages file.

https://forums.meteor.com/t/is-it-problem-with-meteor-or-vulcanjs-or-something-else/43568/5