Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ParseError: formatting unexpected character '@' in svelte 5 #86

Open
Lost-Saint opened this issue Nov 5, 2024 · 0 comments
Open

ParseError: formatting unexpected character '@' in svelte 5 #86

Lost-Saint opened this issue Nov 5, 2024 · 0 comments

Comments

@Lost-Saint
Copy link

Error formatting /home/<user>/las/personal/myths/src/routes/+layout.svelte. Message: ParseError: Unexpected character '@'
  11 | 	}
  12 |
> 13 | 	let { children }: Props = $props();
     | ^
  14 | </script>
  15 |
  16 | <svelte:head>
    at error (dprint:prettier.js:138779:23)
    at Parser.error (dprint:prettier.js:138886:13)
    at Parser.acorn_error (dprint:prettier.js:138878:18)
    at read_expression (dprint:prettier.js:127757:20)
    at mustache (dprint:prettier.js:138563:32)
    at new Parser (dprint:prettier.js:138849:61)
    at Object.parse (dprint:prettier.js:138981:24)
    at Object.parse (dprint:prettier.js:183135:82)
    at Ni (dprint:prettier.js:2954:25)
    at async iu (dprint:prettier.js:3235:35)
    ```
    plugins version
    
    "plugins": [
		"https://plugins.dprint.dev/typescript-0.93.0.wasm",
		"https://plugins.dprint.dev/json-0.19.4.wasm",
		"https://plugins.dprint.dev/prettier-0.46.1.json@e5bd083088a8dfc6e5ce2d3c9bee81489b065bd5345ef55b59f5d96627928b7a"
	]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant