Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/flolu/bazel-concatjs-ngrx-issue

NgRx Issue with Bazel's Concatjs Server
https://github.com/flolu/bazel-concatjs-ngrx-issue

angular bazel concatjs ngrx rules-nodejs

Last synced: 16 days ago
JSON representation

NgRx Issue with Bazel's Concatjs Server

Awesome Lists containing this project

README

        

### Issue was fixed via workaround

Read more here:

- https://stackoverflow.com/a/66837422/8586803
- https://github.com/bazelbuild/rules_nodejs/issues/2320#issuecomment-808823505

Thank you, [mattem](https://github.com/mattem)

### Basic Usage

- `yarn install` (Install dependencies)
- `yarn start` (Start Angular development server, http://localhost:4200)
- `yarn prod` (Start Angular production server, http://localhost:8080)

### The problem ⚠️

- `yarn upgrade-ngrx` (Upgrade NgRx from v9 to v11)
- `yarn start` (Error in the console, http://localhost:4200)

```
Uncaught SyntaxError: Cannot use import statement outside a module
at ts_scripts.js?v=32020367:12007
```

at `npm/node_modules/@ngrx/store/esm2015/src/store_module.ngfactory.js`