Comments (9)
Actually I think you need to use 'junction' to avoid the permissions issue on windows. but to do so the paths must be absolute.
from ied.
I've just tested this in cmd
and it worked without problem, will read about this a bit more.
This should also solve #35. Also the absolute paths should not a problem in this case so everything should work out.
from ied.
Ok, there's a serious problem with that: even changing the main project directory name will invalidate all of the junctions.
I think that's too big of a trade-off, because there won't be a way to warn Windows users when such a thing happens, whereas in the worst case of the symbolic link scenario they will be able to get an informative message.
Also, a new command would have to be made that regenerates all of the junctions, and it would only be useful for Windows users.
What do you think @alexanderGugel?
from ied.
I spent a long time today playing with this. I could not get ied to run without admin. You might have better luck. Take a look at this: https://github.com/npm/npm/blob/master/lib/utils/link.js
from ied.
It seems that they also use junctions. Anyway, I'm looking into utilizing powershell for creating symlinks painlessly.
from ied.
👍
from ied.
Yeah, from what I see ied
(nom
?) is much more symlink heavy. junction
links my be a bad idea. Do you think using power shell will get around the need for admin?
from ied.
I'm closing this, as it has been inactive for quite some time. I'm really sorry I didn't help with this as I promised.
from ied.
@fatfisz have you tried pnpm. It uses a symlinked node_modules as ied
and supports Windows fine (uses junctions on Windows)
from ied.
Related Issues (20)
- Seriously, IED is a terrible name. HOT 4
- rxjs\Observer error HOT 3
- Jest Dependencies
- Error status code undefined on raw.githubusercontent.com
- Replace hashes with readable name HOT 2
- EXDEV issue with Docker HOT 1
- Hotfix release needed - Issue with latest rxjs release candidate HOT 9
- support for --registry broken? HOT 1
- Rewrite ied in Go HOT 1
- Idea: collaboration with pnpm HOT 34
- Why can't modules be stored globally on a machine?
- Spec: Lockfile HOT 10
- Spec: console output HOT 10
- Fixing --preserve-symlinks. Enhancing node to exploit.
- EINVAL when installing on Docker on CircleCI
- Replace SHA1 with SHA2 HOT 4
- New Registry Feature: Filtered Metadata HOT 1
- IED installer with phantomJS or with phantomjs-prebuilt HOT 1
- ied install not executing npm install in local dependencies folders
- Not working with electron
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 ied.