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

Failed to import svelte route #34

Open
ranjitnadar opened this issue Nov 25, 2020 · 0 comments
Open

Failed to import svelte route #34

ranjitnadar opened this issue Nov 25, 2020 · 0 comments

Comments

@ranjitnadar
Copy link

Hi Team
Tried using the svelte route inside the svelte boilerplate getting the following error, tried to modify the babel config no luck. Following are the error please guide me
ERROR in ./node_modules/svelte-routing/src/Router.svelte
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: node_modules\svelte-routing\src\Router.svelte: Unexpected token, expected "}" (22:29)

20 | const location =
21 | locationContext ||

22 | writable(url ? { pathname: url } : globalHistory.location);

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