Closed argonan0 closed 1 year ago
cannot repro, are you using supported versions of node/npm?
Installed what Ubuntu 22.04.2 LTS includes:
$ node --version
v12.22.9
$ npm --version
8.5.1
I guess not as Node should be v18+ ...?
I would recommend using https://github.com/nvm-sh/nvm
:~/discord-rss$ npm run sync
> discorss@0.11.0 sync
> svelte-kit sync
> Unexpected option config.kit.browser
at file:///home/.../discord-rss/node_modules/@sveltejs/kit/src/core/config/options.js:314:12
at file:///home/.../discord-rss/node_modules/@sveltejs/kit/src/core/config/options.js:321:18
at validate_config (file:///home/.../discord-rss/node_modules/@sveltejs/kit/src/core/config/index.js:108:9)
at process_config (file:///home/.../discord-rss/node_modules/@sveltejs/kit/src/core/config/index.js:80:20)
at load_config (file:///home/.../discord-rss/node_modules/@sveltejs/kit/src/core/config/index.js:72:9)
at async file:///home/.../discord-rss/node_modules/@sveltejs/kit/src/cli.js:36:19
$ npm --version
9.6.6
$ node --version
v20.2.0
@3ventic Any ideas?
did you upgrade any dependencies from what's defined in the main branch right now? I know there are some breaking changes to sveltekit's config from the prerelease version that was used for this and I haven't felt the urge to upgrade it yet.
did you upgrade any dependencies from what's defined in the main branch right now? I know there are some breaking changes to sveltekit's config from the prerelease version that was used for this and I haven't felt the urge to upgrade it yet.
I do not know. I believe I ran npm update at one point.
did you upgrade any dependencies from what's defined in the main branch right now? I know there are some breaking changes to sveltekit's config from the prerelease version that was used for this and I haven't felt the urge to upgrade it yet.
@3ventic How would I reset the environment so it's as if I never did those things?
Appears that this does not work on 18+ necessarily
Use exactly these versions:
npm --version
9.7.1
node --version
v18.16.0