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
Error: Nest can't resolve dependencies of the ScrapeAccountService (?). Please make sure that the argument DefaultPuppeteerBrowser at index [0] is available in the AppModule context.
What am I missing?
app.module.ts:
@Module({
imports: [
PuppeteerModule.forRoot(
{
pipe: true,
isGlobal: true,
}, // optional, any Puppeteer launch options here or leave empty for good defaults */,
'ScrapeInstance', // optional, can be useful for using Chrome and Firefox in the same project
),
ClientsModule.register([
{
name: 'MQ_CLIENT',
transport: Transport.MQTT,
options: {
url: 'ws://mosquitto:1883',
clientId: 'scraper_' + Math.random().toString(16).substr(2, 8),
},
},
]),
],
controllers: [AppController, BrokerFlatexAccountController],
providers: [AppService, BrokerFlatexAccountService],
})
export class AppModule { }
Hi,
I cannot get my app to work.
Error: Nest can't resolve dependencies of the ScrapeAccountService (?). Please make sure that the argument DefaultPuppeteerBrowser at index [0] is available in the AppModule context.
What am I missing?
app.module.ts:
controller:
service (cut some code)
The text was updated successfully, but these errors were encountered: