The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
postinstall looking for file before install has created it
I have created a package with a
postinstall script which concatenates a couple of files from a dependency.
When installing this package, I get an error saying the files (to be concatenated) are not found.
The file path appears to be correct.
node_modules at this time shows that the dependency is not present. Seemingly the install quits before the dependency (and so the files in question) are created.
What am I missing here?