[Pkg-javascript-devel] Bug#980775: your initial example also fails with upstream

Paolo Greppi paolo.greppi at libpf.com
Sat Jan 23 14:37:08 GMT 2021


I tried using the docker "official image" for node:

   docker pull node
   docker run -it --rm node bash
   mkdir -p test/foo
   cd test
   yes '' | yarn init
   yarn add file:foo

yields:

   yarn add file:foo
   yarn add v1.22.5
   info No lockfile found.
   [1/4] Resolving packages...
   [2/4] Fetching packages...
   error /test at 0.0.0: Name contains illegal characters
   info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

you need to add the following as in my previous message:

   cd foo
   yes '' | yarn init
   cd ..

P.



More information about the Pkg-javascript-devel mailing list