We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Trying to use the index.js or webpack yells at me if i use the mini version. When I use the index.js it says this.
ERROR in .//create-torrent/index.js Module not found: Error: Cannot resolve module 'fs' in /home/charliebrown/internalDocs/node_modules/create-torrent @ .//create-torrent/index.js 22:9-22
ERROR in .//parse-torrent/index.js Module not found: Error: Cannot resolve module 'fs' in /home/charliebrown/internalDocs/node_modules/parse-torrent @ .//parse-torrent/index.js 7:9-22
ERROR in .//webtorrent/lib/torrent.js Module not found: Error: Cannot resolve module 'fs' in /home/charliebrown/internalDocs/node_modules/webtorrent/lib @ .//webtorrent/lib/torrent.js 13:9-22
ERROR in .//is-file/index.js Module not found: Error: Cannot resolve module 'fs' in /home/charliebrown/internalDocs/node_modules/is-file @ .//is-file/index.js 3:9-22
ERROR in .//pump/index.js Module not found: Error: Cannot resolve module 'fs' in /home/charliebrown/internalDocs/node_modules/pump @ .//pump/index.js 3:9-22
The text was updated successfully, but these errors were encountered:
How exactly are you trying to use index.js? What do you mean by "webpack yells at me if i use the mini version"?
index.js
browserify is used to bundle the node modules into a script for the browser.
You can run npm run build-debug if you want to build an unminified version. See https://github.com/guerrerocarlos/CacheP2P/blob/master/package.json#L64
npm run build-debug
Sorry, something went wrong.
No branches or pull requests
Trying to use the index.js or webpack yells at me if i use the mini version. When I use the index.js it says this.
ERROR in ./
/create-torrent/index.js/create-torrent/index.js 22:9-22Module not found: Error: Cannot resolve module 'fs' in /home/charliebrown/internalDocs/node_modules/create-torrent
@ ./
ERROR in ./
/parse-torrent/index.js/parse-torrent/index.js 7:9-22Module not found: Error: Cannot resolve module 'fs' in /home/charliebrown/internalDocs/node_modules/parse-torrent
@ ./
ERROR in ./
/webtorrent/lib/torrent.js/webtorrent/lib/torrent.js 13:9-22Module not found: Error: Cannot resolve module 'fs' in /home/charliebrown/internalDocs/node_modules/webtorrent/lib
@ ./
ERROR in ./
/is-file/index.js/is-file/index.js 3:9-22Module not found: Error: Cannot resolve module 'fs' in /home/charliebrown/internalDocs/node_modules/is-file
@ ./
ERROR in ./
/pump/index.js/pump/index.js 3:9-22Module not found: Error: Cannot resolve module 'fs' in /home/charliebrown/internalDocs/node_modules/pump
@ ./
The text was updated successfully, but these errors were encountered: