karma-runner / karma

Spectacular Test Runner for JavaScript
http://karma-runner.github.io
MIT License
11.95k stars 1.71k forks source link

[karma-server]: Server start failed on port 9876: Error: The target entry-point "ngx-siema" has missing dependencies: - rxjs/BehaviorSubject - rxjs/ReplaySubject - rxjs/add/operator/publish - rxjs/Observable #3793

Open gouthmpllc opened 2 years ago

gouthmpllc commented 2 years ago

after implementing ngx seima in project , karma is not working. steps to reproduce the error

  1. create new angular app.
  2. install ngx-seima package in the app
  3. run the application, it will produce above error. or
  4. implement ngx-seima carousel in any component
  5. Run the ng test, error occur as above

@devoto13

devoto13 commented 2 years ago

There is no package called ngx-seima in the npm registry.

$ npm install ngx-seima
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/ngx-seima - Not found
npm ERR! 404
npm ERR! 404  'ngx-seima@*' is not in this registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/devoto13/.npm/_logs/2022-05-13T08_46_24_216Z-debug-0.log

If you want to get help, please create a new repository on GitHub, create a fresh Angular application, add minimal code to reproduce a problem in the second commit, and post the link to that repo here, so I can run ng test and observe an error after cloning the repo.

gouthmpllc commented 2 years ago

https://www.npmjs.com/package/ngx-siema

gouthmpllc commented 2 years ago

i have tried to upload application, but github limiting upload greater than 25 MB

devoto13 commented 2 years ago

I guess you need to add .gitignore and exclude node_modules folder or something?

gouthmpllc commented 2 years ago

Node_modules are excluded and git ignore is there

devoto13 commented 2 years ago

Ok, not sure if I can help much without having a runnable project.

But even without that. You do realise that you're trying to use something which was not updated for 5 years and which GitHub repository was removed, right? It is mostly likely dependent on rxjs 5, which is not compatible with rxjs 6 used by the new Angular projects, probably packaged for an ancient Angular version and that's likely the reason why you run into these problems.

gouthmpllc commented 2 years ago

https://www.npmjs.com/package/@kurkov87/ngx-siema here is the repo link https://github.com/IgorKurkov/ngx-siema

@IgorKurkov

devoto13 commented 2 years ago

@kurkov87/ngx-siema package does not seem to produce that error when installed.

gouthmpllc commented 2 years ago

when we implemented ngx-seima in any of component, we are getting the error.