Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

browserify to create a single bundle.js #1973

Closed
getforschin opened this issue Jun 1, 2020 · 1 comment
Closed

browserify to create a single bundle.js #1973

getforschin opened this issue Jun 1, 2020 · 1 comment

Comments

@getforschin
Copy link

Steps to reproduce

**npm install -g browserify

browserify src/index.js > bundle.js**

Expected behavior

bundle.js should be create to release my version in local network and i want integrated js with node_module

Actual behavior

Error: Cannot find module 'hapi/package.json' from 'F:\DGQA_BACKEND\node_modules\grant'
at C:\Users\Lenovo\AppData\Roaming\npm\node_modules\browserify\node_modules\browser-resolve\node_modules\resolve\lib\async.js:46:17
at process (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\browserify\node_modules\browser-resolve\node_modules\resolve\lib\async.js:173:43)
at ondir (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\browserify\node_modules\browser-resolve\node_modules\resolve\lib\async.js:188:17)
at load (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\browserify\node_modules\browser-resolve\node_modules\resolve\lib\async.js:69:43)
at onex (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\browserify\node_modules\browser-resolve\node_modules\resolve\lib\async.js:92:31)
at C:\Users\Lenovo\AppData\Roaming\npm\node_modules\browserify\node_modules\browser-resolve\node_modules\resolve\lib\async.js:22:47

System configuration

Tell us about the applicable parts of your setup.

Module versions (especially the part that's not working):
6.14.4
NodeJS version:
v12.16.3
Operating System:
windows
Browser Version:
chrome

@daffl
Copy link
Member

daffl commented Jun 1, 2020

Please provide a complete example or more details to reproduce your issue.

@daffl daffl closed this as completed Jun 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants