vue-clipboard3 icon indicating copy to clipboard operation
vue-clipboard3 copied to clipboard

ReferenceError: exports is not defined in ES module scope

Open Ivanwangcy opened this issue 1 year ago • 1 comments

This file is being treated as an ES module because it has a '.js' file extension and '/Users/wangchunyu40/workspace/global-express-m/node_modules/vue-clipboard3/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.

Ivanwangcy avatar Sep 04 '23 02:09 Ivanwangcy

I had the same issue:

image

benrolfe avatar Nov 27 '23 16:11 benrolfe