-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get the project to run locally on Windows #78
Comments
Did you already run Otherwise, this feels like a Windows incompatibility. I will find my PC and try to reproduce this issue. |
Yeah first thing I did. I will also try to get it working on my macbook. Will get back to you with my results as soon I get the chance |
I had the same issue on |
UPDATE: yeah, I seem to be getting similar issues on Mac OS. |
Maybe a silly question, but how exactly do I manually build these? |
According to the root |
Even this seems to be an issue at the moment:
|
i am facing same issue, is there any preferred way for windows 🪟 |
Did you build the babel plugin before running the doc? |
i did that |
@purohitdheeraj Sorry i tried to reproduce but failed :( |
Hi everyone you can run the following command to build the necessary files check #67 $ npm run build -w @stylexjs/stylex -w @stylexjs/shared -w @stylexjs/eslint-plugin -w @stylexjs/babel-plugin Its mentioned in the readme for the docs section as well at the very top :) |
Hi everyone, I tried the above commands but I'm getting errors. @kevintyj Can you please help? |
I don't see a node_modules folder, did you run |
@kevintyj Did not worked, After running npm install |
I'm still having the same issues after running as suggested by @kevintyj EDIT: works on mac OS ! |
Can you reset to head and delete all non tracked files and run non install again? |
Using the latest version of Node.js won't fix the issue. |
We're updating the instructions, but when you first clone the repo the very next steps are: $ npm install
$ npm run build You can't build and run the docs website without first running Hermes Parser errorLooking at all the error reports, looks like there is a bug with |
@nmn Yes, using a WSL works. But it would be great to find the issue so we don't have to start a WSL every time. |
@weti09 Yes, working on getting this problem solved, but it's good to know that there is a workaround available in the meantime. |
Quick Update: I have reproduced the problem and identified the various causes for breakages. EDIT: Ignore what I said earlier, I think I've found the fix for the problem. I'll merging it shortly. |
Maybe add a link to the workaround in the Contribution Guide (if not already done)? This would help avoid more questions about this until more fixes are available. |
I hope to fix everything such that no workarounds are needed. |
Node version: v18.18.1
NPM: 9.8.1
Steps followed:
Error: Cannot find package 'C:\Users\Kevin\Documents\stylex\node_modules\@stylexjs\babel-plugin\' imported from C:\Users\Kevin\Documents\stylex\apps\docs\babel-virtual-resolve-base.js
Am I missing a step? It seems every command I try (build) results in some sort of error.
https://github.com/facebook/stylex/blob/main/.github/CONTRIBUTING.md
The text was updated successfully, but these errors were encountered: