Comments (6)
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.
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.
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.
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.
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.
@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)
- How can I set up express server typescript-starter HOT 1
- An in-range update of codecov is breaking the build 🚨 HOT 4
- Project Status HOT 6
- node_modules/ava/index.d.ts:5:10 - error TS2339: Property 'observable' does not exist on type 'SymbolConstructor'. HOT 4
- Can't generate docs with circular type HOT 1
- AppVeyor breaks on Node.js v14 HOT 1
- Add support for a GitHub Actions test matrix
- Cannot find namespace 'WebAssembly' HOT 2
- error TS2307: Cannot find module './lib/hash' or its corresponding type declarations. HOT 1
- Cannot find types for node error when running `npm run watch:build` HOT 2
- error TS2688: Cannot find type definition file for 'node'. HOT 4
- How do I generate a nodejs application with this starter? HOT 2
- Why there is a dependency of @bitauth/libauth? HOT 2
- Unexpected end of JSON input Error HOT 1
- Peer dependency mismatch causes project creation to be broken
- The javascript module link redirects to "Laptoptalks..."
- Option to work with ESM (ES Module) only libraries like node-fetch
- `pnpm` support as package manager HOT 4
- @bitauth/libauth dependency in generated project
- New project has errors in node_modules HOT 1
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 typescript-starter.