E0535 Package that cannot ship
Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.
Why
duolith add scans a package as duolith scan does before keeping it. One that uses what no target has (Node's fs or child_process, a native addon), that could not be fully checked, or that did not install, is taken out again: package.json and the lockfile are restored, the package manager installs from them again, so a package that was there before keeps its version, and what the refused package brought with it is removed. A web-only package is kept with a warning instead (E0287).
How to fix it
Choose a package that runs in a browser and on iOS and Android, or one that Duolith's effects cover. The findings in the message name each file and line that caused the refusal.
In a terminal
duolith explain E0535