Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Something is not right with the Dockerfile

Aperta
#145 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
57/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
docker, typescript
Ambito
devops

Direzione di ricerca

Start with DOCKER.md and the Dockerfile, then compare the documented startup steps with the reported npx missing error and the /data wiki path and package version errors. Check the container logs after a fresh setup; done means the documented setup starts the server without these errors.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

I tried to set up a completely new docker container by following the instructions in DOCKER.md.

The server is not starting:
Error response from daemon: Container 6938806d838.... is restarting, wait until the container is running

In the logs there are pretty comprehensive information but I wasn't able to parse it. so here I am with the issue. :)

Error:  Command "npx" not found
Usage: mws [command]
Multi-User Multi-Wiki Server for TiddlyWiki.

  listen [options]                   Listen for web requests.
  load-wiki-folder <path> [options]  Load a TiddlyWiki folder into a bag
  init-store                         Initialize the MWS data folder
  test-args                          Prints the command args to console. Useful for
                                     testing your inputs.
  update-tiddlywiki [options]        Update TiddlyWiki to the latest version
  set-admin-password [options]       Reset an admin password in case you get locked out.
  help [command]                     display help for command

The current working directory does not appear to be a valid wiki path. 
In order to start the server properly, you must start it from the folder 
containing the passwords.key file. This is the root of your wiki folder.

Error: The wiki path package.json file has the wrong version. Found 0.1.0, expected 0.2.x

Since the package.json file for your wiki folder is created automatically, 
this usually means you are in the wrong folder. You should NOT edit the package.json 
file in the current folder to fix this.

The current folder is: /data

This is also known as "Start In", "Working Directory", "Current Directory", etc. 

Lingua principale
TypeScript
Stelle
60
Fork
17
Merge medio
4m
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di TiddlyWiki/MultiWikiServer

Tutte le issue di TiddlyWiki/MultiWikiServer

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.