Coder Social home page Coder Social logo

Comments (5)

juanpicado avatar juanpicado commented on August 26, 2024 2

We can try to reproduce, so might me in triage, but I haven't heard any complains by far.

@ayusharma Are you fine if we close it?

from website.

mnahkies avatar mnahkies commented on August 26, 2024 1

This happens for me running the docker image standalone as well. My method:

mkdir -p $BASE_CONF_DIR/verdaccio/conf
mkdir -p $BASE_DATA_DIR/verdaccio/storage

chown -R 10001:65533 $BASE_CONF_DIR/verdaccio
chown -R 10001:65533 $BASE_DATA_DIR/verdaccio

docker run -d \
  -v $BASE_CONF_DIR/verdaccio/conf:/verdaccio/conf \
  -v $BASE_DATA_DIR/verdaccio/storage:/verdaccio/storage \
  -p 4873:4873 \
  verdaccio/verdaccio
 fatal--- cannot open config file /verdaccio/conf/config.yaml: Error: CONFIG: it does not look like a valid config file

Workaround: Grab one of the default configs from here https://github.com/verdaccio/verdaccio/blob/master/conf/ and place in your /conf mount.

But as I understood it the first run should have populated a default configuration, if none exists?

from website.

ayusharma avatar ayusharma commented on August 26, 2024 1

I think we can close it.

from website.

gramcha avatar gramcha commented on August 26, 2024 1

I faced the same problem and I resolved it by correcting the file name.

my config file name was config.yml and renaming it to config.yaml solved the issue.

yml to yaml.

Try it out, it might work.

from website.

DanielRuf avatar DanielRuf commented on August 26, 2024

Is this still relevant?

from website.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.