Comments (12)
@dankar this issue seems to be related to CLI than Glee. @Souvikns can you move this issue to CLI?
from cli.
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.
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.
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.
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.
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.
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.
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.
Alright sorry for the confusion 😄, I got it now, I am checking it out 👍🏼
from cli.
@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.
/gfi
from cli.
Hey @Amzani, your message doesn't follow the requirements, you can try /help
.
from cli.
Related Issues (20)
- Support for multiple versions of generator HOT 14
- [BUG] Command generate fromTemplate brakes with MODULE_NOT_FOUND HOT 6
- [BUG] File name is not captured while creating new asyncapi.yml from using new command HOT 2
- [FEATURE] Adding a progress bar for CLI Commands to show the progress status HOT 2
- [FEATURE] New command to publish the result generated by generate and model command. HOT 1
- [FEATURE] New Command to format the Asyncapi document HOT 2
- Replace request by node-fetch HOT 1
- [BUG] generate fromTemplate fails since 1.13.0 HOT 4
- [FEATURE] Improve storage of `.asyncapi-analytics` config file HOT 7
- [FEATURE] Support ignore feature of optimizer HOT 3
- [BUG] latest download URL is not working HOT 7
- [FEATURE] Add support to change the collection type for arrays in Java models HOT 1
- [TEST] Incomplete log of tests executed for `bundle` command HOT 1
- [BUG] 'SonarCloud Code Analysis' workflow not triggered on CI/CD HOT 1
- [BUG] asyncapi bundle does not report error if external reference cannot be resolved HOT 3
- [BUG] Generate commands only run in context of the CWD, not the directory of the asyncapi.yaml file HOT 3
- [BUG] New CLI installs are broken (also in Docker) HOT 2
- [BUG] from . import AnonymousSchemaX breaks types (?) HOT 3
- [BUG] Doesn't work for Hello world example from AsyncAPI HOT 6
- Add convert to AsyncAPI from OpenAPI support 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 cli.