awilix: Cannot convert a Symbol value to a string
hey guys I’m getting this error when trying to create a container:
import { createContainer } from 'awilix'
container = createContainer()
Error:
/usr/src/app/node_modules/awilix/lib/createContainer.js:306
backend │ throw err
backend │ ^
backend │
backend │ TypeError: Cannot convert a Symbol value to a string
backend │ at Array.join (native)
backend │ at createErrorMessage (/usr/src/app/node_modules/awilix/lib/AwilixResolutionError.js:19:48)
backend │ at AwilixResolutionError (/usr/src/app/node_modules/awilix/lib/AwilixResolutionError.js:46:11)
backend │ at resolve (/usr/src/app/node_modules/awilix/lib/createContainer.js:252:15)
backend │ at Object.get (/usr/src/app/node_modules/awilix/lib/createContainer.js:97:28)
backend │ at formatValue (util.js:345:37)
backend │ at formatProperty (util.js:794:15)
backend │ at util.js:654:12
backend │ at Array.map (native)
backend │ at formatObject (util.js:653:15)
backend │ at formatValue (util.js:592:16)
backend │ at inspect (util.js:186:10)
backend │ at exports.format (util.js:130:20)
I’m using node v6.9.2
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 22 (13 by maintainers)
Let me know buddy! 😄