Skip to content

Commit

Permalink
chore: define node engines
Browse files Browse the repository at this point in the history
Because of dependency of `@achrinza/node-ipc`, its config node engine not allow > 17. so should define a lts node version to tell vercel

Errors below:
`error @achrinza/node-ipc@9.2.2: The engine "node" is incompatible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "18.12.1"`
  • Loading branch information
moonrailgun authored Feb 3, 2023
1 parent 737da25 commit 7b0fcf4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
"netease_api:run": "npx NeteaseCloudMusicApi"
},
"main": "background.js",
"engines": {
"node": "14 || 16"
},
"dependencies": {
"@unblockneteasemusic/rust-napi": "^0.4.0",
"NeteaseCloudMusicApi": "^4.8.7",
Expand Down

1 comment on commit 7b0fcf4

@vercel
Copy link

@vercel vercel bot commented on 7b0fcf4 Feb 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.