TriplyDB / Yasgui

Yet Another Sparql GUI
https://yasgui.triply.cc
MIT License
185 stars 55 forks source link

npm/yarn install error #187

Closed shinysong closed 3 years ago

shinysong commented 3 years ago

Hello. I am new to yasgui.

I installed it with npm referring to the official website.

However, the file path is strange and there are some errors.

I think there is no connection with this repository.

It was confirmed that the version was upgraded to 4.2.18 on 2021-09-28.

Maybe there's an error because you're still upgrading?

Or is my local computer the problem? Or i don't understand installing Yasgui? 화면 캡처 2021-09-29 012021

GerwinBosch commented 3 years ago

Hello @shinysong thanks for trying out YASGUI,

We had some issues with our CI releasing this particular version. The newest version should have the correct configuration.

I can't discover anything strange based on the file structure

Could you go a bit further in detail how the file path is strange and what kind of yarn/npm errors you get?

shinysong commented 3 years ago

Thank you for your kind answer. @GerwinBosch

First, my goal is to connect the blazegraph endpoint and yasgui.

So, I installed yasgui and expected a screenshot(Overview of Yasgui Components) of Yasgui API Reference. However, my local node_modules/@tripley/yasgui/yasgui.html was the same as the picture below.

yasgui-html

And, I tried to find yasgui.config guided by https://triply.cc/docs/yasgui-api#yasgui-config, I don't know if I have to write it myself or if there are .config and .defaluts exist where packages.

I would appreciate it if you could tell me where to write it when writing it myself.

I'm sorry for the lack of basic knowledge because it's my first time doing this.

GerwinBosch commented 3 years ago

Ah as Yasgui is a package its intended to be integrated into other (javascript) projects. The easiest way to configure your own instance of yasgui is by using the CDN approach

Create a HTML file and retrieve Yasgui with a cdn as documented here. You can change the config using the third snippet

shinysong commented 3 years ago

Thank you for a detailed description :)

GerwinBosch commented 3 years ago

Welcome back @shinysong

Any reason to re-open this issue? Can we provide any further assistance?

shinysong commented 3 years ago

sorry, my mistake!