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.

angular2-data-table.d.ts' is not a module. Please contact the package author to update the package definition

See original GitHub issue

release/angular2-data-table.d.ts

line 483 add prefix keyword export is compile success

export declare module "angular2-data-table"

my environment is angular-cli

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:45 (21 by maintainers)

github_iconTop GitHub Comments

3reactions
hwupucommented, Aug 25, 2016

One more update, I found out that the

Error: Uncaught (in promise): Template parse errors:
Can't bind to 'row' since it isn't a known property of 'datatable-body-row'.

issue was introduced by rc5, as stated under this: https://github.com/angular/angular/issues/10618

So, the temporary workaround is to add

plugins: [
    ...
    new webpack.optimize.UglifyJsPlugin({ mangle: { screw_ie8 : true, keep_fnames: true } })
]

to webpack.prod.config

3reactions
amcdnlcommented, Aug 15, 2016

Try now please. This file is generated by the build, need to figure out how to do this automagic for now i manually added

Read more comments on GitHub >

github_iconTop Results From Across the Web

File 'app/hero.ts' is not a module error in the console, where to ...
Try Restarting the editor in which you are writing the code(VS code or Sublime). Compile and Run it again. I have done the...
Read more >
DataTableBs5 import error — DataTables forums
Hi, I'm having the error "node_modules/datatables.net-bs5/types/dataTables.bootstrap5.d.ts' it's not a module" when trying to import ...
Read more >
The starting point for learning TypeScript
Find TypeScript starter projects: from Angular to React or Node.js and CLIs. ... Handbook. A great first read for your daily TS work....
Read more >
Angular 2 Components - jQWidgets
First we need to install the Angular 2 and Typescript required modules. For that we need a package.json file. Here is ours: {....
Read more >
vue cannot find module or type declarations - You.com
I re-installed every package changed many settings but it still fails to load all paths and show the error above for all files....
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