TypeError: config.levels.forEach is not a function
at configs.forEach.config (/home/p0larbeer/Work/react-bem-app/node_modules/@bem/sdk.config/index.js:412:40)
at Array.forEach ()
at extendConfigsPathByLayer (/home/p0larbeer/Work/react-bem-app/node_modules/@bem/sdk.config/index.js:411:13)
at BemConfig.configs (/home/p0larbeer/Work/react-bem-app/node_modules/@bem/sdk.config/index.js:55:23)
at BemConfig.getSync (/home/p0larbeer/Work/react-bem-app/node_modules/@bem/sdk.config/index.js:258:23)
at BemConfig.moduleSync (/home/p0larbeer/Work/react-bem-app/node_modules/@bem/sdk.config/index.js:361:24)
at Object. (/home/p0larbeer/Work/react-bem-app/node_modules/bem-react-scripts/config/paths.js:17:31)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-bem-app@0.1.0 start: react-scripts start
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-bem-app@0.1.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
fix this error [p0larbeer@localhost react-bem-app]$ npm start
/home/p0larbeer/Work/react-bem-app/node_modules/@bem/sdk.config/index.js:412 config.levels && config.levels.forEach(level => { ^
TypeError: config.levels.forEach is not a function at configs.forEach.config (/home/p0larbeer/Work/react-bem-app/node_modules/@bem/sdk.config/index.js:412:40) at Array.forEach ()
at extendConfigsPathByLayer (/home/p0larbeer/Work/react-bem-app/node_modules/@bem/sdk.config/index.js:411:13)
at BemConfig.configs (/home/p0larbeer/Work/react-bem-app/node_modules/@bem/sdk.config/index.js:55:23)
at BemConfig.getSync (/home/p0larbeer/Work/react-bem-app/node_modules/@bem/sdk.config/index.js:258:23)
at BemConfig.moduleSync (/home/p0larbeer/Work/react-bem-app/node_modules/@bem/sdk.config/index.js:361:24)
at Object. (/home/p0larbeer/Work/react-bem-app/node_modules/bem-react-scripts/config/paths.js:17:31)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! react-bem-app@0.1.0 start:
react-scripts start
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the react-bem-app@0.1.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.