You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the build step (for example make mountable at build-mountable), the following error occurred.
cd packages/sharing; \
yarn build
yarn run v1.22.19
$ craco build
(node:2837) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /home/runner/work/stlite/stlite/node_modules/postcss-safe-parser/node_modules/postcss/package.json.
Update this package.json to use a subpath pattern like "./*".
(Use `node --trace-deprecation ...` to show where the warning was created)
Creating an optimized production build...
Treating warnings as errors because process.env.CI = true.
Most CI servers set it automatically.
Failed to compile.
Conflict: Multiple assets emit different content to the same filename pypi/tornado-6.2-py3-none-any.whl
Conflict: Multiple assets emit different content to the same filename pypi/streamlit-1.13.0-py2.py3-none-any.whl
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
make: *** [Makefile:57: packages/sharing/build/*] Error 1
This occurred for the first time on a release build triggered by a new Git tag even though the previous builds were all successful.
Hypothesis
publish-kernel finishes early and @stlite/kernel has been released on the remote NPM repository before build-* steps start. Then inside these steps @stlite/kernel could be fetched both from local and remote, then it causes some confusion.
One question on it is why it occurs even though the document says yarn prefer the local workspace to the remote as below.
If the package manager was to resolve a range that a workspace could satisfy, it will prefer the workspace resolution over the remote resolution if possible. This is the pillar of the monorepo approach: rather than using the remote packages from the registry, your project packages will be interconnected and will use the code stored within your repository. https://yarnpkg.com/features/workspaces
The text was updated successfully, but these errors were encountered:
When the packages are versioned as prerelease such as 0.10.2-alpha.0, after running yarn install, yarn.lock has been updated with the following diff. This means the prerelease version is not handled by yarn.
https://github.com/whitphx/stlite/actions/runs/3187415477
At the build step (for example
make mountable
atbuild-mountable
), the following error occurred.This occurred for the first time on a release build triggered by a new Git tag even though the previous builds were all successful.
Hypothesis
publish-kernel
finishes early and@stlite/kernel
has been released on the remote NPM repository beforebuild-*
steps start. Then inside these steps@stlite/kernel
could be fetched both from local and remote, then it causes some confusion.One question on it is why it occurs even though the document says yarn prefer the local workspace to the remote as below.
The text was updated successfully, but these errors were encountered: