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.

Breaking changes in 1.6.0

See original GitHub issue
Could not resolve @akveo/ng2-completer relative to [object Object].
node_modules/ng2-smart-table/lib/components/cell/cell-editors/completer-editor.component.d.ts(2,34): error TS2307: Cannot find module '@akveo/ng2-completer'.
node_modules/ng2-smart-table/lib/components/filter/filter-types/completer-filter.component.d.ts(3,34): error TS2307: Cannot find module '@akveo/ng2-completer'.
node_modules/ng2-smart-table/lib/components/tbody/tbody.component.d.ts(29,9): error TS1086: An accessor cannot be declared in an ambient context.
error TS2339: Property 'settings' does not exist on type 'Row'.
error TS2339: Property 'source' does not exist on type 'Row'.
error TS2339: Property 'userRowSelect' does not exist on type 'Row'.
error TS2339: Property 'create' does not exist on type 'Row'.
error TS2339: Property 'grid' does not exist on type 'Row'.
error TS2339: Property 'edit' does not exist on type 'Row'.
error TS2339: Property 'grid' does not exist on type 'Row'.
error TS2339: Property 'delete' does not exist on type 'Row'.
error TS2339: Property 'prepareSettings' does not exist on type 'Row'.
error TS2339: Property 'editRowSelect' does not exist on type 'Row'.

Had to downgrade back to 1.5.0

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:6
  • Comments:12

github_iconTop GitHub Comments

7reactions
majhooscommented, Mar 25, 2020

I installed npm install @akveo/ng2-completer --save

but I still experience build problem:

ng build --prod

results in the following error:

ERROR in ./node_modules/ng2-smart-table/ng2-smart-table.ngfactory.js
Module not found: Error: Can't resolve '../@akveo/ng2-completer/ng2-completer.ngfactory' in 'G:\Source\ShareHolderV2\node_modules\ng2-smart-table'
resolve '../@akveo/ng2-completer/ng2-completer.ngfactory' in 'G:\Source\ShareHolderV2\node_modules\ng2-smart-table'
  using description file: G:\Source\ShareHolderV2\node_modules\ng2-smart-table\package.json (relative path: .)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: G:\Source\ShareHolderV2\node_modules\@akveo\ng2-completer\package.json (relative path: ./ng2-completer.ngfactory)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        G:\Source\ShareHolderV2\node_modules\@akveo\ng2-completer\ng2-completer.ngfactory doesn't exist
      .ts
        Field 'browser' doesn't contain a valid alias configuration
        G:\Source\ShareHolderV2\node_modules\@akveo\ng2-completer\ng2-completer.ngfactory.ts doesn't exist
      .tsx
        Field 'browser' doesn't contain a valid alias configuration
        G:\Source\ShareHolderV2\node_modules\@akveo\ng2-completer\ng2-completer.ngfactory.tsx doesn't exist
      .mjs
        Field 'browser' doesn't contain a valid alias configuration
        G:\Source\ShareHolderV2\node_modules\@akveo\ng2-completer\ng2-completer.ngfactory.mjs doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        G:\Source\ShareHolderV2\node_modules\@akveo\ng2-completer\ng2-completer.ngfactory.js doesn't exist
      as directory
        G:\Source\ShareHolderV2\node_modules\@akveo\ng2-completer\ng2-completer.ngfactory doesn't exist
[G:\Source\ShareHolderV2\node_modules\@akveo\ng2-completer\ng2-completer.ngfactory]
[G:\Source\ShareHolderV2\node_modules\@akveo\ng2-completer\ng2-completer.ngfactory.ts]
[G:\Source\ShareHolderV2\node_modules\@akveo\ng2-completer\ng2-completer.ngfactory.tsx]
[G:\Source\ShareHolderV2\node_modules\@akveo\ng2-completer\ng2-completer.ngfactory.mjs]
[G:\Source\ShareHolderV2\node_modules\@akveo\ng2-completer\ng2-completer.ngfactory.js]
 @ ./node_modules/ng2-smart-table/ng2-smart-table.ngfactory.js 13:0-70 291:11-33 291:35-61 589:11-33 589:35-61
 @ ./src/app/tag/tag-list/tag-list.component.ngfactory.js
 @ ./src/app/app.module.ngfactory.js
 @ ./src/main.ts
 @ multi ./src/main.ts

Am I missing something or everybody gets above build error?

6reactions
axel012commented, Mar 28, 2020

Downgrade to version 1.5.0 until fix.

-npm uninstall ng2-smart-table -npm i ng2-smart-table@1.5.0 --save

Read more comments on GitHub >

github_iconTop Results From Across the Web

1.6.0 Breaking Changes | NodeBB
wigdets-refactor, widgets are rendered on cold load now, this is a breaking change for themes please see these changes if you have a...
Read more >
Upgrading to Vault 1.6.0 - Guides - HashiCorp Developer
This page contains the list of deprecations and important or breaking changes for Vault 1.6.0 compared to 1.5. Please read it carefully.
Read more >
Phoenix 1.6.0 Released
The biggest support issues for Phoenix over the years has revolved around node tooling, breaking changes, and often times unnecessary churn. By ...
Read more >
Changelog Highlights — Locust 1.6.0 documentation
This version contains some breaking changes. Locust class renamed to User¶. We've renamed the Locust and HttpLocust classes to User ...
Read more >
Changelog — Stable Baselines3 1.7.0a5 documentation
Breaking Changes :¶ · All customs environments (e.g. the BitFlippingEnv or IdentityEnv ) were moved to stable_baselines3.common.envs folder. Refactored HER which ...
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