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.

Configuring `lib.externals` for third-party library

See original GitHub issue

I always get error on compiling:

BUILD ERROR
'letProto' is not exported by node_modules\rxjs\operator\let.js
Error: 'letProto' is not exported by node_modules\rxjs\operator\let.js

Here is my source code: https://github.com/piernik/alert-error

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:25 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
isaacplmanncommented, Jul 31, 2017

I get the same error. I can fix it by adding this to ng-package.json:

{
  "lib": {
    "externals": {
      "rxjs/operator/let": "Rx.Observable.prototype"
    }
  }
}
0reactions
github-actions[bot]commented, Jun 19, 2020

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

This action has been performed automatically by a bot.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Externals - webpack
The externals configuration option provides a way of excluding dependencies ... For example, if the external library is a CommonJS module, you can...
Read more >
How to configure "lib.externals" in ng-package.json ... - GitHub
I try to re-phrase how to set the externals of ng-packagr: lib.externals is key-value pair of external dependencies of an Angular library.
Read more >
Third-Party Libraries | Unreal Engine 4.27 Documentation
Integrating third-party libraries into Unreal Engine. ... External setting tells the engine not to look for (or compile) source code.
Read more >
Embed Third-Party Libraries | ASP.NET Web Forms Controls
Add the external libraries or enable the control to load them automatically to the “resources” section in the web.config file to ensure the ......
Read more >
Webpack Externals Configuration for a Local Library
In order for WebPack to treat your import as external, your import declaration must be using the same alias you defined in the...
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