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 | 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
2 Posts 2 Posters 25 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 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
    1
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote 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
      1
      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