Closed DeyLak closed 3 years ago
Hey, can you please provide more information about the component you try to build and what are the files inside the component, also if you write a special configuration with rawConfig
please provide it so I'll be able to reproduce the error.
@JoshK2 I've provided you access to the collection. Try these steps:
bit import pik-pro.mobile-apps/pages/page-profile
package.json
@DeyLak , I can't access the collection, please add me directly in the collection of the component.
@JoshK2 sorry, I've added you only to organisation. Please, try again.
@JoshK2 I've provided you access to the collection. Try these steps:
- Create empty workspace
bit import pik-pro.mobile-apps/pages/page-profile
- Change the compiler of the component in it's
package.json
- Try build the component
@DeyLak , I do exactly these setups and it works fine for me with both https://bit.dev/bit/envs/compilers/react-typescript?version=3.1.43 and https://bit.dev/bit/envs/compilers/typescript?version=3.1.38
Maybe we missing something.
@DeyLak , maybe you can send me a tar file, so I'll be able to reproduce it.
@JoshK2 I've discovered, that this error seems to occur only once, when changing the compiler. If I ran build second time, it builds successfully.
I've sent you an email with a bit workspace. Try reproducing it on this archive. It contains all the node_modules
but the compiler is not installed. After first run of bit build
it will work. You can bump compiler version to see the error again, I think.
I debug it, and the issue is whit bit and not with the compiler, I opened an issue in bit repo: https://github.com/teambit/bit/issues/2297 @GiladShoham @davidfirst
Describe the bug
I just tried to update my ts compiler and now I'm getting this error, when trying to build a component:
I used version 3.1.0 previously and it worked fine. Now I'm trying to update to ts@3.7.5 and all compiler versions with that release of typescript are throwing this error.
Specifications
Additional context
I can provide access to my collection to show an example of this, if you'll have troubles with reproducing this.