Closed pauliusguzas closed 1 year ago
Can't fix this ts issue and not brake wdio config at the same time
lerna notice cli v6.6.2
✔ @flexn/create:build (7s)
✖ @flexn/template:build
$ yarn clean && yarn compile
$ rm -rf ./lib && rm -rf tsconfig.tsbuildinfo
$ tsc --noEmit
wdio.conf.ts(2,1): error TS1208: 'wdio.conf.ts' cannot be compiled under '--isolatedModules' because it is considered a global script file. Add an import, export, or an empty 'export {}' statement to make it a module.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
> Lerna (powered by Nx) Ran target build for 3 projects (15s)
✔ 1/2 succeeded [0 read from cache]
✖ 1/2 targets failed, including the following:
- @flexn/template:build
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
pauliusguzas@Pauliuss-MacBook-Pro create % git pull
Already up to date.
pauliusguzas@Pauliuss-MacBook-Pro create %
unblocked by wdio fix