I'm trying out browserify so I created a little node js code with a require('github-db').default in it then run this command.
browserify main.js -o bundle.js
but in the browser, I got "Uncaught TypeError: Invalid Version: at new SemVer" but I don't really know how to proceed. The program works in node. Please help.
I'm trying out browserify so I created a little node js code with a require('github-db').default in it then run this command.
browserify main.js -o bundle.js
but in the browser, I got "Uncaught TypeError: Invalid Version: at new SemVer" but I don't really know how to proceed. The program works in node. Please help.
package.json