javascript-tutorial / server

Server for the Modern Javascript Tutorial
https://javascript.info
Other
452 stars 138 forks source link

Failed to @extend "$font-burger" #81

Closed stel-parnas closed 2 years ago

stel-parnas commented 2 years ago

Failed to @extend "$font-burger"

---- OS: Ubuntu 21.10 Codename: impish

---- node: v16.13.1 (also v12.22.5 gives same arror)

---- invocation script on PWD=/zz/repo/mjt

MJTDIR=/zz/repo/mjt/server

export P=4570

( cd $MJTDIR && PORT=$P ./edit en ) 2>&1 | tee .server-error-report

---- log output:

[01:56:49] Using gulpfile /zz/repo/mjt/server/gulpfile.js [01:56:49] Starting 'edit'... [01:56:49] Starting 'webpack'... [01:56:49] Starting 'engine:koa:tutorial:importWatch'... [01:56:49] Starting 'livereload'... [01:56:49] Starting 'server'... (node:24574) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency (Use node --trace-warnings ... to show where the warning was created) (node:24574) Warning: Accessing non-existent property 'column' of module exports inside circular dependency (node:24574) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency (node:24574) Warning: Accessing non-existent property 'lineno' of module exports inside circular dependency (node:24574) Warning: Accessing non-existent property 'column' of module exports inside circular dependency (node:24574) Warning: Accessing non-existent property 'filename' of module exports inside circular dependency (node:24574) DeprecationWarning: Tapable.plugin is deprecated. Use new API on .hooks instead Livereload server listening 23:56:56.015Z INFO application: Boot complete 23:56:56.145Z INFO application: Server is listening localhost:4570 [01:56:56] Finished 'server' after 6.88 s 23:56:56.248Z INFO tutorialImporter: sync /zz/repo/mjt/server/repo/en.javascript.info/1-js /zz/repo/mjt/server/repo/en.javascript.info/1-js /zz/repo/mjt/server/repo/en.javascript.info 23:56:56.250Z INFO tutorialImporter: syncFolder /zz/repo/mjt/server/repo/en.javascript.info/1-js 23:56:56.253Z INFO tutorialImporter: syncFolder /zz/repo/mjt/server/repo/en.javascript.info/1-js/01-getting-started 23:56:56.255Z INFO tutorialImporter: syncArticle /zz/repo/mjt/server/repo/en.javascript.info/1-js/01-getting-started/1-intro 23:56:56.374Z INFO tutorialImporter: importImage /zz/repo/mjt/server/repo/en.javascript.info/1-js/01-getting-started/1-intro/limitations.svg to /zz/repo/mjt/server/public/en/article/intro 23:56:56.380Z INFO tutorialImporter: syncArticle /zz/repo/mjt/server/repo/en.javascript.info/1-js/01-getting-started/2-manuals-specifications 23:56:56.438Z INFO tutorialImporter: syncArticle /zz/repo/mjt/server/repo/en.javascript.info/1-js/01-getting-started/3-code-editors 23:56:56.488Z INFO tutorialImporter: syncArticle /zz/repo/mjt/server/repo/en.javascript.info/1-js/01-getting-started/4-devtools 23:56:56.556Z INFO tutorialImporter: importImage /zz/repo/mjt/server/repo/en.javascript.info/1-js/01-getting-started/4-devtools/chrome.png to /zz/repo/mjt/server/public/en/article/devtools 23:56:56.561Z INFO tutorialImporter: importImage /zz/repo/mjt/server/repo/en.javascript.info/1-js/01-getting-started/4-devtools/chrome@2x.png to /zz/repo/mjt/server/public/en/article/devtools 23:56:56.567Z INFO tutorialImporter: importImage /zz/repo/mjt/server/repo/en.javascript.info/1-js/01-getting-started/4-devtools/safari.png to /zz/repo/mjt/server/public/en/article/devtools 23:56:56.572Z INFO tutorialImporter: importImage /zz/repo/mjt/server/repo/en.javascript.info/1-js/01-getting-started/4-devtools/safari@2x.png to /zz/repo/mjt/server/public/en/article/devtools 23:56:56.579Z INFO tutorialImporter: syncFolder /zz/repo/mjt/server/repo/en.javascript.info/1-js/02-first-steps 23:56:56.581Z INFO tutorialImporter: syncArticle /zz/repo/mjt/server/repo/en.javascript.info/1-js/02-first-steps/01-hello-world 23:56:56.669Z INFO tutorialImporter: syncView: dir /zz/repo/mjt/server/repo/en.javascript.info/1-js/02-first-steps/01-hello-world/1-hello-alert/solution.view 23:56:56.794Z INFO tutorialImporter: syncArticle /zz/repo/mjt/server/repo/en.javascript.info/1-js/02-first-steps/02-structure 23:56:57.761Z INFO tutorialImporter: syncArticle /zz/repo/mjt/server/repo/en.javascript.info/1-js/02-first-steps/03-strict-mode 23:56:57.823Z INFO tutorialImporter: syncArticle /zz/repo/mjt/server/repo/en.javascript.info/1-js/02-first-steps/04-variables 23:56:57.885Z INFO tutorialImporter: importImage /zz/repo/mjt/server/repo/en.javascript.info/1-js/02-first-steps/04-variables/variable-change.svg to /zz/repo/mjt/server/public/en/article/variables 23:56:57.888Z INFO tutorialImporter: importImage /zz/repo/mjt/server/repo/en.javascript.info/1-js/02-first-steps/04-variables/variable.svg to /zz/repo/mjt/server/public/en/article/variables 23:56:57.890Z INFO tutorialImporter: syncArticle /zz/repo/mjt/server/repo/en.javascript.info/1-js/02-first-steps/05-types 23:56:57.944Z INFO tutorialImporter: syncArticle /zz/repo/mjt/server/repo/en.javascript.info/1-js/02-first-steps/06-alert-prompt-confirm 23:56:58.115Z INFO tutorialImporter: syncArticle /zz/repo/mjt/server/repo/en.javascript.info/1-js/02-first-steps/07-type-conversions 23:56:58.169Z INFO tutorialImporter: syncArticle /zz/repo/mjt/server/repo/en.javascript.info/1-js/02-first-steps/08-operators 23:56:58.237Z INFO tutorialImporter: syncArticle /zz/repo/mjt/server/repo/en.javascript.info/1-js/02-first-steps/09-comparison 23:56:58.299Z INFO tutorialImporter: syncArticle /zz/repo/mjt/server/repo/en.javascript.info/1-js/02-first-steps/10-ifelse 23:57:00.866Z INFO tutorialImporter: importImage /zz/repo/mjt/server/repo/en.javascript.info/1-js/02-first-steps/10-ifelse/2-check-standard/ifelse_task2.svg to /zz/repo/mjt/server/public/en/task/check-standard 23:57:00.877Z INFO tutorialImporter: syncArticle /zz/repo/mjt/server/repo/en.javascript.info/1-js/02-first-steps/11-logical-operators 23:57:00.972Z INFO tutorialImporter: importImage /zz/repo/mjt/server/repo/en.javascript.info/1-js/02-first-steps/11-logical-operators/9-check-login/ifelse_task.svg to /zz/repo/mjt/server/public/en/task/check-login 23:57:00.978Z INFO tutorialImporter: syncArticle /zz/repo/mjt/server/repo/en.javascript.info/1-js/02-first-steps/12-nullish-coalescing-operator 23:57:01.043Z INFO tutorialImporter: syncArticle /zz/repo/mjt/server/repo/en.javascript.info/1-js/02-first-steps/13-while-for 23:57:01.110Z INFO tutorialImporter: syncArticle /zz/repo/mjt/server/repo/en.javascript.info/1-js/02-first-steps/14-switch 23:57:01.205Z INFO tutorialImporter: syncArticle /zz/repo/mjt/server/repo/en.javascript.info/1-js/02-first-steps/15-function-basics 23:57:01.265Z INFO tutorialImporter: syncArticle /zz/repo/mjt/server/repo/en.javascript.info/1-js/02-first-steps/16-function-expressions 23:57:01.323Z INFO tutorialImporter: syncArticle /zz/repo/mjt/server/repo/en.javascript.info/1-js/02-first-steps/17-arrow-functions-basics 23:57:01.398Z INFO tutorialImporter: syncArticle /zz/repo/mjt/server/repo/en.javascript.info/1-js/02-first-steps/18-javascript-specials 23:57:01.801Z INFO tutorialImporter: syncFolder /zz/repo/mjt/server/repo/en.javascript.info/1-js/03-code-quality 23:57:01.802Z INFO tutorialImporter: syncArticle /zz/repo/mjt/server/repo/en.javascript.info/1-js/03-code-quality/01-debugging-chrome 23:57:01.859Z INFO tutorialImporter: importImage /zz/repo/mjt/server/repo/en.javascript.info/1-js/03-code-quality/01-debugging-chrome/chrome-open-sources.svg to /zz/repo/mjt/server/public/en/article/debugging-chrome 23:57:01.862Z INFO tutorialImporter: importImage /zz/repo/mjt/server/repo/en.javascript.info/1-js/03-code-quality/01-debugging-chrome/chrome-sources-breakpoint.svg to /zz/repo/mjt/server/public/en/article/debugging-chrome 23:57:01.865Z INFO tutorialImporter: importImage /zz/repo/mjt/server/repo/en.javascript.info/1-js/03-code-quality/01-debugging-chrome/chrome-sources-console.svg to /zz/repo/mjt/server/public/en/article/debugging-chrome 23:57:01.869Z INFO tutorialImporter: importImage /zz/repo/mjt/server/repo/en.javascript.info/1-js/03-code-quality/01-debugging-chrome/chrome-sources-debugger-pause.svg to /zz/repo/mjt/server/public/en/article/debugging-chrome 23:57:01.872Z INFO tutorialImporter: importImage /zz/repo/mjt/server/repo/en.javascript.info/1-js/03-code-quality/01-debugging-chrome/chrome-sources-debugger-trace-1.svg to /zz/repo/mjt/server/public/en/article/debugging-chrome 23:57:01.875Z INFO tutorialImporter: importImage /zz/repo/mjt/server/repo/en.javascript.info/1-js/03-code-quality/01-debugging-chrome/chrome-tabs.svg to /zz/repo/mjt/server/public/en/article/debugging-chrome 23:57:01.878Z INFO tutorialImporter: syncView: dir /zz/repo/mjt/server/repo/en.javascript.info/1-js/03-code-quality/01-debugging-chrome/debugging.view 23:57:02.660Z INFO tutorialImporter: importImage /zz/repo/mjt/server/repo/en.javascript.info/1-js/03-code-quality/01-debugging-chrome/largeIcons.svg to /zz/repo/mjt/server/public/en/article/debugging-chrome 23:57:02.662Z INFO tutorialImporter: syncArticle /zz/repo/mjt/server/repo/en.javascript.info/1-js/03-code-quality/02-coding-style 23:57:03.396Z INFO tutorialImporter: importImage /zz/repo/mjt/server/repo/en.javascript.info/1-js/03-code-quality/02-coding-style/code-style.svg to /zz/repo/mjt/server/public/en/article/coding-style 23:57:03.399Z INFO tutorialImporter: syncArticle /zz/repo/mjt/server/repo/en.javascript.info/1-js/03-code-quality/03-comments 23:57:03.454Z INFO tutorialImporter: syncArticle /zz/repo/mjt/server/repo/en.javascript.info/1-js/03-code-quality/04-ninja-code 23:57:03.512Z INFO tutorialImporter: syncArticle /zz/repo/mjt/server/repo/en.javascript.info/1-js/03-code-quality/05-testing-mocha 23:57:03.687Z INFO tutorialImporter: syncView: dir /zz/repo/mjt/server/repo/en.javascript.info/1-js/03-code-quality/05-testing-mocha/beforeafter.view 23:57:06.839Z INFO tutorialImporter: syncView: dir /zz/repo/mjt/server/repo/en.javascript.info/1-js/03-code-quality/05-testing-mocha/pow-1.view 23:57:07.872Z INFO tutorialImporter: syncView: dir /zz/repo/mjt/server/repo/en.javascript.info/1-js/03-code-quality/05-testing-mocha/pow-2.view 23:57:08.216Z INFO tutorialImporter: syncView: dir /zz/repo/mjt/server/repo/en.javascript.info/1-js/03-code-quality/05-testing-mocha/pow-3.view 23:57:08.491Z INFO tutorialImporter: syncView: dir /zz/repo/mjt/server/repo/en.javascript.info/1-js/03-code-quality/05-testing-mocha/pow-4.view 23:57:08.621Z INFO tutorialImporter: syncView: dir /zz/repo/mjt/server/repo/en.javascript.info/1-js/03-code-quality/05-testing-mocha/pow-full.view 23:57:08.947Z INFO tutorialImporter: syncView: dir /zz/repo/mjt/server/repo/en.javascript.info/1-js/03-code-quality/05-testing-mocha/pow-min.view 23:57:10.137Z INFO tutorialImporter: syncView: dir /zz/repo/mjt/server/repo/en.javascript.info/1-js/03-code-quality/05-testing-mocha/pow-nan.view ./tmp/en/styles.styl Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js): ModuleBuildError: Module build failed (from ./node_modules/stylus-loader/index.js): Error: /zz/repo/mjt/server/tmp/en/styles.styl:121:13

