question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

build issue with ng-packagr

See original GitHub issue

Its a build issue of ng-packager

error TS6046: Argument for '--lib' option must be: 'es5', 'es6', 'es2015', 'es7', 'es2016', 'es2017', 'esnext', 'dom', 'dom.iterable', 'webworker', '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', 'esnext.asynciterable'.

Description

i don’t why i am facing, i tried all i know to fix it

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
bartontcommented, Sep 20, 2018

That did it, thanks! Installed 2.9.2 and all is well

3reactions
alan-agius4commented, Sep 20, 2018

Which typescript version are you using? Typescript 2.7+ is required.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · ng-packagr/ng-packagr - GitHub
Compile and package Angular libraries in Angular Package Format (APF) - Issues · ng-packagr/ng-packagr.
Read more >
@angular-devkit/build-ng-packagr - npm package | Snyk
The npm package @angular-devkit/build-ng-packagr was scanned for known vulnerabilities and missing license, and no issues were found. Thus the package was ...
Read more >
Creating libraries - Angular
Angular CLI uses a tool called ng-packagr to create packages from your compiled code that can be published to npm. See Building libraries...
Read more >
Newest 'ng-packagr' Questions - Stack Overflow
I have a problem when I was execute npm run build. In the terminal an error appears: No provider for InjectionToken ng.v5.defaultTsConfig!
Read more >
Having trouble building my library with ng-packagr. : r/angular
My issue is that when I run ng build , I'm being told ng-packager can't resolve the path properly: ng build "my-lib" Building...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found