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
This bug affects yarn only. I have tested with NPM with everything else being the same and it works fine.
Error log
───────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
│ File: /private/var/folders/3l/b3zbvc0j7jlcf_jfpbl_9_540000gn/T/xfs-c0a05636/build.log
───────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
1 │ # This file contains the result of Yarn building a package (wxt-react-starter@workspace:.)
2 │ # Script name: postinstall
3 │
4 │
5 │ WXT 0.19.29
6 │ ✖ Command failed after 15 ms
7 │
8 │ ERROR Cannot find package '@wxt-dev/module-react' imported from /Users/brandondavis/github.com/instant-events/index.js
9 │
10 │ at __node_internal_ (/Users/brandondavis/.yarn/berry/cache/import-meta-resolve-npm-4.1.0-6e93749986-10c0.zip/node_modules/import-meta-resolve/lib/errors.js:4
│ 36:11)
11 │ at new NodeError (/Users/brandondavis/.yarn/berry/cache/import-meta-resolve-npm-4.1.0-6e93749986-10c0.zip/node_modules/import-meta-resolve/lib/errors.js:380:
│ 5)
12 │ at packageResolve (/Users/brandondavis/.yarn/berry/cache/import-meta-resolve-npm-4.1.0-6e93749986-10c0.zip/node_modules/import-meta-resolve/lib/resolve.js:10
│ 35:9)
13 │ at moduleResolve (/Users/brandondavis/.yarn/berry/cache/import-meta-resolve-npm-4.1.0-6e93749986-10c0.zip/node_modules/import-meta-resolve/lib/resolve.js:111
│ 3:18)
14 │ at defaultResolve (/Users/brandondavis/.yarn/berry/cache/import-meta-resolve-npm-4.1.0-6e93749986-10c0.zip/node_modules/import-meta-resolve/lib/resolve.js:12
│ 89:15)
15 │ at resolve (/Users/brandondavis/.yarn/berry/cache/import-meta-resolve-npm-4.1.0-6e93749986-10c0.zip/node_modules/import-meta-resolve/index.js:32:12)
16 │ at .yarn/__virtual__/wxt-virtual-e096b6e3a3/3/.yarn/berry/cache/wxt-npm-0.19.29-e2824c0084-10c0.zip/node_modules/wxt/dist/core/resolve-config.mjs:341:34
17 │ at Array.map (<anonymous>)
18 │ at resolveWxtUserModules (.yarn/__virtual__/wxt-virtual-e096b6e3a3/3/.yarn/berry/cache/wxt-npm-0.19.29-e2824c0084-10c0.zip/node_modules/wxt/dist/core/resolve
│ -config.mjs:340:13)
19 │ at resolveConfig (.yarn/__virtual__/wxt-virtual-e096b6e3a3/3/.yarn/berry/cache/wxt-npm-0.19.29-e2824c0084-10c0.zip/node_modules/wxt/dist/core/resolve-config.
│ mjs:101:29)
20 │ at async registerWxt (.yarn/__virtual__/wxt-virtual-e096b6e3a3/3/.yarn/berry/cache/wxt-npm-0.19.29-e2824c0084-10c0.zip/node_modules/wxt/dist/core/wxt.mjs:11:
│ 18)
21 │ at async prepare (.yarn/__virtual__/wxt-virtual-e096b6e3a3/3/.yarn/berry/cache/wxt-npm-0.19.29-e2824c0084-10c0.zip/node_modules/wxt/dist/core/prepare.mjs:5:3
│ )
22 │ at async .yarn/__virtual__/wxt-virtual-e096b6e3a3/3/.yarn/berry/cache/wxt-npm-0.19.29-e2824c0084-10c0.zip/node_modules/wxt/dist/cli/commands.mjs:76:5
23 │ at async CAC.<anonymous> (.yarn/__virtual__/wxt-virtual-e096b6e3a3/3/.yarn/berry/cache/wxt-npm-0.19.29-e2824c0084-10c0.zip/node_modules/wxt/dist/cli/cli-util
│ s.mjs:17:22)
24 │ at async .yarn/__virtual__/wxt-virtual-e096b6e3a3/3/.yarn/berry/cache/wxt-npm-0.19.29-e2824c0084-10c0.zip/node_modules/wxt/dist/cli/index.mjs:11:1
Reproduction
This bug occurs on a fresh initialization with zero code changes.
yarn install
➤ YN0000: · Yarn 4.7.0
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed
➤ YN0000: ┌ Post-resolution validation
➤ YN0086: │ Some peer dependencies are incorrectly met by dependencies; run yarn explain peer-requirements for details.
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed
➤ YN0000: ┌ Link step
➤ YN0000: │ ESM support for PnP uses the experimental loader API and is therefore experimental
➤ YN0007: │ wxt-react-starter@workspace:. must be built because it never has been before or the last one failed
➤ YN0009: │ wxt-react-starter@workspace:. couldn't be built successfully (exit code 1, logs can be found here: /private/var/folders/3l/b3zbvc0j7jlcf_jfpbl_9_540000gn/T/xfs-33d8daf7/build.log)
➤ YN0000: └ Completed in 0s 759ms
➤ YN0000: · Failed with errors in 0s 921ms
Describe the bug
This bug affects yarn only. I have tested with NPM with everything else being the same and it works fine.
Error log
Reproduction
This bug occurs on a fresh initialization with zero code changes.
Steps to reproduce
The CD into the new directory
yarn install
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: