From 01e799ba7cb7e0eb09710529a395b6db500d7aa0 Mon Sep 17 00:00:00 2001 From: AnotherSola <38176179+anotherso1a@users.noreply.github.com> Date: Thu, 1 Feb 2024 19:29:51 +0800 Subject: [PATCH] fix(scripts): fix error in install (#252) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 27e4dfc..c27d66f 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "scripts" ], "scripts": { - "postinstall": "node ./scripts/postinstall.js", + "postinstall": "node -e \"try{require('./scripts/postinstall.js')}catch(e){}\"", "release": "npx bumpp --tag --commit --push && npm publish" }, "peerDependencies": {