-
-
Notifications
You must be signed in to change notification settings - Fork 73
Closed
Description
renovate のPRにて、yarn install でエラーが出ているので確認。
#62
yarn install v1.22.21
$ typesync || :
/bin/sh: 1: typesync: not found
[1/[5](https://github.com/yamadashy/tech-blog-rss-feed/actions/runs/7572346182/job/20621945188?pr=62#step:4:6)] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
warning Pattern ["string-width@^1.0.2 || 2 || 3 || 4"] is trying to unpack in the same destination "/home/runner/.cache/yarn/v[6](https://github.com/yamadashy/tech-blog-rss-feed/actions/runs/7572346182/job/20621945188?pr=62#step:4:7)/npm-string-width-cjs-4.2.3-269c[7](https://github.com/yamadashy/tech-blog-rss-feed/actions/runs/7572346182/job/20621945188?pr=62#step:4:8)117d27b05ad2e536[8](https://github.com/yamadashy/tech-blog-rss-feed/actions/runs/7572346182/job/20621945188?pr=62#step:4:9)30a8ec8[9](https://github.com/yamadashy/tech-blog-rss-feed/actions/runs/7572346182/job/20621945188?pr=62#step:4:10)5ef9c6d0[10](https://github.com/yamadashy/tech-blog-rss-feed/actions/runs/7572346182/job/20621945188?pr=62#step:4:11)-integrity/node_modules/string-width-cjs" as pattern ["string-width@^4.2.3"]. This could result in non-deterministic behavior, skipping.
warning Pattern ["string-width-cjs@npm:string-width@^4.2.0"] is trying to unpack in the same destination "/home/runner/.cache/yarn/v6/npm-string-width-cjs-4.2.3-269c7[11](https://github.com/yamadashy/tech-blog-rss-feed/actions/runs/7572346182/job/20621945188?pr=62#step:4:12)7d27b05ad2e536830a8ec895ef9c6d010-integrity/node_modules/string-width-cjs" as pattern ["string-width@^4.2.3"]. This could result in non-deterministic behavior, skipping.
warning Pattern ["string-width@^4.1.0"] is trying to unpack in the same destination "/home/runner/.cache/yarn/v6/npm-string-width-cjs-4.2.3-269c7117d27b05ad2e536830a8ec895ef9c6d010-integrity/node_modules/string-width-cjs" as pattern ["string-width@^4.2.3"]. This could result in non-deterministic behavior, skipping.
[4/5] Linking dependencies...
warning " > esbuild-register@3.5.0" has unmet peer dependency "esbuild@>=0.[12](https://github.com/yamadashy/tech-blog-rss-feed/actions/runs/7572346182/job/20621945188?pr=62#step:4:13) <1".
[5/5] Building fresh packages...
error /home/runner/work/tech-blog-rss-feed/tech-blog-rss-feed/node_modules/libxmljs: Command failed.
Exit code: 1
Command: node-pre-gyp install --fallback-to-build --loglevel http -j max
Arguments:
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Directory: /home/runner/work/tech-blog-rss-feed/tech-blog-rss-feed/node_modules/libxmljs
Output:
/home/runner/work/tech-blog-rss-feed/tech-blog-rss-feed/node_modules/wide-align/align.js:2
var stringWidth = require('string-width')
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /home/runner/work/tech-blog-rss-feed/tech-blog-rss-feed/node_modules/string-width/index.js from /home/runner/work/tech-blog-rss-feed/tech-blog-rss-feed/node_modules/wide-align/align.js not supported.
Instead change the require of index.js in /home/runner/work/tech-blog-rss-feed/tech-blog-rss-feed/node_modules/wide-align/align.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/home/runner/work/tech-blog-rss-feed/tech-blog-rss-feed/node_modules/wide-align/align.js:2:[19](https://github.com/yamadashy/tech-blog-rss-feed/actions/runs/7572346182/job/20621945188?pr=62#step:4:20)) {
code: 'ERR_REQUIRE_ESM'
}
Node.js v[20](https://github.com/yamadashy/tech-blog-rss-feed/actions/runs/7572346182/job/20621945188?pr=62#step:4:21).11.0
Error: Process completed with exit code 1.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels