Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install @tanstack/react-query and build error #1275

Open
callqh opened this issue Apr 30, 2024 · 2 comments
Open

Install @tanstack/react-query and build error #1275

callqh opened this issue Apr 30, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@callqh
Copy link
Member

callqh commented Apr 30, 2024

Steps to reproduce

Reproduction repository

run pnpm build

What is expected?

build success

What is actually happening?

thread '<unnamed>' panicked at crates/plugin_runtime/src/render_resource_pot/source_replacer.rs:138:11:
Cannot find module id for source "./useBaseQuery.js" from ModuleId { relative_path: "node_modules/.pnpm/@[email protected][email protected]/node_modules/@tanstack/react-query/build/modern/useInfiniteQuery.js", query_string: "" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

System Info

  System:
    OS: macOS 14.4.1
    CPU: (10) arm64 Apple M2 Pro
    Memory: 193.11 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 16.20.1 - ~/.nvm/versions/node/v16.20.1/bin/node
    Yarn: 1.22.22 - ~/Library/pnpm/yarn
    npm: 8.19.4 - ~/.nvm/versions/node/v16.20.1/bin/npm
    pnpm: 8.15.5 - ~/Library/pnpm/pnpm
    bun: 0.6.13 - ~/.bun/bin/bun
  Browsers:
    Chrome: 122.0.6261.112
    Edge: 124.0.2478.51
    Safari: 17.4.1
  npmPackages:
    @farmfe/core: ^1.1.2 => 1.1.2 

Any additional comments?

No response

@wre232114 wre232114 added the bug Something isn't working label May 6, 2024
@ante-kalajzic-deel
Copy link

Just want to add, not isolated to react-query, happens with some other dependencies too (in my case Braze).

@wre232114
Copy link
Member

It will be fixed in #1284

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants