olegpolyakov / mdc-pug Goto Github PK
View Code? Open in Web Editor NEWMaterial Components Web implemented in Pug
Material Components Web implemented in Pug
[20:22:04] 'buildPug' errored after 490 ms
[20:22:04] TypeError in plugin "gulp-pug"
Message:
docs/src/layouts/page.pug:11
9|
10| +mdc-top-app-bar__section()(align='end')
> 11| +mdc-top-app-bar__action-item()(element='a' href='https://pugjs.org' target='_blank' title='Pug docs')
12| img(src='https://cdn.rawgit.com/pugjs/pug-logo/eec436cee8fd9d1726d7839cbe99d1f694692c0c/SVG/pug-final-logo-_-colour-128.svg')
13| +mdc-top-app-bar__action-item('code')(element='a' href='https://github.com/olegpolyakov/mdc-pug' target='_blank' title='Source code')
14| +mdc-top-app-bar__action-item('forum')(element='a' href='https://github.com/olegpolyakov/mdc-pug/discussons' target='_blank' title='Discussions')
Cannot read property 'call' of undefined
Details:
path: docs/src/layouts/page.pug
fileName: /home/wouter/github.com/wscherphof/mdc-pug/docs/src/index.pug
domainEmitter: [object Object]
domainThrown: false
When I comment out the line, and the next similar ones, the build succeeds:
+mdc-top-app-bar__section()(align='end')
//- +mdc-top-app-bar__action-item()(element='a' href='https://pugjs.org' target='_blank' title='Pug docs')
//- img(src='https://cdn.rawgit.com/pugjs/pug-logo/eec436cee8fd9d1726d7839cbe99d1f694692c0c/SVG/pug-final-logo-_-colour-128.svg')
//- +mdc-top-app-bar__action-item('code')(element='a' href='https://github.com/olegpolyakov/mdc-pug' target='_blank' title='Source code')
//- +mdc-top-app-bar__action-item('forum')(element='a' href='https://github.com/olegpolyakov/mdc-pug/discussons' target='_blank' title='Discussions')
//- +mdc-top-app-bar__action-item('bug_report')(element='a' href='https://github.com/olegpolyakov/mdc-pug/issues' target='_blank' title='Issues')
Warning: both $level and $color are required; received $level: '0', $color: ''
../node_modules/@material/elevation/_elevation-theme.scss 234:5 -shadow()
../node_modules/@material/elevation/_elevation-theme.scss 466:20 resolver()
../node_modules/@material/tokens/_resolvers.scss 5:11 -material-elevation()
../node_modules/@material/elevation/_elevation-theme.scss 426:21 with-resolver()
../node_modules/@material/banner/_banner-theme.scss 437:3 -banner-elevation()
../node_modules/@material/banner/_banner-theme.scss 154:3 theme-styles()
../node_modules/@material/banner/_banner.scss 63:5 core-styles()
../node_modules/@material/banner/styles.scss 25:1 @use
../node_modules/mdc-pug/lib/styles/banner.scss 2:1 @forward
../node_modules/mdc-pug/lib/styles/index.scss 6:1 @forward
../node_modules/mdc-pug/index.scss 1:1 @use
../node_modules/fastify-mdc-pug/style.scss 5:1 root stylesheet
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.