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

No Route for / Prevents Testing #668

Open
merlinstardust opened this issue Jul 13, 2016 · 1 comment
Open

No Route for / Prevents Testing #668

merlinstardust opened this issue Jul 13, 2016 · 1 comment

Comments

@merlinstardust
Copy link

I'm on Meteor 1.3.4.4 and trying to test with dispatch:mocha-phantomjs and dispatch:mocha-browser. In both cases, I get the same error There is no route for the path: / and no tests get ran.

I've tried halting FlowRouter's execution with wait but that doesn't work either.

And here's a forum post of others with a similar issue.
https://forums.meteor.com/t/no-route-for-path-error-running-unit-tests/21560

Thoughts?

Full Error Trace

There is no route for the path: /
meteorInstall.node_modules.meteor.dispatch:mocha-phantomjs.browser-shim.js.console.error @ browser-shim.js:125
meteorInstall.node_modules.meteor.kadira:flow-router.client.router.js.Router._notfoundRoute @ router.js:347
(anonymous function) @ router.js:535
meteorInstall.node_modules.meteor.kadira:flow-router.node_modules.page.index.js.Route.middleware @ index.js:474
nextEnter @ index.js:306
meteorInstall.node_modules.meteor.kadira:flow-router.node_modules.page.index.js.page.dispatch @ index.js:312
meteorInstall.node_modules.meteor.kadira:flow-router.node_modules.page.index.js.page.replace @ index.js:275
meteorInstall.node_modules.meteor.kadira:flow-router.client.router.js.Router.initialize._.each.self._page.(anonymous function) @ router.js:382
meteorInstall.node_modules.meteor.kadira:flow-router.node_modules.page.index.js.page.start @ index.js:168
page @ index.js:102
meteorInstall.node_modules.meteor.kadira:flow-router.client.router.js.Router.initialize @ router.js:391
(anonymous function) @ _init.js:9
maybeReady @ startup_client.js:26
loadingCompleted @ startup_client.js:38
@ghost
Copy link

ghost commented Jul 13, 2016

In a different thread, they have suggested some workaround... https://forums.meteor.com/t/spacejam-phantomjs-no-route-for-the-path-local-flowrouter/25233/5

Maybe I'm missing something, but suggested workaround doesn't solve the issue for me...

FWIW I've pushed some bugreport repository... https://github.com/freesoftwareneedsfreetools/bugreport001

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

1 participant