ioBroker.javascript: 4.9.0 broke all TypeScript scripts: ERROR: File 'lib.esnext.bigint.d.ts' not found.

Describe the bug
With 4.9.0 all TypeScript scripts report ERROR: File 'lib.esnext.bigint.d.ts' not found. during compilation.

To Reproduce
Steps to reproduce the behavior:

  1. Update from 4.8.4 to 4.9.0
  2. Save a new TS script
  3. Error message ERROR: File 'lib.esnext.bigint.d.ts' not found. on line 1

Restarting the adapter throws the same error for all TS scripts.

Expected behavior
TS scripts work as on 4.8.4

Screenshots & Logfiles

2020-10-16 08:13:42.984  - error: javascript.0 (5284) script.js.common.Licht.Licht_Treppe_EG: TypeScript compilation failed: 
(async () => {// Device data points
^
ERROR: File 'lib.esnext.bigint.d.ts' not found.
...
2020-10-16 15:37:20.898  - info: javascript.0 (17160) script.js.common.Überwachung.Überwachung_Proxmox: compiling TypeScript source...
2020-10-16 15:37:21.905  - error: javascript.0 (17160) script.js.common.Überwachung.Überwachung_Proxmox: TypeScript compilation failed: 
// all LXC containers and storage
^
ERROR: File 'lib.esnext.bigint.d.ts' not found.

Versions:

  • Adapter version: 4.9.0
  • JS-Controller version: 3.1.6
  • Node version: v12.18.4
  • Operating system: Debian GNU/Linux 10 (buster), Linux 4.19.0-10-amd64 on Proxmox VM

Additional context
Rollback to 4.8.4 solves the problem. 4.9.3 shows the same problem.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 26

Most upvoted comments

I guess if you keep in mind that you need to update soon, staying on the branch is okay. I’ll keep it alive a while longer so you can update to the next official version. I don’t know when that will be released but I’ll push for a quick update.