teambit / bit.envs

DEPRECATED - Bit compilers and testers were moved to https://github.com/teambit/envs
https://bit.dev/bit/envs
Other
23 stars 9 forks source link

Unable to install the latest version of angular #65

Open nareshpingale opened 4 years ago

nareshpingale commented 4 years ago

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/angular@0.1.9  [deprecated]
    bit import bit.envs/angular@0.2.0 --compiler
error: component "bit.envs/angular@0.2.0" 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

nareshpingale commented 4 years ago

bit import bit.envs/compilers/angular --compiler worked

Documentation needs updates :P

GiladShoham commented 4 years ago

@nareshpingale Thanks, can you please point me to the exact place in the docs this is written? @Tallyb please update the docs?