1602 / 1602/compound

path.js:204 throw new TypeError('Arguments to path.join must be strings');

オープン
#632 コメント 9 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
1.6k
フォーク
179
PR マージ指標
30日以内にマージされた PR はありません

説明

path.js:204
throw new TypeError('Arguments to path.join must be strings');
^
TypeError: Arguments to path.join must be strings
at f (path.js:204:15)
at Object.filter (native)
at exports.join (path.js:209:40)
at Array.map (native)
at LESSCompiler.module.exports.LESSCompiler.getDependencies (C:\ECM\JS\Js_3\js_arch\node_modules\less-brunch\lib\index
.js:71:10)
at LESSCompiler.getDependencies (C:\ECM\JS\Js_3\js_arch\node_modules\less-brunch\lib\index.js:4:61)
at getDependencies (C:\Users\mailas\AppData\Roaming\npm\node_modules\brunch\lib\fs_utils\pipeline.js:40:23)
at C:\Users\mailas\AppData\Roaming\npm\node_modules\brunch\lib\fs_utils\pipeline.js:80:16
at C:\ECM\JS\Js_3\js_arch\node_modules\less-brunch\lib\index.js:49:16
at finish (C:\ECM\JS\Js_3\js_arch\node_modules\less-brunch\node_modules\less\lib\less\parser.js:434:40)
at C:\ECM\JS\Js_3\js_arch\node_modules\less-brunch\node_modules\less\lib\less\parser.js:94:48
at C:\ECM\JS\Js_3\js_arch\node_modules\less-brunch\node_modules\less\lib\less\index.js:116:17
at Object.Parser.parser.parse as parse
at C:\ECM\JS\Js_3\js_arch\node_modules\less-brunch\node_modules\less\lib\less\index.js:115:16
at fs.js:271:14
at Object.oncomplete (fs.js:107:15)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

The error occurs in less-brunch's index.js at line 71, where path.join receives non-string arguments. Start by examining the LESSCompiler.getDependencies method in node_modules/less-brunch/lib/index.js to see how dependencies are collected. Check what types of values are being passed to path.join, and ensure they are strings. Running the brunch build with debugging may show the problematic input.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, node.js
領域
backend, build-system
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。