Error: The target entry-point "@ngxs/store" has missing dependencies: – @angular/core – @angular/common – @rxjs – @rxjs/operators

  angular, node.js, npm, windows

I have problems with ngxs/store.
The error that appears every time I declare import { NgxsModule } from ‘@ngxs/store’; in the app.module.ts file. After that the server stops and I can’t code anymore. I even tried on a linux vm, or reinstalled nodejs, npm and angular and nothing helps.
enter image description here

Source: Windows Questions