TypeError: de is undefined when selecting a link produced by <RouterLink>
panta opened this issue · 1 comments
panta commented
If I write the link by hand in the address bar, the router works, switching to the desired view, but
when selecting the link produced by:
<RouterLink to={{name: 'Widgets'}}>Widgets</RouterLink>
(which is equal to the one entered by hand) the URL changes, but the page doesn't and the console displays the error:
TypeError: de is undefined
in module.js:1:4303, which is minified (it has inside this extract ... if(ue.has(e))return;ue.add(e),de.c.push(()=>{ue.delete(e),s&&(n&& ...
)
my package.json:
{
"name": "svelte-app",
"version": "1.0.0",
"devDependencies": {
"@fortawesome/fontawesome-free": "^5.10.2",
"@spaceavocado/svelte-router": "^1.0.13",
"bulma": "^0.7.5",
"npm-run-all": "^4.1.5",
"rollup": "^1.12.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-livereload": "^1.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-postcss": "^2.0.3",
"rollup-plugin-svelte": "^5.0.3",
"rollup-plugin-terser": "^4.0.4",
"svelma": "0.0.11",
"svelte": "^3.0.0"
},
"dependencies": {
"@babel/core": "^7.5.5",
"sirv-cli": "^0.4.4"
},
"scripts": {
"build": "rollup -c",
"autobuild": "rollup -c -w",
"dev": "run-p start:dev autobuild",
"start": "sirv public --single",
"start:dev": "sirv public --single --dev"
}
}
panta commented
Closing because unrelated to svelte-router but to another library. Sorry for the inconvenient!