config.kit.target is no longer required, and should be removed #3695
-
Describe the bug
Reproductionhttps://github.com/tauri-apps/tauri/tree/dev/tooling/create-tauri-app creates a package.json that has sdev and sbuild. I was trying to run them on my machine. pnpm run sdev config.kit.target is no longer required, and should be removed LogsNo response System InfoSystem:
OS: Windows 10 10.0.19044
Binaries:
Node: 15.14.0 - C:\ProgramData\Miniconda3\node.EXE
Yarn: 1.22.10 - C:\ProgramData\Miniconda3\yarn.CMD
npm: 7.19.1 - C:\ProgramData\Miniconda3\npm.CMD
npmPackages:
@sveltejs/adapter-auto: next => 1.0.0-next.17
@sveltejs/kit: next => 1.0.0-next.259
svelte: ^3.44.0 => 3.46.3 Severityblocking all usage of SvelteKit Additional Informationconfig.kit.target is no longer required, and should be removed |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
As the error says, remove |
Beta Was this translation helpful? Give feedback.
-
@davehorner try removing the Maybe the error message should clarify that it's talking about P.S. wouldn't it be... nicer to spit out a deprecation warning - but continuing to build - rather than a hard failure? SvelteKit has done this before with many other methods / properties. Seems odd to change the pattern now. |
Beta Was this translation helpful? Give feedback.
-
Hi , so I have a question regarding the removal of the element in src/app.html?
Thanks, Im new here. |
Beta Was this translation helpful? Give feedback.
As the error says, remove
target
option from the config