octalmage / robotjs

Node.js Desktop Automation.
http://robotjs.io
MIT License
12.38k stars 961 forks source link

browserify robotjs #665

Open srinivasbakki opened 3 years ago

srinivasbakki commented 3 years ago

I'm looking to browserify robotjs. It seems robotjs makes a binary which is in the require of index.js. browserify fails with SyntaxError: Unexpected character '�' (1:2) while parsing

Expected Behavior

should be able to browserify robotjs

Current Behavior

browserify fails with SyntaxError: Unexpected character '�' (1:2) while parsing

Possible Solution

Expect a wrapper ? don't know if am even making sense.

Steps to Reproduce (for bugs)

  1. Write a simple javascript with require('robotjs'); 2.browserify Githubissues.
  2. Githubissues is a development platform for aggregating issues.