Skip to content

Unable to install the latest version of angular #65

@nareshpingale

Description

@nareshpingale

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions