o-development / ldo

Monorepo for Linked Data Objects (ldo)
MIT License
23 stars 5 forks source link

failed `build:ldo`: doesn't show from which file the error comes from. #19

Closed thhck closed 2 months ago

thhck commented 3 months ago

Running npm run build:ldo I got an error message:

parser.js:16
            var error = new Error(str);
                        ^

Error: Parse error on line 7:
...:title xsd:string  ex:description xsd:s

I do have the line number where the error comes from but not the file, it would be convinient to have it in there too.

jaxoncreed commented 2 months ago

Fixed in https://github.com/o-development/ldo/pull/38