specifier_invalid
An import specifier is neither an exact relative path nor a disko: built-in name.
An import specifier is neither an exact relative path nor a disko: built-in name.
| Kind | Build or validation problem |
| Reported by | Archive and source validation |
disko exit code | 1 (problems) |
An import specifier has a form disko does not accept. A specifier is either a
relative path that names the exact file, extension included, or a disko:
built-in such as disko:math. Nothing is resolved for you.
Why it happens
A bare package name (
lodash), an absolute path (/src/x.js), a URL or anode:module. There is nonode_modulesresolution.A missing extension (
./util) or a directory (./levels/); there is noindexlookup...after a normal segment (./a/../b.js), doubled/, backslashes, a query or fragment (?x,#x), or%escapes.A
disko:name that is not lowercase letters, digits and-.
Wrong
src/main.ts
Right
src/main.ts