compile bbb-html5 get error Undefined variable: "$import-counter"

285 views
Skip to first unread message

tpt...@hotmail.com

unread,
Oct 26, 2016, 3:54:16 AM10/26/16
to BigBlueButton-dev
Dear !

When i run ./start.sh then the error show:

=> Started proxy.
=> A patch (Meteor 1.4.1.3) for your current release is available!
   Update this project now with 'meteor update --patch'.
=> Started MongoDB.
   Processing files with coffeescript (f...  -
/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Processing Step: SCSS compilation
Unable to compile /home/bigblue/dev/bigbluebutton/bigbluebutton-html5/node_modules/node-sass/test/fixtures/depth-first/a.scss
Line: 1, Column: 18
Error: Undefined variable: "$import-counter".

/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
=> Errors prevented startup:

   While processing files with nathantreid:css-modules (for target web.browser):
   /home/bigblue/dev/bigbluebutton/bigbluebutton-html5/node_modules/node-sass/lib/index.js:440:16: Undefined variable:
   "$import-counter".
   at Object.module.exports.renderSync
   (/home/bigblue/dev/bigbluebutton/bigbluebutton-html5/node_modules/node-sass/lib/index.js:440:16)
   at ScssProcessor.load (packages/mss/scss-processor.js:84:23)
   at ScssProcessor.processInternal (packages/mss/scss-processor.js:30:46)
   at ScssProcessor.process (packages/mss/scss-processor.js:18:26)
   at CssModulesBuildPlugin.compileScssFile (packages/mss/css-modules-build-plugin.js:160:25)
   at Array.forEach (native)
   at CssModulesBuildPlugin.compileScssFiles (packages/mss/css-modules-build-plugin.js:125:29)
   at CssModulesBuildPlugin.processFilesForTarget (packages/mss/css-modules-build-plugin.js:44:21)


=> Your application has errors. Waiting for file change.


I don't know how to solve it.

Please help

Anton Georgiev

unread,
Oct 26, 2016, 6:12:43 PM10/26/16
to BigBlueButton-dev
Hey!

What value do you have for node-sass in bigbluebutton-html5/package.json?
i.e. "node-sass": "~3.8.0",
What branch are you working on?

Regards,
Anton

tpt...@hotmail.com

unread,
Oct 26, 2016, 10:48:43 PM10/26/16
to BigBlueButton-dev
Hi Anton!

The value for node-sass in package.json is "node-sass": "^3.10.1",
i just run command ./start.sh under  bigbluebutton-html5  as document http://docs.bigbluebutton.org/html/html5-dev.html.

i don't understand the meaning branch here.So could you ask more detail on that

Thanks and regards
Phan Thanh

Vào 05:12:43 UTC+7 Thứ Năm, ngày 27 tháng 10 năm 2016, Anton Georgiev đã viết:
Reply all
Reply to author
Forward
0 new messages