-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 compatibility: monorepo does not symlink #1487
Comments
I will install windows VM and try to investigate this. |
Here's the output from my machine with a fresh clone of the repo. It seems you're right about the privileges but I then encounter a different error. Running with non-elevated privileges: click to show
Running with elevated privileges (Administrator): click to show
|
Stuck in hell. Had to install python, windows build tools. Build tools install failed. 😒 |
I do want this to work on Windows. for now I used WSL (Windows Subsystem for Linux) for Windows 10 so that I can get through any issue. |
Seems like a windows/symlink limitation put in place as some sort of security measure. How to enable developer mode CLICK HERE TO SHOW
I personally didn't require a restart or to sign out/sign in. More related stuff @ ember.js docs including how to use "Local Security Policy" to change this setting, https://ember-cli.com/user-guide/#enabling-symlinks : Windows developer blog info https://blogs.windows.com/windowsdeveloper/2016/12/02/symlinks-windows-10/: Mystery solved? |
npm install -g --production windows-build-tools@4.0.0 |
Restarted installation with a fresh VM snapshot.
Now that I go through the motions I realise that I have used "developer mode" previously. I'm encountering |
Possibly boltpkg/bolt#207 |
Yeah I also came across that one. So I built the bolt package including the changes in this PR @ boltpkg/bolt#215 I had to install and use the WSL with ubuntu, node and yarn, to build it. (Thanks for reminding me the WSL exists @gautamsi ) Using "yarn link" on the updated bolt directory in windows and "yarn link bolt" in the keystone directory, running "bolt", "bolt dev" and "bolt demo meetup dev" seems to work as expected, with the todo and meetup demo working properly in the browser. Click here to see output from "bolt", "bolt dev" and "bolt demo meetup dev"
Running "bolt demo blog dev" however shows a new error which might not be related. Click here to see "bolt demo blog dev" output
Regardless I think the symlink issue can be solved by documenting the "developer mode" option in the docs for the demo projects and pushing for boltpkg/bolt#215 to be merged/reassessed. |
That branch from the bolt PR did work for me in windows. I spoke to one of the bolt maintainers in person today - They will need me to show why it works and determine whether it is the best change. So I’ll working on that now. |
Seems like this could be "fixed" by documenting the issue? |
Yes @MadeByMike docs for the "Developer Mode". We also need this bolt PR to merge boltpkg/bolt#241. So a PR to keystone to update the dependency. |
PR 241 has been merged in bolt 0.24.1 (funny how the PR # and version match 🤔simulation theory confirmed?) |
after #1727 I see this error
|
PR #1727 deprecated use of bolt and now insist on yarn, I have latest yarn installed (v1.19.1). |
@gautamsi getting that error too. No idea how to fix :( The specific package it complains about does seem to vary, though. EDIT: the error seems to be coming from |
Ok, after hours and hours of looking I've tracked down the Pinging @mitchellhamilton |
From @1337cookie https://github.com/keystonejs/keystone-5/pull/1463#issuecomment-519957463
@MadeByMike and I saw the same issue. It is not seen when using
admin
privillages but that is definitely not advised and not a solution.The text was updated successfully, but these errors were encountered: