solid-router icon indicating copy to clipboard operation
solid-router copied to clipboard

does not provide an export named 'Routes'

Open rooflesia opened this issue 4 years ago • 2 comments

Uncaught SyntaxError: The requested module '/node_modules/solid-app-router/dist/index.jsx' does not provide an export named 'Routes', any solution?

rooflesia avatar Jan 25 '22 08:01 rooflesia

Hmm.. that's unusual as it's definitely there.

Could it be attempting to pull it into a CJS environment? Some build setups require named exports need to be explicitly set. What bundler are you using?

ryansolid avatar Jan 25 '22 08:01 ryansolid

I am having the same problem. Except, for me it is saying "The requested module '/node_modules/solid-app-router/dist/index.jsx' does not provide an export named 'effect'". I am using Rollup to compile a CJS SSR app.

PatrickLumenus avatar Mar 20 '22 23:03 PatrickLumenus

Closing as stale.. No other reports of this and would need more information or reproduction.

ryansolid avatar Nov 21 '22 20:11 ryansolid