Problem with faunadb

FYI, answered my own question: Problem with FaunaDB function- import failure

In short: yeah, package.json needs to be there, in conjunction with a build command to run npm install.