Join the conversation

Sign in to join this conversation, and others like it, in the communities you care about.

Wekan

Wekan is an open-source kanban board (Trello like) which allows a card-based task and to-do management.

Wekan / Bugs

Trying to build Wekan with Dockerfile

Trying to build Wekan with Dockerfile

Wekan/Bugs · February 7, 2020 at 1:29pm

Trying to build Wekan with Dockerfile

Wekan / Bugs · February 7, 2020 at 1:29pm (Edited 4 years ago)

Hey,

I'm trying to build wekan with the supplied dockerfile and when I get to this part of the Dockerfile:

cd /home/wekan/app_build/bundle/programs/server/ && \
gosu wekan:wekan npm install &&

I get this error message:

Browserslist: caniuse-lite is outdated. Please run next command `npm update`

Any ideas how to resolve?

Edit: sorry for all the additional comments, new to this platform. To summarize I got the following message:

Browserslist: caniuse-lite is outdated. Please run next command `npm update`

While running the Dockerfile. And then it hanged for a long time so I assumed there was a crash. But it eventually finished and everything seems to be working.


February 7, 2020 at 2:58pm

Sorry the error takes place after this line:

    • reply
    • like
    gosu wekan:wekan /home/wekan/.meteor/meteor build --directory /home/wekan/app_buil
      • reply
      • like

      I've tried running the command inside the container but instead the installer now hangs on:

      Building for web.browser /
        • reply
        • like

        This is the complete output from running the Dockerfile:

          • reply
          • like
          + cd /home/wekan/app
          + mkdir -p /home/wekan/.npm
          + chown wekan --recursive /home/wekan/.npm /home/wekan/.config /home/wekan/.meteor
          + gosu wekan:wekan npm install
          > [email protected] install /home/wekan/app/node_modules/dtrace-provider
          > node-gyp rebuild || node suppress-error.js
          make: Entering directory '/home/wekan/app/node_modules/dtrace-provider/build'
          TOUCH Release/obj.target/DTraceProviderStub.stamp
          make: Leaving directory '/home/wekan/app/node_modules/dtrace-provider/build'
          > [email protected] install /home/wekan/app/node_modules/bcrypt
          > node-pre-gyp install --fallback-to-build
          node-pre-gyp WARN Using needle for node-pre-gyp https download
          [bcrypt] Success: "/home/wekan/app/node_modules/bcrypt/lib/binding/bcrypt_lib.node" is installed via remote
          > [email protected] install /home/wekan/app/node_modules/pre-commit
          > node install.js
          > [email protected] postinstall /home/wekan/app/node_modules/core-js
          > node scripts/postinstall || echo "ignore"
          Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
          The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
          > https://opencollective.com/core-js
          > https://www.patreon.com/zloirock
          Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
          > [email protected] postinstall /home/wekan/app/node_modules/spawn-sync
          > node postinstall
          added 628 packages from 461 contributors and audited 2528 packages in 21.768s
          16 packages are looking for funding
          run `npm fund` for details
          found 0 vulnerabilities
          + gosu wekan:wekan /home/wekan/.meteor/meteor build --directory /home/wekan/app_build
          kadira:flow-router: updating npm dependencies -- page, qs...
          wekan-accounts-cas: updating npm dependencies -- xml2js, cas...
          wekan-ldap: updating npm dependencies -- ldapjs...
          Browserslist: caniuse-lite is outdated. Please run next command `npm update`
            • reply
            • like

            Oops, ok it finally compiled. It just took a looong time..

              like-fill
              1
              • reply
              • like

              February 9, 2020 at 9:08pm

              Yes, it takes long time currently to build that 30k files. Meteor devs will optimize that sometime.

                • reply
                • like