You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.
Hello, I can't use the plugin,
I get the following error:
website.assets_frontend.js:1022 Error: Error: Can't resolve all parameters for RequestOptions: (?).(…)(anonymous function) @ website.assets_frontend.js:1022
. I have
the following code:
Can't resolve all parameters for RequestOptions: (?).(…)(anonymous function) @ website.assets_frontend.js:1022.
I have the following code:
import { Component } from '@angular/core';
import { Hero } from './hero';
import { HeroDetailComponent } from './hero-detail.component';
import { HeroService } from './hero.service';
import { OnInit } from '@angular/core';
import {OdooRPCService } from 'angular2-odoo-jsonrpc'
import { Http, ConnectionBackend, RequestOptions } from "@angular/http";
Hello, I can't use the plugin,
I get the following error:
website.assets_frontend.js:1022 Error: Error: Can't resolve all parameters for RequestOptions: (?).(…)(anonymous function) @ website.assets_frontend.js:1022
. I have
the following code:
Can't resolve all parameters for RequestOptions: (?).(…)(anonymous function) @ website.assets_frontend.js:1022.
I have the following code:
import { Component } from '@angular/core';
import { Hero } from './hero';
import { HeroDetailComponent } from './hero-detail.component';
import { HeroService } from './hero.service';
import { OnInit } from '@angular/core';
import {OdooRPCService } from 'angular2-odoo-jsonrpc'
import { Http, ConnectionBackend, RequestOptions } from "@angular/http";
@component({
selector: 'my-app',
template:
<h1>{{title}}</h1> <h2>My Heroessss</h2> <ul class="heroes"> <li *ngFor="let hero of heroes" (click)="onSelect(hero)" [class.selected]="hero === selectedHero"> <span class="badge">{{hero.id}}</span> {{hero.name}} </li> </ul> <my-hero-detail [hero]="selectedHero"></my-hero-detail> <!--<my-odoo-rpc></my-odoo-rpc>-->
,providers: [
HeroService,
OdooRPCService,
Http,
ConnectionBackend,
RequestOptions
]
})
export class AppComponent implements OnInit {
title = 'Tour of Heroes';
heroes : Hero[];
selectedHero: Hero;
onSelect(hero: Hero): void {
this.selectedHero = hero;
}
}
}
The text was updated successfully, but these errors were encountered: