Git Product home page Git Product logo

Comments (8)

aaronjudd avatar aaronjudd commented on May 15, 2024

I'm not sure, I actually use this with iron:router without issue. Perhaps make sure the spiderable package is loaded before iron:router?

from spiderable.

strikeout avatar strikeout commented on May 15, 2024

Something is BREAKING your spidarable execution. See http://www.meteorpedia.com/read/spiderable and use the script on the page to have a local spiderable render and debug your meteor app.
I used this to find an external jquery addon lib crashing my stack by using an unsupported method on the window/document and giving me the same errors you mentioned - nasty

from spiderable.

epeng5 avatar epeng5 commented on May 15, 2024

I may have run into the same problem on Modulus. Any updates here?

Here's the logs:

spiderable: phantomjs failed: Error: Command failed: 
at ChildProcess.exithandler (child_process.js:658:15)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:766:16)
at Process.ChildProcess.handle.onexit (childprocess.js:833:5) 
stderr:

Error: Meteor code must always run within a Fiber. Try wrapping callbacks that you pass to non-Meteor libraries with Meteor.bindEnvironment.
at Object.Meteor._nodeCodeMustBeInFiber (packages/meteor/packages/meteor.js:966:1)
at [object Object]._.extend.get (packages/meteor/packages/meteor.js:978:1)
at [object Object].RouteController.lookupOption (packages/iron_router/packages/iron_router.js:122:1)
at new Controller.extend.constructor (packages/iron_router/packages/iron_router.js:82:1)
at [object Object].ctor (packages/iron_core/packages/iron_core.js:132:1)
at Function.Router.createController (packages/iron_router/packages/iron_router.js:789:1)
at Function.Router.dispatch (packages/iron_router/packages/iron_router.js:1314:1)
at Object.router (packages/iron_router/packages/iron_router.js:603:1)
at next (/mnt/app/node_modules/connect/lib/proto.js:190:15)
at packages/ongoworks_spiderable/packages/ongoworks_spiderable.js:159:1
at ChildProcess.exithandler (child_process.js:662:7)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:766:16)
at Process.ChildProcess.handle.onexit (childprocess.js:833:5)

from spiderable.

epeng5 avatar epeng5 commented on May 15, 2024

Turns out this was an issue with a separate package (https://atmospherejs.com/okgrow/router-autoscroll) that conflicted with iron router. Once I removed it, things worked again.

from spiderable.

aaronjudd avatar aaronjudd commented on May 15, 2024

Thanks for the update.

We're not doing anything in this package that should conflict, in any way that the default spiderable package would not also do. Also, this package was really meant as a temporary solution until Meteor started to pay more attention to the fact that everyone needs SEO. I'm not sure that's going to happen, but until a better solution comes along... this package will just be in maintenance mode.

from spiderable.

Pushplaybang avatar Pushplaybang commented on May 15, 2024

Getting exactly the same issue, Its a pity that this is only in maintenance mode... its the only spiderable implementation thats working for me at the moment. I'm getting results, but a similar error to the above as well.

from spiderable.

aaronjudd avatar aaronjudd commented on May 15, 2024

@Pushplaybang is it router-autoscroll or some other package that's causing the issue for you? (iron-router has always worked with ongoworks:spiderable for us). I'm willing to take a look now if I have a sure way to replicate the error.

from spiderable.

Pushplaybang avatar Pushplaybang commented on May 15, 2024

@aaronjudd - not using autoscroll, going to dig back into this tomorrow, I was tring to use another iron-router plugin lookback SEO. But after ditching I've some success, still one or two errors to handle though.

I will get back on this tomorrow, working on a production app with a deadline looming so any help would be amazing.

from spiderable.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.