[bug] A recent change to the library seems to be causing a build error
See original GitHub issueLooks like these lines are causing it.
[!] (plugin svelte) ParseError: Unexpected character '@'
node_modules\svelte-multiselect\MultiSelect.svelte
266: >
267: {#each matchingOptions as option, idx}
268: {@const { label, disabled, title = null, selectedTitle } = option}
^
269: {@const { disabledTitle = defaultDisabledTitle } = option}
270: <li
ParseError: Unexpected character '@'

Sidenote: I’ve never seen @const before, is it dependant on some external library to work?
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Xcode 13.3 cycle in dependencies between targets
So my App has a AppCoreLibrary we compile and it complains about this library and the App itself stating a cycle dependency exists....
Read more >Cannot install Ruby versions < 2.4 because of openssl@1.1 ...
It seems the most recent change to ruby-build 20191002 homebrew formula to require openssl@1.1 breaks the install of Ruby versions that are <...
Read more >Bug - WebGL Build Error - Unity Forum
I finally found a solution that seems to work (at least so far). In the Inspector, under Assets, delete the WebGLSupport folder. This...
Read more >Visual Studio displaying errors even if projects build
Getting the latest version may report that it is successful and all files updated, but that's not always true. If you go to...
Read more >Errors compiling with STMCubeIDE likely because module ...
The missing modules seem to have been included with this change. ... Pointing to that library caused even more errors, so that didn't...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I’ll go with it a batch for now since that doesn’t require manual maintenance when the minimum version number changes.
Can confirm it works with latest svelte version btw 😃