You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm receiving this error when i'm trying to create a bundle with gulp, browserify and babelify.
events.js:141
throw er; // Unhandled 'error' event
^
Error: Cannot find module 'pg-native' from '[projectFolder]/node_modules/pg/lib/native'
at [projectFolder]/node_modules/browserify/node_modules/resolve/lib/async.js:46:17
at process ([projectFolder]/node_modules/browserify/node_modules/resolve/lib/async.js:173:43)
at ondir ([projectFolder]/node_modules/browserify/node_modules/resolve/lib/async.js:188:17)
at load ([projectFolder]/node_modules/browserify/node_modules/resolve/lib/async.js:69:43)
at onex ([projectFolder]/node_modules/browserify/node_modules/resolve/lib/async.js:92:31)
at [projectFolder]/node_modules/browserify/node_modules/resolve/lib/async.js:22:47
at FSReqWrap.oncomplete (fs.js:82:15)
I've tried all suggested solutions from here: #127
it doesn't help.
node v4.1.1 (npm v2.14.4)
i see, my mistake. I'm working on frontend mostly, so i've didn't event noticed, that browserify does not suppose to do that. Could you suggest simple solution to bundle js files (with es6) into single file and uglify it?
I use webpack myself. ;) Seriously though I am not sure about browserify,
you'd be better served looking for info somewhere else on the internet for
how to use it.
i see, my mistake. I'm working on frontend mostly, so i've didn't event
noticed, that browserify does not suppose to do that. Could you suggest
simple solution to bundle js files (with es6) into single file and uglify
it?
—
Reply to this email directly or view it on GitHub #904 (comment)
.
I'm receiving this error when i'm trying to create a bundle with gulp, browserify and babelify.
I've tried all suggested solutions from here:
#127
it doesn't help.
node v4.1.1 (npm v2.14.4)
gulp task:
The text was updated successfully, but these errors were encountered: