Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install the latest version of angular #65

Open
nareshpingale opened this issue Dec 26, 2019 · 2 comments
Open

Unable to install the latest version of angular #65

nareshpingale opened this issue Dec 26, 2019 · 2 comments

Comments

@nareshpingale
Copy link

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

@nareshpingale
Copy link
Author

nareshpingale commented Dec 26, 2019

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

Documentation needs updates :P

@GiladShoham
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants