Code Monkey home page Code Monkey logo

Comments (12)

KhudaDad414 avatar KhudaDad414 commented on August 26, 2024 1

@dankar this issue seems to be related to CLI than Glee. @Souvikns can you move this issue to CLI?

from cli.

dankar avatar dankar commented on August 26, 2024 1

I am not creating the project in /usr/bin. I am creating the project in my home directory, and I have full access rights there. The difference is just where the "asyncapi" executable is. If it's in /usr/bin I get the error. If I put it somewhere in my home directory, it works.

from cli.

github-actions avatar github-actions commented on August 26, 2024

Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

from cli.

dankar avatar dankar commented on August 26, 2024

I did some digging and have an update to this. It works if the run-file for the CLI is left in a folder where my user has permissions, but if it's placed in /usr/bin/ or similar it fails with the error above.

from cli.

github-actions avatar github-actions commented on August 26, 2024

Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

from cli.

Souvikns avatar Souvikns commented on August 26, 2024

I did some digging and have an update to this. It works if the run-file for the CLI is left in a folder where my user has permissions, but if it's placed in /usr/bin/ or similar it fails with the error above.

Isn't this the expected behavior @dankar, since your user does not have write access so CLI can't create the project?

from cli.

dankar avatar dankar commented on August 26, 2024

No, what I mean is where the CLI executable is (asyncapi). I would assume nothing should need to write to the executable file :)

from cli.

Souvikns avatar Souvikns commented on August 26, 2024

Well, I think by default you don't have write access in usr/bin with rwxr-xr-x. So it should not be able to create glee project there, @dankar is CLI able to create the project without the -f flag in usr/bin?

from cli.

Souvikns avatar Souvikns commented on August 26, 2024

Alright sorry for the confusion 😄, I got it now, I am checking it out 👍🏼

from cli.

ayushnau avatar ayushnau commented on August 26, 2024

@dankar can't reproduce this issue. I don't have a Mac. so I am using the AWS ec2 instance. @Souvikns were you able to reproduce it.

Instead, I am getting another issue which is "Unexpected value at position 0"

from cli.

Amzani avatar Amzani commented on August 26, 2024

/gfi

from cli.

asyncapi-bot avatar asyncapi-bot commented on August 26, 2024

Hey @Amzani, your message doesn't follow the requirements, you can try /help.

from cli.

Related Issues (20)

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.