Git Product home page Git Product logo

Comments (21)

PabloWestphalen avatar PabloWestphalen commented on June 27, 2024 2

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.

gonzaloplaza avatar gonzaloplaza commented on June 27, 2024

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

ionic-wp-error

from hybrid.

shprink avatar shprink commented on June 27, 2024

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.

gonzaloplaza avatar gonzaloplaza commented on June 27, 2024

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.

shprink avatar shprink commented on June 27, 2024

@SilentKernel had the app running on Windows lately. Can you explain how you did that please ?

from hybrid.

shprink avatar shprink commented on June 27, 2024

@mbaljeetsingh is also interested

from hybrid.

SilentKernel avatar SilentKernel commented on June 27, 2024

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.

jinsley8 avatar jinsley8 commented on June 27, 2024

Has anyone tried partitioning part of a Windows drive to run Mac OS X?

from hybrid.

shprink avatar shprink commented on June 27, 2024

@jinsley8 you can have a dual boot with Ubuntu easily from Windows. https://help.ubuntu.com/community/WindowsDualBoot

from hybrid.

gonzaloplaza avatar gonzaloplaza commented on June 27, 2024

Guys you also can install VirtualBox and Ubuntu Virtual Machine instead.

from hybrid.

mbaljeetsingh avatar mbaljeetsingh commented on June 27, 2024

@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.

Prabhat36 avatar Prabhat36 commented on June 27, 2024

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.

iffifan avatar iffifan commented on June 27, 2024

Use vagrant

from hybrid.

dmastag avatar dmastag commented on June 27, 2024

Hi @iffifan
Any good vagrant boxes recommendations to use?
I already tried using vagrant with no success.

from hybrid.

shprink avatar shprink commented on June 27, 2024

If you guys use docker I made an image https://github.com/shprink/wphc-dockerbox

from hybrid.

eTiTan avatar eTiTan commented on June 27, 2024

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

imgcache

from hybrid.

Devpheara avatar Devpheara commented on June 27, 2024

I can not use yarn command on mac it tell yarn command not found

from hybrid.

shprink avatar shprink commented on June 27, 2024

https://yarnpkg.com/en/docs/install#mac-tab

from hybrid.

suyoto1986 avatar suyoto1986 commented on June 27, 2024

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.

suyoto1986 avatar suyoto1986 commented on June 27, 2024

sorry, wrong issue.
aand lready commented on this
#359

from hybrid.

shprink avatar shprink commented on June 27, 2024

Should be fine with v3 (currently develop branch)

from hybrid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.