question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to use route.start()

See original GitHub issue

I’m using riot with webpack, I’m not able to understand how to use it

const home = require('./home.app.tag')
const riot = require('riot');
const route = require('riot-route')

riot.mount('home')
console.dir(route)

When I write to route to console I see a default object there, not sure how can I use and why is such a thing even present.

There is the output: op

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
go2sujeetcommented, Feb 28, 2018

thanks @laznic for helping me out. @GianlucaGuarini i wasn’t aware of that, hope you understand that.

0reactions
GianlucaGuarinicommented, Feb 22, 2018

@laznic thanks for answering to this question. It’s definitely not a route issue nor a webpack one. The solution is pretty simple and there tons of tutorial or discussions about this topics. There is no need to track this issue here since it’s related to the compilation tools used to generate the js bundle. Thanks for asking it anyway.

p.s. our webpack example is a good place where to start

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to start route route1 because of null - Stack Overflow
I am new to apache camel. I am trying to consume json, convert it into java object and write it in CSV file...
Read more >
Error Unable to prepare route [api/user] for serialization. Uses ...
Hi guys, I have been carrying this error for several months, which is not a problem but I want to solve it: In...
Read more >
Troubleshooting Angular routing - Medium
What if we use forRoot() in our lazy-loaded module? Well, Angular will respond with “Error: Uncaught (in promise): Error: RouterModule.forRoot() ...
Read more >
Unable to start Ocelot because either a Route or ... - GitHub
Unable to start Ocelot because either a Route or GlobalConfiguration are using ServiceDiscoveryOptions but no ServiceDiscoveryFinderDelegate has been ...
Read more >
Routing - Laravel - The PHP Framework For Web Artisans
When using route parameters in redirect routes, the following parameters are reserved by Laravel and cannot be used: destination and status . View...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found