Comments (5)
Thanks for reporting this issue!
We're working to resolve it and will keep this thread posted.
from bit.
Nevermind. I missed the note in the installation guide regarding Windows.
Note - Windows installations
If you are using Windows, add the
--no-optional
flag to the install command.npm install bit-bin --global --no-optional
@baoduy Hope this helps!
from bit.
Hi All
I'm still facing the issue on Window 10 event the Window-tools and Python are installed.
Please share tip how to resolve it?
posix.cc
win_delay_load_hook.cc
..\src\posix.cc(2): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory [C:\Users\Steven
\AppData\Roaming\npm\node_modules\bit-bin\node_modules\posix\build\posix.vcxproj]
from bit.
Hi @kingdaro this issue is fixed with the latest bit release
from bit.
Same here. Any update?
It looks to have something to do with a dependency on posix
which doesn't (or shouldn't) apply to Windows.
> npm i -g posix
> [email protected] install C:\Users\MyUser\AppData\Roaming\npm\node_modules\posix
> node-gyp rebuild
C:\Users\MyUser\AppData\Roaming\npm\node_modules\posix>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
posix.cc
win_delay_load_hook.cc
..\src\posix.cc(2): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory [C:\Users\MyUser
\AppData\Roaming\npm\node_modules\posix\build\posix.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:188:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\MyUser\AppData\Roaming\npm\node_modules\posix
gyp ERR! node -v v11.6.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
+ [email protected]
added 2 packages from 9 contributors in 2.168s
from bit.
Related Issues (20)
- Having trouble with bit install HOT 7
- Token expiration HOT 1
- Verdaccio + bit install HOT 1
- Monorepo with apps using different versions of React HOT 4
- Problem with installing bit globally (child-process method failed) HOT 6
- Lit Page Not Found HOT 1
- "Bit tag" doesn't execute "publish" HOT 1
- Installation failed on Win 11
- bit login Cannot read properties of undefined (reading ‘defaultScope’) HOT 7
- Failed to load plugin 'jest' eslint HOT 1
- Confusion over build() function HOT 3
- relativePaths HOT 4
- TypeError: defaultExports is not a function HOT 2
- Backend intro issues and dead links HOT 1
- I am unable to log in to bit Cloud HOT 1
- Add .npmrc file in bit playground HOT 4
- Does not send password recovery email HOT 1
- Can we specify a Bit version to be used by Ripple CI / Bit Cloud? HOT 1
- Latest Bit version `1.6.73` causes build failures in Ripple CI / Bit Cloud HOT 8
- Command failed: bvm local-version 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 bit.