You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I just upgraded my system and I now get an error when running my project. I'm not 100% sure that this is an issue with routify itself, but the problem disappears if I remove routify from the build process so I think it's worth bringing it up here.
Reproduction
Install node (I believe I had v20 installed previously, so likely 21.x.x will reproduce this). Download the routify-starter template. npm i then npm run dev.
Logs
> svelte-app@1.0.0 dev
> run-p dev:*> svelte-app@1.0.0 dev:rollup
> rollup -c -w
> svelte-app@1.0.0 dev:routify
> routify
/home/me/coding/myproject/node_modules/esm/esm.js:1
<snip source code of that file>
TypeError: Function.prototype.apply was called on undefined, which is a undefined and not a function
at qo (/home/me/coding/myproject/node_modules/esm/esm.js:1:223175)
at Uo (/home/me/coding/myproject/node_modules/esm/esm.js:1:222896)
at $o (/home/me/coding/myproject/node_modules/esm/esm.js:1:224488)
at wu (/home/me/coding/myproject/node_modules/esm/esm.js:1:227324)
at Eu (/home/me/coding/myproject/node_modules/esm/esm.js:1:227999)
at Module.<anonymous> (/home/me/coding/myproject/node_modules/esm/esm.js:1:295976)
at n (/home/me/coding/myproject/node_modules/esm/esm.js:1:279589)
at Object.<anonymous> (/home/me/coding/myproject/node_modules/@roxi/routify/lib/utils/middleware.js:2:18)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
Node.js v21.4.0
rollup v2.79.1
bundles svelte-app/main.js → wwwroot/build/bundle.js...
ERROR: "dev:routify" exited with 1.
Describe the bug
Hi, I just upgraded my system and I now get an error when running my project. I'm not 100% sure that this is an issue with routify itself, but the problem disappears if I remove routify from the build process so I think it's worth bringing it up here.
Reproduction
Install node (I believe I had v20 installed previously, so likely 21.x.x will reproduce this). Download the routify-starter template.
npm i
thennpm run dev
.Logs
System Info
The text was updated successfully, but these errors were encountered: