Question

I just updated Meteor to 0.8. Now my app is crashing and I get 'spark is not defined'. I have read some articles stating that this can have something to do with the iron-router package. I'm clueless about what steps I should take to correct this.

Was it helpful?

Solution

The error is because of iron-router package. You need to update the package.

I just gave answer on this see this

OTHER TIPS

Old Spark rendering engine can be referenced by any of the packages you use in your application, so you get this error until all packages used are updated to Blaze, not only iron-router (this is why @Chris is still getting it).

Check which package is referencing Spark and check for updates. Until mrt update doesn't automatically get results you can look for a blaze branch of the offending package and use it. For example the accounts-ui-bootstrap-3 package has a blaze branch and you can already use it modifying your smart.json:

"accounts-ui-bootstrap-3": {
    "git": "https://github.com/mangasocial/meteor-accounts-ui-bootstrap-3" ,
    "branch": "blaze"
},

As suggested in this thread.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top