I've tried on ubuntu, windows with different versions and browsers. web3 1 latest beta:
WARNING in ./node_modules/asn1.js/lib/asn1/api.js Module not found: Error: Can't resolve 'vm' in 'C:\Users\x\Desktop\backmeapp\node_modules\asn1.js\lib\asn1'
ERROR in ./node_modules/eth-lib/lib/bytes.js Module not found: Error: Can't resolve 'crypto' in 'C:\Users\x\Desktop\backmeapp\node_modules\eth-lib\lib' ERROR in ./node_modules/web3-eth-accounts/node_modules/eth-lib/lib/bytes.js Module not found: Error: Can't resolve 'crypto' in 'C:\Users\x\Desktop\backmeapp\node_modules\web3-eth-accounts\node_modules\eth-lib\lib' ERROR in ./node_modules/web3-eth-accounts/src/index.js Module not found: Error: Can't resolve 'crypto' in 'C:\Users\x\Desktop\backmeapp\node_modules\web3-eth-accounts\src' ERROR in ./node_modules/xhr2-cookies/dist/xml-http-request.js Module not found: Error: Can't resolve 'http' in 'C:\Users\x\Desktop\backmeapp\node_modules\xhr2-cookies\dist' ERROR in ./node_modules/xhr2-cookies/dist/xml-http-request.js Module not found: Error: Can't resolve 'https' in 'C:\Users\x\Desktop\backmeapp\node_modules\xhr2-cookies\dist' ERROR in ./node_modules/xhr2-cookies/dist/xml-http-request.js Module not found: Error: Can't resolve 'os' in 'C:\Users\x\Desktop\backmeapp\node_modules\xhr2-cookies\dist' ERROR in ./node_modules/browserify-sign/browser/index.js Module not found: Error: Can't resolve 'stream' in 'C:\Users\x\Desktop\backmeapp\node_modules\browserify-sign\browser' ERROR in ./node_modules/cipher-base/index.js Module not found: Error: Can't resolve 'stream' in 'C:\Users\x\Desktop\backmeapp\node_modules\cipher-base' ERROR in ./node_modules/hash-base/index.js Module not found: Error: Can't resolve 'stream' in 'C:\Users\x\Desktop\backmeapp\node_modules\hash-base'