-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
The component does not show toast. Tried in sveltekit app and create-vite svelte app.
Steps to reproduce
- Create a blank sveltekit app
pnpm init svelte@next my-app - Copy example from readme to
routes/index.svelte - Run
pnpm dev - See error
500
String.prototype.startsWith called on null or undefined
TypeError: String.prototype.startsWith called on null or undefined
at startsWith (<anonymous>)
at node:internal/errors:811:19
at Array.filter (<anonymous>)
at node:internal/errors:809:16
at prepareStackTrace (node:internal/errors:96:12)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:38)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:94:18)
- Refresh and button appears. Clicking button does not show toast.
Code available in https://github.com/supercoww/svelte-notifications-repro
System info
Windows 10
Node 16.6.0
pnpm 6.14.7
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed