svelte-native
svelte-native copied to clipboard
TypeError: el.remove is not a function
When changing a css rules and save I get the following error:
Successfully applied update with hmr hash adcd9c1f331b86b620dc. App is up to date.
JS: [HMR] Failed to accept update (nollup compat mode) TypeError: el.remove is not a function
JS: at removeStylesheet (file: node_modules/svelte-hmr/runtime/hot-api.js:41:0)
JS: at file: node_modules/svelte-hmr/runtime/hot-api.js:142:0
JS: at next (file: node_modules/svelte-loader-hot/lib/svelte3/hot-api.js:52:0)
JS: at runAcceptHandlers (file: node_modules/svelte-loader-hot/lib/svelte3/hot-api.js:57:0)
JS: at check (file: node_modules/svelte-loader-hot/lib/svelte3/hot-api.js:84:0)
JS: at hotSetStatus (file: app/webpack/bootstrap:261:0)
JS: at hotApplyInternal (file: app/webpack/bootstrap:768:0)
JS: at Object.hotApply [as apply] (file: app/webpack/bootstrap:381:0)
JS: at file: node_modules/@nativescript/webpack/helpers/hot.js:87:0
JS: [HMR:Svelte] Full reload required
JS: [HMR:Svelte] Up to date
Refreshing application on device 192.168.56.102:5555...
Successfully synced application org.nativescript.visapp on device 192.168.56.102:5555.
and nothing is changed on the emulator device. Only after a script or xml change the css is changed on the emulator.
Which version of svelte-loader are you using ? was this just built with the normal template?