Failed to @extend "$font-burger"

at /zz/repo/mjt/server/node_modules/stylus/lib/visitor/normalizer.js:408:19
at Array.forEach (<anonymous>)
at Normalizer.extend (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/normalizer.js:402:17)
at Normalizer.visitGroup (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/normalizer.js:279:8)
at Normalizer.Visitor.visit (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/index.js:28:40)
at Normalizer.visitBlock (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/normalizer.js:232:27)
at Normalizer.Visitor.visit (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/index.js:28:40)
at Normalizer.extend (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/normalizer.js:426:22)
at Normalizer.visitGroup (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/normalizer.js:279:8)
at Normalizer.Visitor.visit (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/index.js:28:40)
at Normalizer.visitBlock (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/normalizer.js:232:27)
at Normalizer.Visitor.visit (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/index.js:28:40)
at Normalizer.visitBlock (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/normalizer.js:232:27)
at Normalizer.Visitor.visit (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/index.js:28:40)
at Normalizer.visitBlock (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/normalizer.js:232:27)
at Normalizer.Visitor.visit (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/index.js:28:40)
at Normalizer.visitBlock (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/normalizer.js:232:27)
at Normalizer.Visitor.visit (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/index.js:28:40)
at Normalizer.visitRoot (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/normalizer.js:170:23)
at Normalizer.Visitor.visit (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/index.js:28:40)
at Normalizer.normalize (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/normalizer.js:53:18)
at Renderer.render (/zz/repo/mjt/server/node_modules/stylus/lib/renderer.js:90:22)
at /zz/repo/mjt/server/node_modules/webpack/lib/NormalModule.js:316:20
at /zz/repo/mjt/server/node_modules/loader-runner/lib/LoaderRunner.js:367:11
at /zz/repo/mjt/server/node_modules/loader-runner/lib/LoaderRunner.js:233:18
at context.callback (/zz/repo/mjt/server/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
at /zz/repo/mjt/server/node_modules/stylus-loader/index.js:169:11
at Renderer.render (/zz/repo/mjt/server/node_modules/stylus/lib/renderer.js:107:12)
at /zz/repo/mjt/server/node_modules/stylus-loader/index.js:167:12
at tryCatchReject (/zz/repo/mjt/server/node_modules/when/lib/makePromise.js:840:30)
at runContinuation1 (/zz/repo/mjt/server/node_modules/when/lib/makePromise.js:799:4)
at Fulfilled.when (/zz/repo/mjt/server/node_modules/when/lib/makePromise.js:590:4)
at Pending.run (/zz/repo/mjt/server/node_modules/when/lib/makePromise.js:481:13)
at Scheduler._drain (/zz/repo/mjt/server/node_modules/when/lib/Scheduler.js:62:19)
at Scheduler.drain (/zz/repo/mjt/server/node_modules/when/lib/Scheduler.js:27:9)
at processTicksAndRejections (node:internal/process/task_queues:78:11)

[01:57:10] 'webpack' errored after 21 s [01:57:10] Error: ./tmp/en/styles.styl Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js): ModuleBuildError: Module build failed (from ./node_modules/stylus-loader/index.js): Error: /zz/repo/mjt/server/tmp/en/styles.styl:121:13

