1602 / 1602/compound

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

Ouverte
#632 9 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
1.6k
Forks
179
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
javascript, node.js
Domaine
backend, build-system
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.