Skip to content

Commit

Permalink
Bump sharp version; trying to fix installing on Node 12.16.3+
Browse files Browse the repository at this point in the history
  • Loading branch information
rngnrs committed Sep 4, 2020
1 parent 7426352 commit 680906e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ const Database = require('./models/dao.js');
let log = logError(console);
catchThrown(log);

require('sharp');
require('canvas');

try {
await Database.connect();

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"jwt-simple": "^0.5.6",
"koa": "^2.11.0",
"koa-router": "^7.2.1",
"sharp": "^0.23.4",
"needle": "^2.5.2",
"sharp": "^0.26.0",
"ws": "^3.1.0"
},
"engines": {
Expand Down

0 comments on commit 680906e

Please sign in to comment.