-
Notifications
You must be signed in to change notification settings - Fork 65
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
Windows installation/setup fails #17
Comments
|
I've made some initial changes toward resolving this (still more to do, though): |
For the npm / installation-related issues, I'm looking at three approaches:
|
@matthewtoast for what it is worth, here is my opinion. I think windows developers will be more apt to accept the option 1 above rather than option 2, because there are so many other solutions having that requirement. They really are easy installs, although VS 2013 Express is bloated. Option 3 sounds good, but when the merge happens it might have been for naught, because the Option one would go away if JSDom 4.x supports both. |
I just tried the framework again on Win7 and I now get no errors on install and scaffold. I have to run Is windows still not supported? |
@talves - Tentatively, I think Windows installation/setup is working... However note I haven't updated the Famous CLI tool yet so the $ famous framework-scaffold command is still broken. I've gone through the full setup process from a blank slate running Windows 8 in Parallels Desktop and got things working. If you're up for it, you can try it out:
When I did the above, I saw all of the build logs go by, and was then able to open localhost:1618 in IE and see our "clickable square" demo running. Note that there are still several rendering issues with IE11 at this time. If this seems to work for you, can you let me know? If so I'll plan on merging changes in with the CLI tool and hopefully closing out this ticket. |
I do not mind running it manually. It worked after a couple tries. Get an error twice then finally runs. The first time I ran
I ran it again and get this error
The third time it runs without an error before the server starts. |
@talves Maybe you can just spin up a Linux distro in Virtualbox, then serve the app to a port that you can access in your Google Chrome in Windows. xD |
@trusktr that would kind of defeat the purpose of getting windows up and running 😄 |
in case it helps.. my install went like so:
First time I ran npm run local-only-bootstrap:
The second time it served as planned. |
Try a 'npm cache clean' Then run 'famous develop' in the project directory.
|
@migsig that was not the problem. Thanks anyway. Just so the devs know. It works once |
oh well
|
just tried it. first time the npm install failed (the python in my path was 3.4, not 2.7). fixing and rerunning it without deleting the node_modules folder failed. after deleting and reinstalling, everything worked smoothly. |
Installation worked fine (ish) - however the build (local-only-bootstrap) fails due to invalid path names. It's trying to use ':' in the path whereas that's an invalid character in Windows! Any idea what I need to change to make the bundles build to a valid path and whether anything else needs changing, such as the deployer? |
@FrizzaUK - What version of famous-framework do you see in your project's package.json? If you are using < 0.12.1 then it is likely you are missing some updates that fix that issue. (The build should be creating folders with tilde-based namespaces e.g. . |
That could well be it! I am running 0.11.1 - I will update and see what happens. Note to self, make sure everything is up to date! |
@FrizzaUK - You should also double check that the npm scripts in your package.json match the ones in this one, since some changes may have been made in there too: https://github.com/Famous/famous-cli/blob/master/lib/framework/scaffold/templates/_package.json |
Back in business, thanks for your help - I can now crack on with some prototypes. |
In my case I got node-gyp rebuild error
P.S. Though if you feel that web design is not only your hobby… you (rather we) need to switch to linux or apple 😺 . |
uffffff! thk! |
Installing the framework via the Famous CLI (
framework
branch) on a Windows machine doesn't work. Two overarching issues at play:Here are some specific issues I've collected that will need to be resolved for Windows install to work:
build
npm script should be changed to not usemkdir -p
$PWD
cd
-ing around"bin"
scripts properlyPath.sep
for the filesystem ones)err Could not find entrypoint file for famous\core\node
; this needs to be fixedset PYTHON=C:\path\to\python27\python.exe
before attempting the install again. Additionally additionally, it seems Python 3.x is not supported; the user must install Python 2.x.The text was updated successfully, but these errors were encountered: