Closed maxmumford closed 4 years ago
Hi, For now use compiler@0.2.0. I will publish a new version soon.
Thank you, 0.2.0 works. For anyone else who finds themselves here, in your package.json
file, change the following line:
"compiler": "bit.envs/compilers/angular@0.2.1"
to:
"compiler": "bit.envs/compilers/angular@0.2.0"
Then run bit install
then bit build
and it should work.
There is now a version 9.x.x compiler of angular which solve it as well. Please close if it worked out for you.
Thanks, can confirm working with bit compiler 9.0.11. For others, change this line in package.json:
"compiler": "bit.envs/compilers/angular@0.2.0"
to:
"compiler": "bit.envs/compilers/angular@9.0.11"
Then run bit install and bit build.
Describe the bug
When following the Angular tutorial, at the
bit build
stage, I get an exception saying tsconfig.json could not be found (see exception details below).Steps to Reproduce
$ git clone https://github.com/teambit/bit-angular-tutorial $ cd bit-angular-tutorial $ npm install $ bit init $ bit add src/app/product-list --main src/app/product-list/product-list.module.ts $ bit import bit.envs/compilers/angular --compiler $ bit build
Expected Behavior
The build should succeed
Screenshots, exceptions and logs
The following exception occurs when running bit build:
Specifications