YunoHost-Apps / codimd_ynh

CodiMD package for YunoHost
https://hackmd.io/
GNU General Public License v3.0
11 stars 12 forks source link

WARN: "Browserslist: caniuse-lite is outdated. Please run the following command: `npm update`" #67

Closed dumprop closed 10 months ago

dumprop commented 3 years ago

Describe the bug

some strange warnings

Context

Steps to reproduce

install codimd

Expected behavior

installed codimd without these warnings

Logs

Installing codimd...
Validating installation parameters...
Storing installation settings...
Finding an available port...
Installing dependencies...
Configuring system user...
Creating a PostgreSQL database...
Setting up source files...
Configuring NGINX web server...
Building CodiMD... (this will take some time and resources!)
Error verifying phantomjs, continuing { Error: Command failed: /usr/bin/phantomjs --version
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.
at ChildProcess.exithandler (child_process.js:299:12)
at ChildProcess.emit (events.js:193:13)
at maybeClose (internal/child_process.js:999:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:266:5)
killed: false,
code: 1,
signal: null,
cmd: '/usr/bin/phantomjs --version' }
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
Browserslist: caniuse-lite is outdated. Please run the following command: `npm update`
Browserslist: caniuse-lite is outdated. Please run the following command: `npm update`
Browserslist: caniuse-lite is outdated. Please run the following command: `npm update`
Browserslist: caniuse-lite is outdated. Please run the following command: `npm update`
Browserslist: caniuse-lite is outdated. Please run the following command: `npm update`
Browserslist: caniuse-lite is outdated. Please run the following command: `npm update`
Modifying a config file...
Configuring a systemd service...
Integrating service in YunoHost...
Starting a systemd service...
The service codimd has correctly executed the action start.
Configuring permissions...
Reloading NGINX web server...
Installation of CodiMD completed
Installation completed

If applicable and useful, add screenshots to help explain your problem. image

Konsilion commented 2 years ago

Hey, did you find a way to solve it ?

dumprop commented 2 years ago

Hey, did you find a way to solve it ?

No, but all seems working

Konsilion commented 2 years ago

Not for me, i have the same issue ...

ericgaspar commented 2 years ago

@Konsilion

Not for me, i have the same issue ...

If you can't install CodiMD you may want to try HedgeDoc as an alternative... https://github.com/YunoHost-Apps/hedgedoc_ynh

Konsilion commented 2 years ago

I have a problem with HedgeDoc, the iframes do not work... So I wanted to try CodiMD :p Maybe you can help me (but I think it's broken ...) I did :

My version of HedgeDoc is: 1.9.2~ynh1

What I expected to happen: I have a main domain and a subdomain. I want to write my pads on the subdomain and embed them on my main domain with an iframe.

What actually happened:

Where there is the iframe my browser says http://pad.mywebsite.fr/ does not allow connection.”

I’ve already tried:

{
    "production": {
        "protocolUseSSL": true,
        "domain": "pad.MyWebSite.fr",
        "port": "3000",
        "urlPath": "acceuil",
        "loglevel": "info",
        "useCDN": false,
        "allowGravatar": false,
        "allowFreeURL": false,
        "allowAnonymousEdits": true,
        "defaultPermission": "locked",
        "email": true,
        "allowEmailRegister": true,
        "imageUploadType": "filesystem",
        "tooBusyLag": 1000,
        "cookiePolicy": "none",
        "hsts": {
            "enable": true,
            "maxAgeSeconds": 31536000,
            "includeSubdomains": true,
            "preload": true
        },
        "csp": {
            "enable": true,
            "directives": {
            },
            "upgradeInsecureRequests": "auto",
            "addDefaults": true,
            "addDisqus": true,
            "addGoogleAnalytics": false,
            "allowFraming": true
        },

I hope to find an answer one day ^^

ericgaspar commented 10 months ago

closing with #89