Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Several file dependencies are broken while running on dev mode #514

Closed
mazoqui opened this issue May 20, 2021 · 10 comments
Closed

Several file dependencies are broken while running on dev mode #514

mazoqui opened this issue May 20, 2021 · 10 comments

Comments

@mazoqui
Copy link

mazoqui commented May 20, 2021

**PLEASE NOTE: We are trying to make this project live again. While you can file an issue, we will do our best but you should not expect any action, even if we label the issue. However, we are welcoming new contributors **

Describe the bug
I can proper run and test svgedit running it locally if I download the the latest release zip file (svgedit-5.1.0) and serve its content on nginx.

But I can not manage to get it to run according to the described quick install

To Reproduce
Steps to reproduce the behavior:

Clone or copy the repository contents
git clone https://github.com/SVG-Edit/svgedit.git
npm i
npm run start

Navigate to http://localhost:8000/src/editor/index.html

Expected behavior
Proper rendering of MASTER git release (whish should be the one in production, right)?

I can see what it should be the editor page but not proper rendered - without canvas, toolbar, sidebar and layer panel andplenty of missing js files dependencies logged on the console

It seems that there are path issues, but also js libs not installed, although the npm i was finished without blockage errors

Just following the quick install in different linux machines and you will get same error.

SVG-Edit environment (IMPORTANT)

Desktop (please complete the following information):
desktop - linux mint - chrome / firefox

@jfhenon
Copy link
Collaborator

jfhenon commented May 20, 2021

Hello Marco ,
The master branch is actually a development branch
The branch v.5.1.0 is the latest release.

Now, I need to check the reason why it didn't work on your installation. What is your navigator please?

@mazoqui
Copy link
Author

mazoqui commented May 20, 2021

Hi jfhenon, thank you for so quick reply.
I'm running on linux the Chrome Version 90.0.4430.212 (Official Build) (64-bit)

below the installation and running sequence:

image
image
image
image

It is a bit better after I clean up npm cache, and no errors messages were logged. But I'm still facing issues on Chrome related to page response.

@jfhenon
Copy link
Collaborator

jfhenon commented May 20, 2021

do you have messages in the console that could help to understand?

@mazoqui
Copy link
Author

mazoqui commented May 20, 2021 via email

@jfhenon
Copy link
Collaborator

jfhenon commented May 20, 2021

I would like you to make 2 tests:
1/ from your browser, try https://svgedit.netlify.app/editor/index.html to see if it works. (I think it will but worth trying)
2/ on your git, type npm -v and node -v
For me:
image

@mazoqui
Copy link
Author

mazoqui commented May 20, 2021

HI
npm version: 6.14.13 / node version: 14.17.0

It works as expected. Also reloading is not triggering any Chrome alert.

image

@jfhenon
Copy link
Collaborator

jfhenon commented May 21, 2021

Ok. At least we know the browser is not the issue. One of the developer working with me is on Ubuntu like you. My system is running macOS. I will try to install a fresh new install to see if I have the same problem.
One test also could be to run the built version (npm run build) and to test the url localhost:8000/dist/editor/index.html
I will only be able to test this next week.

@jfhenon
Copy link
Collaborator

jfhenon commented May 21, 2021

I did the test on Ubuntu with a fresh install of node. it worked
image

@mazoqui
Copy link
Author

mazoqui commented May 22, 2021

Hi jfhenon,
thank you once again.
It sounds like an issue on webpack-dev-server. In a fresh linux mint installation, after installing latest npm+node version, clone, install and run the dev application, i got same issue again.
It worked at first, but as soon as I reload the page, it crashes.
On the network panel I could realise there were several svg resources on pending status. They did never finish.
I've then reinstalled the webpack-dev-server, but no luck. It just work on first load and as soon as I reload the page, it crashes.
image
image
image
Also tried to build and serve it on nginx: the page did not load properly and several missing dependencies were logged.

Since it might be an issue that only me is struggling to deal with, feel free to close it.

Really appreciate all wonderful jod and support from you.

thank you

@jfhenon
Copy link
Collaborator

jfhenon commented May 23, 2021

The project is not using the webpack-dev-server.

@jfhenon jfhenon closed this as completed May 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants