nodejs-system-sleep icon indicating copy to clipboard operation
nodejs-system-sleep copied to clipboard

It worked for only one time

Open GongShengyue opened this issue 5 years ago • 1 comments

I used system-sleep in my Vue program and eroor occurs like that:

Vue warn]: Error in v-on handler: "TypeError: __webpack_require__(...).execSync is not a function"

found in

---> <Gift> at src/components/gift.vue
       <App> at src/App.vue
         <Root>

GongShengyue avatar Nov 01 '19 01:11 GongShengyue

Like it says in the readme, this does not work in browser environments or anything else than Node.

jochemstoel avatar Nov 04 '19 17:11 jochemstoel