Failed to @extend "$font-burger"

at /zz/repo/mjt/server/node_modules/stylus/lib/visitor/normalizer.js:408:19
at Array.forEach (<anonymous>)
at Normalizer.extend (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/normalizer.js:402:17)
at Normalizer.visitGroup (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/normalizer.js:279:8)
at Normalizer.Visitor.visit (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/index.js:28:40)
at Normalizer.visitBlock (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/normalizer.js:232:27)
at Normalizer.Visitor.visit (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/index.js:28:40)
at Normalizer.extend (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/normalizer.js:426:22)
at Normalizer.visitGroup (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/normalizer.js:279:8)
at Normalizer.Visitor.visit (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/index.js:28:40)
at Normalizer.visitBlock (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/normalizer.js:232:27)
at Normalizer.Visitor.visit (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/index.js:28:40)
at Normalizer.visitBlock (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/normalizer.js:232:27)
at Normalizer.Visitor.visit (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/index.js:28:40)
at Normalizer.visitBlock (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/normalizer.js:232:27)
at Normalizer.Visitor.visit (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/index.js:28:40)
at Normalizer.visitBlock (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/normalizer.js:232:27)
at Normalizer.Visitor.visit (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/index.js:28:40)
at Normalizer.visitRoot (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/normalizer.js:170:23)
at Normalizer.Visitor.visit (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/index.js:28:40)
at Normalizer.normalize (/zz/repo/mjt/server/node_modules/stylus/lib/visitor/normalizer.js:53:18)
at Renderer.render (/zz/repo/mjt/server/node_modules/stylus/lib/renderer.js:90:22)
at /zz/repo/mjt/server/node_modules/webpack/lib/NormalModule.js:316:20
at /zz/repo/mjt/server/node_modules/loader-runner/lib/LoaderRunner.js:367:11
at /zz/repo/mjt/server/node_modules/loader-runner/lib/LoaderRunner.js:233:18
at context.callback (/zz/repo/mjt/server/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
at /zz/repo/mjt/server/node_modules/stylus-loader/index.js:169:11
at Renderer.render (/zz/repo/mjt/server/node_modules/stylus/lib/renderer.js:107:12)
at /zz/repo/mjt/server/node_modules/stylus-loader/index.js:167:12
at tryCatchReject (/zz/repo/mjt/server/node_modules/when/lib/makePromise.js:840:30)
at runContinuation1 (/zz/repo/mjt/server/node_modules/when/lib/makePromise.js:799:4)
at Fulfilled.when (/zz/repo/mjt/server/node_modules/when/lib/makePromise.js:590:4)
at Pending.run (/zz/repo/mjt/server/node_modules/when/lib/makePromise.js:481:13)
at Scheduler._drain (/zz/repo/mjt/server/node_modules/when/lib/Scheduler.js:62:19)
at Scheduler.drain (/zz/repo/mjt/server/node_modules/when/lib/Scheduler.js:27:9)
at processTicksAndRejections (node:internal/process/task_queues:78:11)
at formatError (/zz/repo/mjt/server/node_modules/gulp-cli/lib/versioned/^4.0.0/format-error.js:21:10)
at Gulp.<anonymous> (/zz/repo/mjt/server/node_modules/gulp-cli/lib/versioned/^4.0.0/log/events.js:33:15)
at Gulp.emit (node:events:402:35)
at Gulp.emit (node:domain:475:12)
at Object.error (/zz/repo/mjt/server/node_modules/undertaker/lib/helpers/createExtensions.js:61:10)
at handler (/zz/repo/mjt/server/node_modules/now-and-later/lib/map.js:50:14)
at f (/zz/repo/mjt/server/node_modules/once/once.js:25:25)
at f (/zz/repo/mjt/server/node_modules/once/once.js:25:25)
at tryCatch (/zz/repo/mjt/server/node_modules/async-done/index.js:24:15)
at done (/zz/repo/mjt/server/node_modules/async-done/index.js:40:12)
at onError (/zz/repo/mjt/server/node_modules/async-done/index.js:51:5)

[01:57:10] 'edit' errored after 21 s