Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Joplin Server
  3. Joplin: Usage Error: The nearest package directory doesn't seem to be part of the project declared in /app/code

Joplin: Usage Error: The nearest package directory doesn't seem to be part of the project declared in /app/code

Scheduled Pinned Locked Moved Joplin Server
3 Posts 2 Posters 711 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    krumel
    wrote on last edited by
    #1

    Hi everyone,
    the current version of Joplin (2.3.2) suddenly throws a rather strange error and became unresponsive.

     $ yarn run [--inspect] [--inspect-brk] [-T,--top-level] [-B,--binaries-only] [--require #0] <scriptName> ...
    Usage Error: The nearest package directory (/app/code/packages/server) doesn't seem to be part of the project declared in /app/code.
    - Finally, if /app/code is fine and you intend packages/server to be treated as a completely separate project (not even a workspace), create an empty yarn.lock file in it.
     - If /app/code is intended to be a project, it might be that you forgot to list packages/server in its workspace configuration.
     - If /app/code isn't intended to be a project, remove any yarn.lock and/or package.json file there.
     => Healtheck error: Error: Timeout of 7000ms exceeded
    

    Most interestingly it occured days after the 2.3.2 update and I couldn't identify any other factors that could have caused this.
    Does anyone have an idea how to solve this?

    1 Reply Last reply
    2
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      Have you by chance edited the config file in /app/data for that instance? Trying to reproduce it here, but it seems it work.

      1 Reply Last reply
      2
      • K Offline
        K Offline
        krumel
        wrote on last edited by
        #3

        Nope, absolute standard install. I had to go back one update to make it work again for now.

        1 Reply Last reply
        1

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search