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 Failures with 16.1.0, fixed with revert to 16.0.3

See original GitHub issue

I’m submitting a … (check one with “x”)

[ X] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior Snippet of Build Error, this list goes on for a long time.

ERROR in ../node_modules/@swimlane/ngx-datatable/lib/components/body/body-group-header.directive.d.ts:9:9 - error TS1086: An accessor cannot be declared in an ambient context.

9     get template(): TemplateRef<any>;
          ~~~~~~~~
../node_modules/@swimlane/ngx-datatable/lib/services/column-changes.service.d.ts:8:9 - error TS1086: An accessor cannot be declared in an ambient context.

8     get columnInputChanges$(): Observable<undefined>;
          ~~~~~~~~~~~~~~~~~~~

Expected behavior Successful build using 16.1.0 after an update (no breaking changes in a minor version bump).

Reproduction of the problem Updating from 16.0.3 to 16.1.0.

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

Angular CLI: 8.3.26
Node: 13.6.0
OS: darwin x64
Angular: 8.2.14
Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.802.2
@angular-devkit/build-angular     0.802.2
@angular-devkit/build-optimizer   0.802.2
@angular-devkit/build-webpack     0.802.2
@angular-devkit/core              8.2.2
@angular-devkit/schematics        8.3.26
@angular/cli                      8.3.26
@ngtools/webpack                  8.2.2
@schematics/angular               8.3.26
@schematics/update                0.803.26
rxjs                              6.5.2
typescript                        3.5.3
webpack                           4.38.0
  • Table version: Issue occurs with 16.1.0. Issue fixed by locking to version 16.0.3

  • Angular version: 8.3.26

  • Browser: N/A

  • Language: TS 3.5.3

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:8
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
Hypercubedcommented, Apr 17, 2020

I just republished 16.0.3 as 16.1.1. Please “upgrade” to 16.1.1 for angular versions <9. Otherwise please use 17.0.0.

2reactions
btmurrellcommented, Apr 15, 2020

we are facing another manifestation, starting today, getting @swimlane/ngx-datatable@16.1.0 on typedoc:

Error while generating typedoc file: Error: Command failed: /Users/schme/dev/jones/fubar/node_modules/.bin/typedoc --json /Users/schme/dev/jones/fubar/src/docs-tmp/all.json --tsconfig /Users/schme/dev/jones/fubar/src/app/components/tsconfig.documentation.json /Users/schme/dev/jones/fubar/node_modules/@skope

[TS] stdout: 
Using TypeScript 3.1.6 from /Users/schme/dev/jones/fubar/node_modules/typescript/lib
Error: /Users/schme/dev/jones/fubar/node_modules/@swimlane/ngx-datatable/lib/components/body/body-cell.component.d.ts(7)
 An accessor cannot be declared in an ambient context.

Unfortunately for us, we recently published a component, depending on "@swimlane/ngx-datatable": "^16.0.2" – so for us to fix, we will need to release another version to our customers without the caret.

This is clearly a breaking change in ngx-datatable; should have gone into 17.0.0

$ ./node_modules/.bin/ng --version

Angular CLI: 7.3.10
Node: 12.13.0
OS: darwin x64
Angular: 7.2.16
... common, compiler, compiler-cli, core, elements, forms
... platform-browser, platform-browser-dynamic

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.13.10
@angular-devkit/build-angular     0.13.10
@angular-devkit/build-optimizer   0.13.10
@angular-devkit/build-webpack     0.13.10
@angular-devkit/core              7.3.10
@angular-devkit/schematics        7.3.10
@angular/cli                      7.3.10
@ngtools/webpack                  7.3.10
@schematics/angular               7.3.10
@schematics/update                0.13.10
rxjs                              6.3.3
typescript                        3.2.4
webpack                           4.29.0


$ ./node_modules/.bin/tsc --version
Version 3.2.4
Read more comments on GitHub >

github_iconTop Results From Across the Web

About iOS 16 Updates - Apple Support
iOS 16.0.3. This update provides bug fixes and important security updates for your iPhone including the following: Incoming call and app ...
Read more >
iOS 16 Problems and Bugs with Fixes in 2022 - Tenorshare
Ensure Bluetooth device is close to your iOS devices. Turn on airplane mode and off again. Reset your network settings. 17. iPhone Overheating ......
Read more >
iOS 16.1 Issues Fixed, New Problems, Features & Improvements
Apple has released iOS 16.1 (20B82) with lots of new features and issues fixed. Check them out here and report new problems or...
Read more >
Visual Studio 2019 version 16.11 Release Notes
Fixed a failure to conduct fast up-to-date check on WAP projects which was causing those projects to be built (instead of being skipped),...
Read more >
How to Downgrade from iOS 16.2 to iOS 16.1.2
If you run into iOS 16.2 problems on your iPhone and you think ... to download iOS 16.0.3, it had one security patch...
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