Comments (6)
Running the project in the cloud
I'm trying to understand what's wrong on the build server, using an online code editor (c9.io) to check what is happening on a Linux machine with limited resource (Disk: 2 GB, RAM: 512 M).
STEP 1: npm install
Project dependencies are huge! it took me 20 minutes to install everything.
- 2150 packages installed in 1401.22s (!)
- Disk: 868 MB
STEP 2: npm run build
I got an other error when trying to build the project:
success Building CSS — 24.530 s
success Building production JavaScript bundles — 527.984 s
⠠ Building static HTML for pages[Function: Document]
error Building static HTML for pages failed
See our docs page on debugging HTML builds for help https://goo.gl/yL9lND
27 | message += ' for the full message or use the non-minified dev environment' + ' for full errors and additional helpful warnings.';
28 |
> 29 | var error = new Error(message);
| ^
30 | error.name = 'Invariant Violation';
31 | error.framesToPop = 1; // we don't care about reactProdInvariant's own frame
32 |
WebpackError: Minified React error #130; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=130&args[]=object&args[]=%20Check%20the%20render%20method%20of%20 %60Layout%60. for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
- reactProdInvariant.js:29 reactProdInvariant
~/react-dom/lib/reactProdInvariant.js:29:1
- instantiateReactComponent.js:72 instantiateReactComponent
~/react-dom/lib/instantiateReactComponent.js:72:1
- ReactChildReconciler.js:42 instantiateChild
~/react-dom/lib/ReactChildReconciler.js:42:1
The error comes from react-dom
package:
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
Check the render method of `Layout`
still under investigation...
from stateofjs-legacy.
The build now pass both locally and on travis. There was an empty page OpinionsWIP.js
.
from stateofjs-legacy.
see https://travis-ci.org/StateOfJS/StateOfJS/builds/310872975
from stateofjs-legacy.
@SachaG is it possible to have the build's logs somewhere?
I cannot reproduce the problem with the sankey, neither on my machine, nor on travis :/
from stateofjs-legacy.
Netlify explain how to debug their build process here: https://www.netlify.com/blog/2016/10/18/how-our-build-bots-build-sites/
But actually we could also just deploy on GitHub pages, I'm not sure if it's worth the time to find out why Netlify is not working…
from stateofjs-legacy.
Fixed => see https://philatist-albert-72527.netlify.com/
from stateofjs-legacy.
Related Issues (20)
- Add question(s) re: adoption of new Ecmascript features HOT 1
- State of CSS TODO HOT 13
- Data inconsistency
- Wrong language in english translation of front-end-frameworks/conclusion
- Archive.org captures of StateOfJS pages lack the charts
- Typo in Russian language.
- Colors of map and other charts / diagrams
- [State of JS 2019] Question Outline HOT 12
- What should we use to style State of JS? HOT 3
- Managing styles
- Missing privacy policy and GDPR violation HOT 2
- [State of JS 2020] Feedback HOT 9
- Social Media Meta Information Missing / 2018 Image HOT 1
- Allow switching from dark mode to light mode
- Allow ‘guest’ entries HOT 2
- State of JS GraphQL API
- [2019]Broken by category visualisation on overview page HOT 1
- "Vim" appears twice in Text Editors section
- Next page navigation is the `page.notFound` page when in `/support`
- "Take Survey" broken? HOT 1
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 stateofjs-legacy.