Re: mockup: error when make bundles
Hardy Eric <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <[email protected]> |
Maybe solved : At the top the file bower_components/bootstrap/less/progress-bars.less, I added the lines : @import "mixins/vendor-prefixes.less"; @import "mixins/gradients.less"; @import "mixins/progress-bar.less"; @import "mixins/buttons.less"; and to the file bower_components/bootstrap/less/buttons.less : @import "mixins/buttons.less"; @import "mixins/tab-focus.less"; @import "mixins/opacity.less"; @import "mixins/border-radius.less"; Now I can `make bundles` and `make bundle-widgets`. Somebody to confirm that it is the right way to proceed ? Eric Le 25 sept. 2014 à 11:19, Hardy Eric <[email protected]> a écrit : > Thanks for your answer Espen, but that doesn't solve the problem, another error occurs : > > Running "less:widgets" (less) task >>> ParseError: Unrecognised input in bower_components/bootstrap/less/progress-bars.less on line 33, column 3: >>> 32 border-radius: @border-radius-base; >>> 33 box-shadow(inset 0 1px 2px rgba(0,0,0,.1)); >>> 34 } > Warning: Error compiling less/widgets.less Use --force to continue. > > Maybe, it misses a 'require' or a kind of 'include' somewhere... but which one ? > I'm far to be a nodejs/RequireJS/Less/... guru ;( > > Eric > > Le 25 sept. 2014 à 10:21, espen <[email protected]> a écrit : > >> >> 25. sep. 2014 kl. 10:00 skrev Hardy Eric [via Plone] <[hidden email]>: >> >>> Hi everybody, >>> >>> Even on a MacOSX 10.9.4 and a Debian wheezy, I try to start with mockup and I follow the instructions at : http://plone.github.io/mockup/dev/#getting-started >>> >>> With make and gmake (darwin macport), I encounter the error below when I make bundles. >>> >>> Any ideas ? >>> >>> Many thanks in advance, >>> Eric >>> >>> [mockup (master)⚡]> gmake bundles >>> mkdir -p build >>> NODE_PATH=./node_modules ./node_modules/grunt-cli/bin/grunt bundle-widgets >>> Running "requirejs:widgets" (requirejs) task >>> >>> Running "uglify:widgets" (uglify) task >>> File build/widgets.min.map created (source map). >>> File build/widgets.min.js created: 2.62 MB → 1.27 MB >>> File build/widgets.dev.map created (source map). >>> File build/widgets.dev.js created: 85.65 kB → 25.83 kB >>> >>> Running "less:widgets" (less) task >>>>> NameError: .box-shadow is undefined in bower_components/bootstrap/less/progress-bars.less on line 33, column 3: >>>>> 32 border-radius: @border-radius-base; >>>>> 33 .box-shadow(inset 0 1px 2px rgba(0,0,0,.1)); >> >> could it be that >> box-shadow is defined as .box-shadow (remove the dot in front) >> >>>>> 34 } >>> Warning: Error compiling less/widgets.less Use --force to continue. >>> >>> Aborted due to warnings. >>> Makefile:29: recipe for target 'bundle-widgets' failed >>> gmake: *** [bundle-widgets] Error 6 >>> >>> >>> >>> >>> >>> -- >>> Hardy Eric >>> Institut Universitaire Européen de la Mer >>> Tel: 02 98 49 87 16 >>> >>> >>> ------------------------------------------------------------------------------ >>> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >>> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports >>> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >>> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >>> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Plone-Users mailing list >>> <a href="x-msg://31/user/SendEmail.jtp?type=node&node=7572560&i=0" target="_top" rel="nofollow" link="external">[hidden email] >>> https://lists.sourceforge.net/lists/listinfo/plone-users >>> >>> >>> If you reply to this email, your message will be added to the discussion below: >>> http://plone.293351.n2.nabble.com/mockup-error-when-make-bundles-tp7572560.html >>> To start a new topic under General Questions, email [hidden email] >>> To unsubscribe from Plone, click here. >>> NAML >> >> >> View this message in context: Re: mockup: error when make bundles >> Sent from the General Questions mailing list archive at Nabble.com. >> ------------------------------------------------------------------------------ >> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer >> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports >> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper >> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer >> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk_______________________________________________ >> Plone-Users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/plone-users > > -- > Hardy Eric > Institut Universitaire Européen de la Mer > Tel: 02 98 49 87 16 > > -- Hardy Eric Institut Universitaire Européen de la Mer Tel: 02 98 49 87 16 ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ Plone-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plone-users