Coder Social home page Coder Social logo

Comments (18)

nchulani2 avatar nchulani2 commented on August 30, 2024 8

One workaround is to install a previous version of locus.
Use: "npm install -D [email protected]"

from locus.

rgrannell1 avatar rgrannell1 commented on August 30, 2024 2

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.

MarkCog avatar MarkCog commented on August 30, 2024 1

Same problem. Any help would be appreciated...

from locus.

HuangChaoWH avatar HuangChaoWH commented on August 30, 2024 1

Thank you for your suggestion, I just make a private package.
@huangchaowh/locus
it works on Windows.

from locus.

glenpike avatar glenpike commented on August 30, 2024

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.

glenpike avatar glenpike commented on August 30, 2024

@rgrannell1 - are you able to check the PR I made on Windows?

from locus.

rgrannell1 avatar rgrannell1 commented on August 30, 2024

Hi @glenpike, I'll test that code at work tomorrow

from locus.

jlbets123 avatar jlbets123 commented on August 30, 2024

Same here =(

from locus.

glenpike avatar glenpike commented on August 30, 2024

For those needing help: the workaround would be to remove the histories directory before installing locus.

from locus.

HuangChaoWH avatar HuangChaoWH commented on August 30, 2024

Change the postinstall, remove ./ , then it work on both Linux and Windows
"postinstall": "mkdir histories"

from locus.

glenpike avatar glenpike commented on August 30, 2024

from locus.

glenpike avatar glenpike commented on August 30, 2024

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.

ThiagoMArc avatar ThiagoMArc commented on August 30, 2024

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.

curtispuetz avatar curtispuetz commented on August 30, 2024

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.

tinchonapa avatar tinchonapa commented on August 30, 2024

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.

Hashamjavedofficial avatar Hashamjavedofficial commented on August 30, 2024

One workaround is to install a previous version of locus.
Use: "npm install -D [email protected]"

Thanks it worked for me :D

from locus.

joshmakar avatar joshmakar commented on August 30, 2024

Installing locus 2.0.0 worked for me. Would love to hear when there's a fix for the latest version.

from locus.

ahmedfaaid avatar ahmedfaaid commented on August 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.