Skip to content

Error: Unrecognized option 'onwarn' rears its ugly head once more #50

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

Closed
saabi opened this issue Mar 12, 2019 · 1 comment
Closed

Error: Unrecognized option 'onwarn' rears its ugly head once more #50

saabi opened this issue Mar 12, 2019 · 1 comment

Comments

@saabi
Copy link

saabi commented Mar 12, 2019

It shows up when trying to compile sveltejs/svelte-subdivide/pull/23

[!] (svelte plugin) Error: Unrecognized option 'onwarn'
src\Subdivide.svelte
Error: Unrecognized option 'onwarn'
    at Object.keys.forEach.key (I:\Work\repos\svelte-subdivide\node_modules\svelte\compiler.js:23829:20)
    at Array.forEach (<anonymous>)
    at validate_options (I:\Work\repos\svelte-subdivide\node_modules\svelte\compiler.js:23823:27)
    at compile (I:\Work\repos\svelte-subdivide\node_modules\svelte\compiler.js:23865:6)
    at preprocessPromise.then.code (I:\Work\repos\svelte-subdivide\node_modules\rollup-plugin-svelte\index.js:221:22)
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at Function.Module.runMain (internal/modules/cjs/loader.js:744:11)
    at startup (internal/bootstrap/node.js:285:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:739:3)
  "devDependencies": {
    "port-authority": "^1.0.3",
    "puppeteer": "^1.2.0",
    "rollup": "^1.6.0",
    "rollup-plugin-commonjs": "^9.1.0",
    "rollup-plugin-node-resolve": "^4.0.1",
    "rollup-plugin-svelte": "^5.0.3",
    "serve-handler": "^5.0.8",
    "svelte": "^3.0.0-beta.15",
    "tap-diff": "^0.1.1",
    "tap-dot": "^2.0.0",
    "tape-modern": "^1.0.0"
  }
@saabi
Copy link
Author

saabi commented Mar 12, 2019

Deleting node_modules and the npm lock file fixed it.

@saabi saabi closed this as completed Mar 12, 2019
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