brianium / watermarkjs

:rice_scene: Watermarking for the browser

Home Page:http://brianium.github.io/watermarkjs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to build

ajukr opened this issue · comments

commented

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?

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.

Pull requests are definitely welcome

commented

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