command:
"build": "webpack –config ./webpack.development.js"
"start": "fastify start -l debug –options dist/bundle.js",
error:
AvvioError [Error]: Plugin must be a function or a promise. Received: 'object'
at assertPlugin (C:\Local\Work\Digital\yettel\DEV\GIT\yettel-webpack\node_modules\avvio\boot.js:207:11)
at Boot._addPlugin (C:\Local\Work\Digital\yettel\DEV\GIT\yettel-webpack\node_modules\avvio\boot.js:240:12)
at Boot.use (C:\Local\Work\Digital\yettel\DEV\GIT\yettel-webpack\node_modules\avvio\boot.js:216:25)
at Object.server.<computed> [as register] (C:\Local\Work\Digital\yettel\DEV\GIT\yettel-webpack\node_modules\avvio\boot.js:40:14)
at runFastify (C:\Local\Work\Digital\yettel\DEV\GIT\yettel-webpack\node_modules\fastify-cli\start.js:149:17) {
code: 'AVV_ERR_PLUGIN_NOT_VALID'
}
also how can i debug the fastify autoload plugin?
tried to debug setting fastify start command -l option didnt work..
expectation is to start application successfully with one bundle.js file and serve graphql apollo playground
New contributor