Joplin Web - Web application companion for Joplin

Thankyou so much sir, I will look at them and will discuss with you. I have some questions to ask if you don’t mind.

yes sure ; we can exchange on the discord server in the #application channel if you want

Sure Sir, thankyou so much.

I am having an issue when attempting to start the application. After executing:

npm run build

I get the following errors:

ERROR Build failed with errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! joplin-vue@1.0.0 build: vue-cli-service build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the joplin-vue@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

I have tried and retried multiple things, including starting from scratch. Can you advise on a good next step forward in troubleshooting? I can provide the log if necessary.

For reference, I am running Ubuntu 20.04.1 LTS, python 3.8.2, npm 6.14.4

Any error message before what you’ve posted?

Before this in the process, no, everything went smoothly. However, scrolling up from the error message, I do see this:

ERROR Failed to compile with 1 errors 2:05:03 PM
Error: TypeError [ERR_INVALID_URL]: Invalid URL: http://0.0.0.0:8001undefinedstatic/css/chunk-vendors.css

For what its worth, I ran a grep command searching for "http://0.0.0.0" and combed the results. I found the following string:

hasOwnProperty.call(t,e)},o.p="http://0.0.0.0:8001undefinedstatic/";var i=window["webpackJsonp"]=wi

in the file:

./joplin-web/joplin_web/static/js/app.js

This seems to be related.

hi,

as written in the readme file, you need to set the env var JW_BASE_URL before

regards

-------- Message d’origine --------
On 30 juil. 2020 à 03:06, David R. Lenz via Joplin Forum < cozic@discoursemail.com > a écrit :

Thank you for the prompt attention to this. Forgive me if I missed a critical step in the set up, but reviewing the README, I am still a little unclear. Per the instructions, which read:

the JW_BASE_URL to set the base of the application eg set it to /joplin/ to move the URL from / to /joplin/

I have setup the JW_BASE_URL as follows:

JW_BASE_URL = '/joplin/'

I'm guessing, based on the context of the error, that this variable should be defined as the URL or IP address of my web server that will be hosting this application, plus the '/joplin/' string. Is that accurate? If correct, can you clarify if this should be the internal IP address of my web server, or the URL/external IP address?

the error said “undefined” related to the environment variable. the ip address is not defined with that variable at all, but in the joplin-vue/vue.config.js

-------- Message d’origine --------
On 30 juil. 2020 à 15:00, David R. Lenz via Joplin Forum < cozic@discoursemail.com > a écrit :

My apologies, but something isn’t clicking with me, and I appreciate your patience.

If the error is related to how I have the JW_BASE_URL environment variable defined, and I’m getting the error when it is set to ‘/joplin/’ per the README, can you please clarify how that variable should be defined so that I no longer get the “undefined” error?

I have attached a screenshot of my .env file. The font coloring on the blue vs green makes me believe something isn’t being parsed correctly, almost like I have a missing tick mark. Admittedly, though, I’m not very famliar with this, so it may be correct.

Note: I have confirmed that there is a ‘closing’ tick mark at the end of the Webclipper Token

joplinenvvariables

.env file is used by python, not by nodejs when you build the vuejs part, so you have to set the environment variable yourself by hand, then run npm.

-------- Message d’origine --------
On 30 juil. 2020 à 17:32, David R. Lenz via Joplin Forum < cozic@discoursemail.com > a écrit :

when I spoke about the readme I spoke about this one

https://github.com/foxmask/joplin-web/tree/master/joplin-vue

-------- Message d’origine --------
On 30 juil. 2020 à 15:00, David R. Lenz via Joplin Forum < cozic@discoursemail.com > a écrit :

Hi @foxmask, I’ve been using Joplin for several months now, but I found out about Joplin Web just now. Wow! Your work is astounding and the service is super useful! The thing is I’m kind of a noob and I know this sounds like a dumb question but: should I install the app on my server? How can I access it via web browser? I know the info provided on the repo README are pretty clear, still, a bit too technical for me. Would you be so kind to provide me simpler and more detailed installation instructions? Thanks a lot in advance, I will use Joplin Web a lot, I needed it!

Thanks again.
Cheers,
T

Hi,
I'm afraid that will be too complicated.

but in case, to know from where you start, do you have knowledge in:

  • web development?
  • installing and settings application on a server?
  • securing an application?

I could setup the project on your server, but how will you manage the day to day administration tasks?

we already told me that the project was nice but even with skill in web development, that was too long to setup (but it's very straightforward when you know python), so i think the number of people using it fit in one hand :slight_smile:

regards

-------- Message d'origine --------

1 Like

so i think the number of people using it fit in one hand

With 283 stars on the repo I doubt it :slight_smile: Actually is there any way to know how many times your package has been downloaded or installed?

GitHub does not provide this kind of tool.

I have a project with 1.300 stars, and here again I'm sure there is not more than 5 people who use it ^^

but it doesn't matter.

I'll try to do my best to share project I use for myself. after that I can't cover all the use cases and user profiles without help, help that never comes.

many open source projects are like that.

:wink:

-------- Message d'origine --------

4 Likes

The gh API shows how many times an asset has been downloaded: download_count.

Thanks @tessus the API works well, but as I don’t have created any release yet ; there is nothing to count ^^
For the others projects I have, as I uploaded stuff on pypi.org, there was no “assets” so nothing to count too.