Comments (6)
The issue has been fixed in latest release v0.1.5 (hopefully feel free to re-open the issue if hasn't been) ππ
from gitfolio.
I found this to be fixed by removing the spawn of a browser session. This is the minimal code for your own run.js
(assuming your stuff is in dist/ and this is in the parent directory). You can use node run.js
to run the webserver
const express = require('express');
const path = require('path');
const outDir = path.resolve('./dist/' || process.env.OUT_DIR);
const app = express();
app.use(express.static(`${outDir}`));
app.get('/', function(req,res) {
res.sendFile('/index.html');
});
app.listen(8000, function() {
console.log('running on port 8000');
});
from gitfolio.
On which OS are you?
Edit: I can see the debian sign in the image but is it plain debian or another debian-based distro?
from gitfolio.
On which OS are you?
Edit: I can see the debian sign in the image but is it plain debian or another debian-based distro?
Plain debian
from gitfolio.
I think the error is caused by this package that opens up the website on your default browser but chrome isn't able to open it . If you guys want i can remove that package and only output the port on which the website would be running and you can manually open it.
from gitfolio.
I'd definitely prefer it as it doesn't work on servers without monitors or browser installed
from gitfolio.
Related Issues (20)
- Make an all repositories opt in
- add feature
- Error HOT 3
- An all blog version of this HOT 5
- Limit the number of repository HOT 2
- Cannot create blog - gitfolio-0.1.5 HOT 2
- Add the profile readme to generated portfolios
- Blogs not showing up on the main page HOT 2
- Weird look on mobile HOT 4
- Ignore repository form command line `gitfolio build satishbabariya --ignore pages,satishbabariya.github.io` HOT 1
- "unknown" Error HOT 3
- SyntaxError: Unexpected token HOT 1
- Add Contribution Chart (like Github has)
- Online service HOT 3
- TypeError: Cannot read property 'split' of undefined HOT 4
- Social media integration to import data HOT 3
- Can't install gitfolio with 'npm i gitfolio -g' HOT 1
- /usr/bin/env: βnode\rβ: No such file or directory HOT 6
- It's adding a repo that's not linked to me HOT 2
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 gitfolio.