galkahana / HummusJS

Node.js module for high performance creation, modification and parsing of PDF files and streams
http://www.pdfhummus.com
Other
1.14k stars 169 forks source link

Error when installing during deploy process #290

Open roelvan opened 6 years ago

roelvan commented 6 years ago
Building "hummus@1.0.87" remotely
> Building "hummus@1.0.87" remotely
> Building "hummus@1.0.87" remotely
> Building "hummus@1.0.87" remotely
> Building "hummus@1.0.87" remotely
> Error: Error parsing `package.json` for hummus-1.0.87.tar
>     at extract (/snapshot/ace/lib/extract.js:36:11)
>     at <anonymous>
>     at process._tickCallback (internal/process/next_tick.js:188:7)
chunyenHuang commented 6 years ago

Do you mind to post your os and commands?

roelvan commented 6 years ago

Yes, sorry. This is the log output when I am deploying to Zeit Now. On Mac, I don't see that error. This is my package.json:

{
  "name": "api",
  "version": "1.0.0",
  "main": "index.js",
  "engines": {
    "node": "10.x.x"
  },
  "dependencies": {
    "axios": "^0.18.0",
    "body-parser": "^1.18.3",
    "compression": "^1.7.2",
    "cors": "^2.8.4",
    "currency-formatter": "^1.4.2",
    "date-fns": "^1.29.0",
    "dotenv": "^6.0.0",
    "express": "^4.16.3",
    "helmet": "^3.12.1",
    "hummus": "^1.0.87",
    "mongodb": "^3.0.10"
  },
  "scripts": {
    "start": "NODE_ENV=production node index.js",
    "precommit": "lint-staged"
  },
  "lint-staged": {
    "*.js": [
      "prettier --write",
      "git add"
    ]
  },
  "devDependencies": {
    "husky": "^0.14.3",
    "lint-staged": "^7.0.0",
    "prettier": "^1.9.1"
  },
  "prettier": {
    "singleQuote": true,
    "semi": true
  }
}
chunyenHuang commented 6 years ago

Not sure if HummusJS supports node 10 yet. https://github.com/galkahana/HummusJS/blob/master/.travis.yml

roelvan commented 6 years ago

Got the same error with node v9.

On Thu, Jun 14, 2018, 6:21 PM John Huang notifications@github.com wrote:

Not sure if HummusJS supports node 10 yet. https://github.com/galkahana/HummusJS/blob/master/.travis.yml

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/galkahana/HummusJS/issues/290#issuecomment-397354789, or mute the thread https://github.com/notifications/unsubscribe-auth/ACdtHUWWvTX-PzKYsGX-toEPIweaGkoOks5t8o2RgaJpZM4UkemQ .