Comments (3)
Hi! I'm not any of the developers of this library, but I found the fix for this.
Open terminal wherever you want and do (from the beginning):
npm install webpack webpack-cli -g
git clone https://github.com/paulsonnentag/swip.git && cd swip
npm install
npm install babel-loader@7 babel-core -D
Then modify your webpack.config.js
so that it looks like this:
const path = require('path');
module.exports = {
entry: {
app: './src/client/index.js',
},
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'bundle.js'
},
module: {
rules: [
{
test: /\.js$/,
exclude: /(node_modules|bower_components)/,
loader: 'babel-loader', // It seems that we need to use babel-loader
},
{
test: /\.css$/,
loader: 'style-loader!css-loader',
},
],
},
};
Now run:
npm run build
cd ./examples/particles && npm install
cd ../golf && npm install
Then you'll be able to do:
npm run golf
// or
npm run particles
It's a shame this project has been abandoned. It would be really interesting to continue development.
Cheers!
from swip.
@brunodeangelis Thank you very much for your help. I was giving up now
I can now try to work on this project
from swip.
Related Issues (20)
- Cluster Stays when more than 2 devices
- Connections remove from Clients
- Add travis ci
- Ignore swipes if directions dont match
- Invalid device placement
- Improve swip client HOT 1
- Polish particles demo HOT 1
- Polish golf demo
- devices can't communicate each other HOT 5
- Unhandled event: updateOrientation HOT 2
- Phaser examples HOT 1
- How to install this? HOT 7
- I cant join to localhost in my phone HOT 7
- Errors during install HOT 1
- Elaborate the use cases HOT 2
- Swip + Video
- Hey. Great great project. HOT 1
- Client device screen size selection
- Util to convert between device Pixel and absolute Pixels
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 swip.