akveo / ng2-smart-table

Angular Smart Data Table component
https://akveo.github.io/ng2-smart-table/
MIT License
1.63k stars 876 forks source link

Import via systemjs #17

Open AScripnic opened 8 years ago

AScripnic commented 8 years ago

Hello,

I'm trying to import this module via systemjs with this configuration:

 map = {
    ...
    'ng2-smart-table': 'js/node_modules/ng2-smart-table',
  };

packages = {
    ...
    'ng2-smart-table': {
      main: 'build/ng2-smart-table.js',
      defaultJSExtension: 'js',
    },
  };

and I'm getting error that it can't find other files that ng2-smart-table.js cannot find:

http://localhost:8000/js/node_modules/ng2-smart-table/build/src/ng2-smart-table/lib.js 404 (Not Found)
dbogdantech101 commented 8 years ago

Same Issue, used similar map and packages code for systemjs

screen shot 2016-09-07 at 2 09 51 pm

moidiqbal commented 8 years ago

any update on the above error?

markitchhavi commented 8 years ago

Hi Team, Please let us know if there is any update on this issue ? I need to work in this component in my project and it is not working when I am using "systemjs" as bundler.

namburi22 commented 7 years ago

can some one help me on this issue..??. Appreciate your help.

TorW commented 7 years ago

No fix for this yet? I have the same issue with 0.4.0-3

barathpoubady commented 7 years ago

Hello,

I have the same problem, is there anyone who has the solution for that? Or how to use it in other ways?

Thanks

sir-captainmorgan21 commented 7 years ago

I am having the same issue. Any luck?

nitinchandrakar commented 7 years ago

Any update please, I tried to import the module in different way as well but still 404.

thor089 commented 7 years ago

Hello I would appreciate your help on this issue. I guess systemjs is very common.

if I use 'ng2-smart-table': { main: 'ng2-smart-table.js', defaultExtension: 'js' } => node_modules/ng2-smart-table/src/ng2-smart-table.directives.js 404 (Not Found)

if I use 'ng2-smart-table': { main: 'build/ng2-smart-table.js', defaultExtension: 'js' } =>node_modules/ng2-smart-table/build/src/ng2-smart-table/lib.js 404 (Not Found)

Thanks

pvilardo commented 7 years ago

Same error, any update on this?

Sakthivel25 commented 7 years ago

Same error..Any help?

liuborama commented 7 years ago

Any update? Still Error

sla-shi commented 7 years ago

I'm stuck with the same issue, using Angular 2.4.6 and Systemjs 0.20.5.

tsimgsong commented 7 years ago

Crazy it totally doesn't work with systemjs ...

MJAHEDSABRINE commented 7 years ago

Hi Team, Please let us know if there is any update on this issue ? I need to work in this component in my project and it is not working image I would appreciate your help on this issue

wlievens commented 7 years ago

Has this ever been looked at? It's pretty essential to be able to actually use this component.

MJAHEDSABRINE commented 7 years ago

he doesn't know lib js inside smart datatable,inspite of the existence of the foder smart data in th module folder !!!!

FrankSD commented 7 years ago

Having the same issue.Can anyone please comment on this?