Skip to content

Troubleshooting

This section lists a few common gotchas, and bugs introduced in the past.

Please skim through before opening an issue.

Could not resolve "@js-from-routes/core"

Some package managers do not install peerDependencies, while others do.

Try adding the missing package explicitly:

npm install @js-from-routes/core # yarn add @js-from-routes/core

Imports in the generated code are not working

Make sure that you have added one of the client libraries to your package.json and that the packages are installed.

Changes to my custom templates are not being picked up

Templates are watched in development, so editing one regenerates the helpers on the next reload. If a template reads from other files, those are not watched: regenerate everything by running:

bin/rake js_from_routes:generate

Contact ✉️

Please visit GitHub Issues to report bugs you find, and GitHub Discussions to make feature requests, or to get help.

Don't hesitate to ⭐️ star the project if you find it useful!

Using it in production? Always love to hear about it! 😃

Troubleshooting has loaded