Comments (2)
I saw the same error message after the following error on Chrome on Ubuntu.
Uncaught TypeError: Cannot read property 'modules' of undefined
at Object. (commons.js:189496)
at Object. (commons.js:189687)
at webpack_require (commons.js:1333)
at fn (commons.js:751)
at Object.module.exports (commons.js:6290)
at webpack_require (commons.js:1333)
at fn (commons.js:751)
at Object. (commons.js:134888)
at webpack_require (commons.js:1333)
at fn (commons.js:751)
This error came from webpack dependency spdy-transport:
// Node.js 0.8, 0.10 and 0.12 support
Object.assign = (process.versions.modules >= 46 || !isNode)
? Object.assign // eslint-disable-next-line
: util._extend
It seems in case of web target (not node) for webpack.config.js, "process" has different definition from somewhere else, there is no "versions" in "process" that is supposed to be defined by Node. I found this error. But don't know how to fix it. I tried the suggestion to change target to "Node" from "web" in webpack.config.js. It can't compile. I guess that is not the correct way to use orbit-web here.
BTW, Orbit-electron works on my Ubuntu.
from orbit-web.
HAHA, I actually hacked it. After changing the order of the questioned line to the following, both errors are gone. I can pass the loading screen now. A proper fix is still needed.
orbit-web/node_modules/spdy-transport/lib/spdy-transport/utils.js
// Node.js 0.8, 0.10 and 0.12 support
Object.assign = ( !isNode || process.versions.modules >= 46)
? Object.assign // eslint-disable-next-line
: util._extend
from orbit-web.
Related Issues (20)
- Add gesture navigation for mobile
- Improve highlight regex
- Too many messages in a single channel slows down the channel
- Known Issues and Roadmap
- Make the nickname placeholder more legible
- Change "Join Channel" text
- Have default joined channel on orbit.chat change weekly HOT 2
- Exit icon is not the global standard 'exit' standard
- Add text to homepage on orbit.chat HOT 4
- Certificate configured incorrectly HOT 4
- Loading orbit.chat using IPFS Companion browser extension creates redirect loop HOT 1
- Memory Leak HOT 1
- Please update to latest orbit-db HOT 3
- https://orbit.chat is down (name not resolvable) HOT 2
- web demo not working HOT 2
- Unnecessary redirect to HTTPS breaks local IPFS load HOT 3
- ERROR: Repository not found. HOT 1
- removed discord HOT 1
- orbit.chat does not work after insering nickname HOT 1
- `orbit.chat` page not opening
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orbit-web.