valor-software / ng2-table

Simple table extension with sorting, filtering, paging... for Angular2 apps
http://valor-software.github.io/ng2-table/
MIT License
554 stars 336 forks source link

How do I build? #589

Open felixbaral opened 6 years ago

felixbaral commented 6 years ago

I did a fork and included it via npm add url in package.json but building this package doesn't work.

I've called npm run flow.build but it doesn't work.

Anybody who does this?

Maybe npm run flow.build does work correctly. But when I try to ng serve my project I get the following Error:

ERROR in ./node_modules/ng2-table/ng2-table.ts
Module build failed: Error: /Users/[...]/node_modules/ng2-table/ng2-table.ts is not part of the compilation output. Please check the other error messages for details.
    at AngularCompilerPlugin.getCompiledFile (/Users/[...]/node_modules/@ngtools/webpack/src/angular_compiler_plugin.js:629:23)
    at plugin.done.then (/Users/[...]/node_modules/@ngtools/webpack/src/loader.js:467:39)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
 @ ./src/app/components/components.module.ts 39:0-53
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts