Comments (2)
Добрый вечер!
Тоже начал учиться в Яндекс Практикуме, нашел Ваше творение! Спасибо! С первым проектом Kaufman сработало отлично, а на Путешествиях по России, при запуске npm run start
выдало ошибку.
$ npm run start
> [email protected] start
> css-to-bem-file-structure ./pages/index.css
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^
AssertionError [ERR_ASSERTION]: Required `entity` field
at new BemCell (D:\Documents\practicum\projects\russian-travels\node_modules\@bem\cell\index.js:18:9)
at D:\Documents\practicum\projects\russian-travels\node_modules\bem-tools-create\lib\create.js:102:41
at Array.map (<anonymous>)
at D:\Documents\practicum\projects\russian-travels\node_modules\bem-tools-create\lib\create.js:100:61
at async Promise.all (index 0)
at async Promise.all (index 0)
at async Promise.all (index 0) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: undefined,
expected: true,
operator: '=='
}
Node.js v18.12.0
Конкретно на селекторы не тестировал, но псевдо классы или элементы есть в обоих проектах, keyframes есть в первом(правда не помню если они были прописаны в стилях на момент запуска скрипта...
Оба проекта есть в моем репо если что. how-to-learn and russian-travels.
from bem-tools-create-by-css.
Спасибо за репорты!
Псевдо и прочие сложные селекторы починил в версии 0.0.4
.
А с keyframes
(как и с переменными, объявленными для :root
) сложно — не очевидно, в файл к какой именно сущности их положить, поэтому теперь просто кидаю варнинг.
from bem-tools-create-by-css.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bem-tools-create-by-css.