axelspringer/graphql-google-pubsub

Error in build

Closed this issue · 2 comments

I'm seeing the following error when I try to use with netlify functions and apollo-server:

Error during invocation: Error: package.json does not exist at /package.json

Here are my dependencies:

  "devDependencies": {
    "netlify-lambda": "^1.5.1"
  },
  "dependencies": {
    "@axelspringer/graphql-google-pubsub": "^1.2.1",
    "apollo-server-lambda": "^2.8.1",
    "aws-sdk": "^2.343.0",
    "dotenv": "^6.1.0",
    "graphql": "^14.4.2",
    "mongoose": "^5.4.18",
    "uuid": "^3.2.1"
  }

I think it has something to do with netlify's webpack configuration, but it only started when I installed this package.

Thx....I ended up going another route. Google Pubsub was recommended to me by someone else.