1602 / 1602/compound

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

Aperta
#632 9 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
1.6k
Fork
179
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript, node.js
Ambito
backend, build-system
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.