Comments (18)
One workaround is to install a previous version of locus.
Use: "npm install -D [email protected]"
from locus.
Hi,
I'm submitting a PR to fix this at the moment, the error is caused by the use of "mkdir" on Windows.
from locus.
Same problem. Any help would be appreciated...
from locus.
Thank you for your suggestion, I just make a private package.
@huangchaowh/locus
it works on Windows.
from locus.
Ditto with Ubuntu 16.04
> [email protected] postinstall /home/ski/swoop/codebase/system/campaign-builder/server/repo/node_modules/locus
> mkdir ./histories
mkdir: cannot create directory ‘./histories’: File exists
On linux mkdir -p
will behave better https://linux.die.net/man/1/mkdir
from locus.
@rgrannell1 - are you able to check the PR I made on Windows?
from locus.
Hi @glenpike, I'll test that code at work tomorrow
from locus.
Same here =(
from locus.
For those needing help: the workaround would be to remove the histories directory before installing locus.
from locus.
Change the postinstall, remove ./ , then it work on both Linux and Windows
"postinstall": "mkdir histories"
from locus.
from locus.
Cool, so the PR is good on Windows? - Can you add a comment on #19 and maybe that can get merged in by @alidavut ?
from locus.
Hello, i'm also facing this issue on Windows and Linux. After cloning a repository from github and run npm install i get this error message at the end of the process
from locus.
Thank you for your suggestion, I just make a private package.
@huangchaowh/locus
it works on Windows.
@HuangChaoWH This works on windows. I am able to install. But I can only use the debugger once. Then if I try to use it again a second time there is an error at eval(require('@huangchaowh/locus'))
. I can work around this by navigating to the histories directory and deleting the 1 file in there that contains the commands of the last debug. Once this is deleted I can use the debugger again.
I'm guessing this is because the directory is not hidden?
from locus.
I didn't have a './histories' folder and I was still getting the error. By installing the previous version like @nchulani2 suggested, it worked.
from locus.
One workaround is to install a previous version of locus.
Use: "npm install -D [email protected]"
Thanks it worked for me :D
from locus.
Installing locus 2.0.0 worked for me. Would love to hear when there's a fix for the latest version.
from locus.
I just run into the same issue. Installing locus 2.0.0 works for me but is there a fix coming soon for this issue?
from locus.
Related Issues (13)
- Usage ? HOT 2
- Unable to install on Windows HOT 1
- can't use with karma HOT 1
- hitting up arrow does not show previously entered line HOT 1
- Consider replacement for sync-prompt? HOT 3
- Autocompletion Support HOT 2
- TypeError: Generator is already running HOT 2
- Unable to define new variables HOT 1
- Documentation unclear HOT 9
- Feature Request ↑ HOT 2
- Is it possible to use locus in node console?
- Does not work on Windows HOT 1
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 locus.