#Runtime errors in project setup. 'error NG1010: Value at position 4 in the NgModule.imports of app'

8 messages · Page 1 of 1 (latest)

tropic apex
#

Hi all, I'm new to angular, I'm trying to set up Suite CRM 8.2 project on my local machine,
but I'm getting runtime errors, Please help me how to solve these errors,
Error screenshots are attached, Please check it.

*1. Error: core/app/shell/src/app/app.module.ts:86:14 - error NG1010: Value at position 4 in the NgModule.imports of AppModule is not a reference
Value could not be determined statically.

  1. Error: core/app/shell/src/app/app.component.ts:45:17 - error NG2003: No suitable injection token for parameter 'appStateStore' of class 'AppComponent'.
    Consider using the @Inject decorator to specify an injection token.

45 private appStateStore: AppStateStore,*

Thanks in advance.

novel pumice
#

I suggest to you to not use ts-ignore, and to post imports snippets too.
Better if you post code instead of screenshots.

novel pumice
#

g!codeblock @tropic apex

fresh garnetBOT
#

Hi @tropic apex, you can use the following snippet to have your code formatted and syntax highlighted by Discord. Replace ts with the language you need (i.e. html, js, css, etc).

```ts
// your code goes here
```

tropic apex
#

Thanks @fresh garnet

tropic apex
#

@novel pumice It is not accepting more than 2000 chars, so I have shared files

novel pumice
#

Where's AppRoutingModule defined?