You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the issue is related to 1.x -> 2.0 upgrade, read the Migration Guide first.
Describe the bug
lit-element-ts throws an error during yarn build . Throws an error on the tsc step
yarn run v1.17.3
warning package.json: No license field
$ tsc && vite build
tsconfig.json:6:5 - error TS5069: Option 'emitDeclarationOnly' cannot be specified without specifying option 'declaration' or option 'composite'.
6 "emitDeclarationOnly": true,
~~~~~~~~~~~~~~~~~~~~~
Found 1 error.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Reproduction
yarn create @vitejs/app
choose lit-element-ts
cd to the app directory
yarn
yarn build
System Info
vite version: 2.0.0-beta.69
Operating System: macOS 10.14.6
Node version: 14.15.1
Package manager (npm/yarn/pnpm) and version: yarn 1.17.3
Logs (Optional if provided reproduction)
No error during vite build error comes from tsc in
{
"build": "tsc && vite build"
}
The text was updated successfully, but these errors were encountered:
geocine
changed the title
Option 'emitDeclarationOnly' cannot be specified without specifying option 'declaration' or option 'composite'
lite-element-ts: Option 'emitDeclarationOnly' cannot be specified without specifying option 'declaration' or option 'composite'
Feb 13, 2021
Describe the bug
lit-element-ts
throws an error duringyarn build
. Throws an error on thetsc
stepReproduction
yarn create @vitejs/app
lit-element-ts
yarn
yarn build
System Info
vite
version: 2.0.0-beta.69Logs (Optional if provided reproduction)
No error during
vite build
error comes fromtsc
inThe text was updated successfully, but these errors were encountered: