I'm encountering an issue while trying to build my project that uses editor.js inside a Docker container. The yarn install command fails with the following error:
error Couldn't find any versions for "@editorjs/helpers" that matches "workspace:*"
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
However, I don't use @editorjs/helpers anywhere in my project, nor do I use Yarn Workspaces. I've verified that this package is not listed in my package.json. Despite this, the build process fails during dependency installation inside the Docker container.
I've tried the following to resolve the issue:
Deleted node_modules and yarn.lock and ran yarn install again.
Cleared the Yarn cache using yarn cache clean.
Ensured that all dependencies in package.json are correct.
Unfortunately, none of these steps have resolved the issue. The error consistently points to a missing version for @editorjs/helpers with workspace:*.
This issue occurs specifically when running the build inside a Docker container.
For reference, I will attach my package.json and Dockerfile to help diagnose the issue.
Expected Behavior:
Yarn should install all dependencies without errors, as @editorjs/helpers is not explicitly required in my project.
Hi there,
I'm encountering an issue while trying to build my project that uses
editor.js
inside a Docker container. Theyarn install
command fails with the following error:However, I don't use
@editorjs/helpers
anywhere in my project, nor do I use Yarn Workspaces. I've verified that this package is not listed in mypackage.json
. Despite this, the build process fails during dependency installation inside the Docker container.I've tried the following to resolve the issue:
node_modules
andyarn.lock
and ranyarn install
again.yarn cache clean
.package.json
are correct.Unfortunately, none of these steps have resolved the issue. The error consistently points to a missing version for
@editorjs/helpers
withworkspace:*
.This issue occurs specifically when running the build inside a Docker container.
For reference, I will attach my
package.json
andDockerfile
to help diagnose the issue.Expected Behavior: Yarn should install all dependencies without errors, as
@editorjs/helpers
is not explicitly required in my project.Environment:
Thank you for looking into this!
Dockerfile:
package.json: