Duolith docs

Errors while reading a page

E0007 Script does not parse

Message The script does not parse: detail

Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.

Why

The script block, every expression, and each of the project's own .ts and .d.ts files a page imports must be valid TypeScript. A file that does not parse is never taken as clean.

How to fix it

Correct the TypeScript at the line shown.

In a terminal

duolith explain E0007

Mentioned in