question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[bug] A recent change to the library seems to be causing a build error

See original GitHub issue

Looks 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 '@'

image

Sidenote: I’ve never seen @const before, is it dependant on some external library to work?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
janoshcommented, Jan 26, 2022

I’ll go with it a batch for now since that doesn’t require manual maintenance when the minimum version number changes.

1reaction
Snailedltcommented, Jan 26, 2022

Can confirm it works with latest svelte version btw 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found