Comments (21)
Heads up: Successfully managed to install and run under Windows 10 (with the Creators update¹) Subsystem for Linux² following the default Linux instructions.
The only real issue faced was that running apt-get install nodejs
got me some ancient version like 0.10 or whatever. Had to remove it, add this custom repository: https://deb.nodesource.com/setup_6.x as explained in this tutorial (https://aigeec.com/installing-node-js-on-windows-10-bash/) and then reinstall in order to get it all going.
Altough a funny mishap that happened was when i first ran 'yarn', i got a system message that that application was not installed, and a suggestion to add it via 'apt-get install yarn'. Which i ran, but got me a different tool. If by any chance you get the "There are no scenarios; must have at least one." error when running yarn, it means you have the wrong one. Remove this wrong, system-level yarn with apt-get then get the correct one via npm.
¹ The latest creators update is required because previous builds of Windows 10 lack a network interface implementation inside the WSL environment that is required to launch the LiveReload server [amongst other things most likely].
https://support.microsoft.com/en-us/instantanswers/d4efb316-79f0-1aa1-9ef3-dcada78f3fa0/get-the-windows-10-creators-update
² https://msdn.microsoft.com/en-us/commandline/wsl/install_guide
from hybrid.
Found issue installing npm libraries on Windows (>v1.4.0) (executing npm install manually). I'm not sure if this is an error related to windows or maybe dependencies/configs
from hybrid.
Make sure you use the latest version 1.4.2.
If you still have issue installing, I am sorry but Windows support is not planned yet. If you are interested to debug and share your discoveries with us I'd be happy to merge whatever can help Windows users.
Cheers
from hybrid.
Hey Julien, i found this article related to windows and node-gyp:
https://www.robertkehoe.com/2015/03/fix-node-gyp-rebuild-error-on-windows/
For Windows 7 users, Visual Studio, Windows SDK 7.1, Visual C++ compiler and Python 2.7.3 are required.
After the installation of these components, "npm install" command worked fine.
Regards
from hybrid.
@SilentKernel had the app running on Windows lately. Can you explain how you did that please ?
from hybrid.
@mbaljeetsingh is also interested
from hybrid.
On Windows you must install Python before trying to run WPHC.
On my computer there is also Microsoft Visual Studio installed (installer of Visual Studion installed Cordova (advanced install).
Then the biggest problem is that WPHC uses Unix command (rm for example) and .sh file, you juste have to edit package.json to switch Unix command (like rm) with Windows alternative (del). also install.sh can be easly understood and can be rewritten with batch (copy instead of cp for example :))
But on Windows there is also the possibility to use Unix Command Line, Git installer on windows allow you to add Unix Like binary on your PATH environement then you will be able to use rm or even cp
Then release.sh can't work ATM on windows, but you can easly make your own (if your android SDK and NDK is in your path it will easer !)
from hybrid.
Has anyone tried partitioning part of a Windows drive to run Mac OS X?
from hybrid.
@jinsley8 you can have a dual boot with Ubuntu easily from Windows. https://help.ubuntu.com/community/WindowsDualBoot
from hybrid.
Guys you also can install VirtualBox and Ubuntu Virtual Machine instead.
from hybrid.
@shprink @SilentKernel After installation i am getting this error,
Error: ENOENT, open 'C:\xampp\htdocs\wordpress-hybrid-client\www\index.html'
I have android sdk and ndk in the path (correctly). But how can i rewrite release.sh file for windows.
from hybrid.
hi, the best solution for this is
to create partition on your hard drive and install linux os,
and the proceed for further.. this is the only way..
from hybrid.
Use vagrant
from hybrid.
Hi @iffifan
Any good vagrant boxes recommendations to use?
I already tried using vagrant with no success.
from hybrid.
If you guys use docker I made an image https://github.com/shprink/wphc-dockerbox
from hybrid.
One fast solution, in windows have problems caching images, if you comment this line, it works, but it's not a defenitive solution.
\lib\init\init.service.coffee line 5
from hybrid.
I can not use yarn command on mac it tell yarn command not found
from hybrid.
https://yarnpkg.com/en/docs/install#mac-tab
from hybrid.
Hello, I'm interested with this project but i had error, could you please inform me how to solve?
when i run npm start, terminal going like this:
root@ubuntu:/home/suyoto# npm start
npm ERR! Linux 3.13.0-123-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
npm ERR! node v6.11.1
npm ERR! npm v3.10.10
npm ERR! path /home/suyoto/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/home/suyoto/package.json'
npm ERR! enoent ENOENT: no such file or directory, open '/home/suyoto/package.json'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! Please include the following file with any support request:
npm ERR! /home/suyoto/npm-debug.log
from hybrid.
sorry, wrong issue.
aand lready commented on this
#359
from hybrid.
Should be fine with v3 (currently develop
branch)
from hybrid.
Related Issues (20)
- push Notifications register failed HOT 6
- Load the last post at start
- Author section HOT 3
- RTL Support HOT 1
- Cannot find name 'require'. error HOT 3
- iPhone X support HOT 1
- Starting application issue with windows 10 HOT 2
- Cannot find module '../config.default.cson'. HOT 3
- Building the application for production fails HOT 4
- Any plan to switch to lazy loading for v3? HOT 3
- Argument type is not assignable to param type(see screenshot)
- Fails to render wordpress shortcodes
- Push Notification
- Login via JWT HOT 2
- webp image - related image HOT 1
- NÃO CONSIGO TESTAR NO WINDOWS 7 HOT 1
- Not able to prepare native build HOT 1
- Archive repository HOT 1
- I cant get it to work at all
- Anyone still using/maintaining it? 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 hybrid.