GithubHelp home page GithubHelp logo

Comments (6)

bungcip avatar bungcip commented on May 5, 2024 2

I think I just too early to say that multiview support windows 10 T_T. @tbko is right, I also cannot run it. It give me error about socket though.

from typescript-starter.

bitjson avatar bitjson commented on May 5, 2024

Hey @bungcip – thanks for opening the issue!

Did you get some sort of error or warning when running yarn/yarn install for the first time? I'd like to continue using multiview in the watch task for machines which support it – is it possible to get multiview working on Windows?

I might just add a note to that section of the readme to inform people that it's possible to run yarn watch:build and yarn watch:unit separately (if they are unable / don't want to install the extra dependencies).

from typescript-starter.

bitjson avatar bitjson commented on May 5, 2024

Ah, maybe a silly question – did you run yarn/yarn install before trying to run yarn watch? I just realized I didn't add that anywhere in the readme.

from typescript-starter.

bungcip avatar bungcip commented on May 5, 2024

running yarn install will fail on windows 10 because my desktop don't have python installed. So I just use npm install, somehow npm install can skip the error...

D:\repo\typescript-starter-master>yarn install
yarn install v0.20.3
[1/4] Resolving packages...
[2/4] Fetching packages...
warning [email protected]: The platform "win32" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
[-/2] ⡀ waiting...
[2/2] ⡀ buffertools: using [email protected] | win32 | x64
[-/2] ⡀ waiting...
[-/2] ⡀ waiting...
error D:\repo\typescript-starter-master\node_modules\buffertools: Command failed.
Exit code: 1
Command: C:\Windows\system32\cmd.exe
Arguments: /d /s /c node-gyp rebuild
Directory: D:\repo\typescript-starter-master\node_modules\buffertools
Output:
D:\repo\typescript-starter-master\node_modules\buffertools>if not defined npm_config_node_gyp (node "C:\Users\bungcip\AppData\Roaming\npm\node_modules\yarn\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node  rebuild )
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack     at PythonFinder.failNoPython (C:\Users\bungcip\AppData\Roaming\npm\node_modules\yarn\node_modules\node-gyp\lib\configure.js:454:19)
gyp ERR! stack     at PythonFinder.<anonymous> (C:\Users\bungcip\AppData\Roaming\npm\node_modules\yarn\node_modules\node-gyp\lib\configure.js:480:16)
gyp ERR! stack     at C:\Users\bungcip\AppData\Roaming\npm\node_modules\yarn\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:111:15)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\bungcip\\AppData\\Roaming\\npm\\node_modules\\yarn\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd D:\repo\typescript-starter-master\node_modules\buffertools
gyp ERR! node -v v7.3.0
gyp ERR! node-gyp -v v3.5.0
gyp ERR! not ok
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Multiview is supported on windows, but you need Visual Studio (or msbuildtools) and python to compile it. On my notebook which have vs 2015 and python 2.7, I can run multiview without problem

npm config set python C:\Python27\python.exe
npm install -g multiview

I think the README need more explanation when installing on windows.

from typescript-starter.

 avatar commented on May 5, 2024

Build and run "multiview" on windows 10, but any command I pass to it returns error code 1 with no console output.

from typescript-starter.

bitjson avatar bitjson commented on May 5, 2024

@bungcip, @tbko thanks for the reports.

I think I'll try switching from multiview to concurrently. Hopefully that will make things simpler. 🚀

from typescript-starter.

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.