question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue with angular beta-4

See original GitHub issue

Hey!

I took my repo and did npm install on a different computer and am now getting an error (no code changes, nothing). A package had to have updated that hasnt before. Any help with this would be much appreciated.

The error is:

ERROR in Error encountered resolving symbol values statically. Calling function 'OpaqueToken', function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol CONFIG_OBJ in /Users/Au/Projects/AU/M/app.io/node_modules/ng2-restangular/dist/esm/src/ng2-restangular.module.d.ts, resolving symbol RestangularModule.forRoot in /Users/Au/Projects/AU/mo/app.io/node_modules/ng2-restangular/dist/esm/src/ng2-restangular.module.d.ts, resolving symbol AppModule in /Users/Au/Projects/AU/mo/app.io/src/app/app.module.ts, resolving symbol AppModule in /Users/Au/Projects/AU/mo/app.io/src/app/app.module.ts

My app.module looks like this:

export function configFunc (RestangularProvider, http) {
  RestangularProvider.setBaseUrl('...');
}

@NgModule({
    declarations: [
        AppComponent,
    ],
    imports: [
        BrowserModule,
        TranslateModule.forRoot(),
        SharedModule,

        RoutingModule,
        RestangularModule.forRoot([Http], configFunc)

    ],
    providers: [],
    bootstrap: [AppComponent]
})
export class AppModule { }   

I am using:
Angular 4.0.0-beta.4 and angular-cli 1.0.0-beta.26

Thanks!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

1reaction
tairezzzzcommented, Mar 17, 2017

@zenkkor team is working on it - my expectation that we will finish next week.

0reactions
zenkkorcommented, Mar 22, 2017

Thanks @logvinoleg89 - will test it out today! 😃 Awesome

Read more comments on GitHub >

github_iconTop Results From Across the Web

Breaking changes are absent in changelog for 11.0.0-beta.4 ...
Previously i was using 11.0.0-beta.1 version of your lib, so now, after migration to 11.0.0 i need to change angular.json config. Old version:...
Read more >
@angular/cli - npm
@angular/cli. TypeScript icon, indicating that this package has built-in type declarations. 6.0.0-beta.4 • Public • Published 5 years ago.
Read more >
Releases - 0.12.0-beta.4 - Clarity Design System
Forms have been redesigned for better usability and developer experience. Currently they are only fully supported in @clr/ui, but new Angular components will...
Read more >
angular conventional commit specification
Conventional Commits 1.0.0-beta.4. Summary. The Conventional Commits specification is a lightweight convention on top of commit messages.
Read more >
angular13 - Angular 13 upgrade - JEST issue - Stack Overflow
I am upgrading my angular app from v12 to v13. It gets compiled without issues. Even ng build works fine. But the unit...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found