postinstall looking for file before install has created it

Hi

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.

Looking in 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?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.