Hi guys, any news about that ? I’m trying to require a test npm module in my ionic demo project ( as per [Browserify error “require is not defined”] ) but I still have the require not defined errors.
Follow the steps in browserify doc that are the same you did :
-
.constant(‘Crypto’,require(‘crypto’)) in app.js
-
bundle.js creation with browserify app.js -o bundle.js
-
bundle js import in index.html
but still require is not defined.
Please any hints ?
Thanks in advance.