bit.envs
bit.envs copied to clipboard
Unable to install the latest version of angular
Just getting started with bit and was trying to setup angular env, every time I try to install I end with version 0.1.9 which is not working for me.
bit import bit.envs/angular --compiler
the following component environments were installed
- bit.envs/[email protected] [deprecated]
bit import bit.envs/[email protected] --compiler
error: component "bit.envs/[email protected]" was not found
I have even tried clearing cache, incase by repo is pointing towards an older version with bit clear-cache command but no luck with that also
When I try to build with this version, I end up with this error
bit build
building components...
Command failed: node /xxxxxxx/.bit/components/angular/bit.envs/0.1.9/node_modules/ng-packagr/cli/main.js -p ng-package.json -c tsconfig.json
error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'es2018', 'es2019', 'esnext', 'dom', 'dom.iterable', 'webworker', 'webworker.importscripts', 'scripthost', 'es2015.core', 'es2015.collection', 'es2015.generator', 'es2015.iterable', 'es2015.promise', 'es2015.proxy', 'es2015.reflect', 'es2015.symbol', 'es2015.symbol.wellknown', 'es2016.array.include', 'es2017.object', 'es2017.sharedmemory', 'es2017.string', 'es2017.intl', 'es2017.typedarrays', 'es2018.asynciterable', 'es2018.intl', 'es2018.promise', 'es2018.regexp', 'es2019.array', 'es2019.string', 'es2019.symbol', 'esnext.array', 'esnext.symbol', 'esnext.asynciterable', 'esnext.intl', 'esnext.bigint'.
Building Angular Package
Kind of stuck here, thanks in advance
bit import bit.envs/compilers/angular --compiler worked
Documentation needs updates :P
@nareshpingale Thanks, can you please point me to the exact place in the docs this is written? @Tallyb please update the docs?