watermarkjs icon indicating copy to clipboard operation
watermarkjs copied to clipboard

Unable to build

Open ajukr opened this issue 6 years ago • 3 comments

my config:

node 10.14.2 npm 6.4.1

To build, I tried running npm i npm run build

I am getting below error

ERROR in ./index.js
Module not found: Error: Cannot resolve module 'babel' in /home/ajay/watermarkjs

 @ ./index.js 2:17-39

Could you please let me know how to build it?

ajukr avatar Apr 01 '19 05:04 ajukr

Perhaps it is time to bring watermarkjs into the present. I am 99% sure JavaScript orthodoxy is different now. It looks like webpack may be missing the old babel loader.

brianium avatar Apr 01 '19 13:04 brianium

Pull requests are definitely welcome

brianium avatar Apr 01 '19 13:04 brianium

Sure. will look into it and let you know..

ajukr avatar Apr 04 '19 07:04 ajukr