Closed lilliputten closed 6 years ago
@Yeti-or can you help to understand the problem with bem-config?
I have exactly the same problem. macOS, node 9.3.0, npm 5.5.1.
Still using 0.1.2. The solution has not yet been found?
The current project is deprecated since we have https://github.com/bem/bem-react-boilerplate. Please try it and write some feedback for us ;)
@awinogradov Yes, thank you! This works fine.
here's the fix anyway
After installing and creating the application, an error occurs during the execution of the
npm start
command innode_modules/@bem/sdk.config/index.js:extendConfigsPathByLayer()
.The variable
config.levels
is expected as an array whereas when it's a hash:In
.bemrc
change the parameterlevels
to become an array:Next see an error:
Install it:
Run
npm start
again.localhost:3000
opens in browser. Got in the browser window:Got in the console the foloowing:
Versions:
Running on Win10.