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.

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:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
DeMoorJaspercommented, Apr 23, 2019

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

0reactions
DeMoorJaspercommented, Apr 27, 2019

@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

Read more comments on GitHub >

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

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