Unrecognized option 'store'
See original GitHub issue🐛 Bug Report
While trying to compile with Parcel, I get this error for App.svelte
and I’m unsure what it’s referring to…
🎛 Configuration (.svelterc, package.json, cli command)
no configuration!
💻 Code Sample
I only have 2 files, main.js
:
import App from './App.svelte';
const app = new App({
target: document.body,
props: {
name: 'world'
}
});
window.app = app;
export default app;
and App.svelte
:
<script>
export let name;
</script>
<style>
h1 {
color: purple;
}
</style>
<h1>Hello {name}!</h1>
package.json
:
{
"name": "test-svelte-app-parcel",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"dev": "parcel src/main.js",
"build": "parcel build src/main.js"
},
"devDependencies": {
"parcel-bundler": "^1.12.3",
"parcel-plugin-svelte": "^2.1.0-alpha-0"
},
"dependencies": {
"svelte": "^3.0.0"
}
}
🌍 Your Environment
svelte: ^3.0.0 parcel-bundler: ^1.12.3
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Where does getopt_long store an unrecognized option?
The closest I can find is that if you get a BADCH return the argv item that caused it is in argv[optind-1] ....
Read more >unrecognized option: --toolchain | Apple Developer Forums
After upgrading from xcode 6.4 to xcode 7.2.1 I am no longer able to run any swift projects on the actual device. The...
Read more >unrecognized option - rogalmic/vscode-bash-debug · GitHub
Had to run the bashdb installation using ./configure --disable-getopt which got me past the initial error message. However, now when running I ...
Read more >Syntax issues and Unrecognized Option '[Option]' when ...
Unrecognized option is essentially a syntax error when running DMZBackup.
Read more >Unrecognized option or missing or extra parameter(s) in ...
getting this error when starting server. Options error: Unrecognized option or missing or extra parameter(s) in server.ovpn:78: ca (2.6_beta1) ...
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 FreeTop 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
Top GitHub Comments
Svelte 3 is not fully supported yet, the alpha was for the svelte 3 alpha but haven’t had time to update it yet. There were also some bugs here and there as I didn’t really test much at all
Sent with GitHawk
@okrad I’m aware of this issue and will try to look into it. If anyone has experience with Svelte compiler or just wants to try to fix this feel free to do so.
Sent with GitHawk