okikio / okikio/bundlejs

[ERROR] Do not know how to load path: http-url:https://unpkg.com/react-remove-scroll-bar@2.3.8/constants

Open
#97 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
915
Forks
19
PR merge metrics
No merged PRs in 30d

Description

I am trying to measure the size of the RadixUI UI library, but I am encountering the following error:

Code:

// Click Build for the Bundled, Minified & Compressed package size
export * from "radix-ui@1.4.3";
export { default } from "radix-ui@1.4.3";

To reproduce, check the Bundlejs page

Error:
✘ [ERROR] Do not know how to load path: http-url:https://unpkg.com/react-remove-scroll-bar@2.3.8/constants


http-url:https://unpkg.com/react-remove-scroll@2.7.2/dist/es2015/UI:3:55:

      3 │ ...ame, zeroRightClassName } from 'react-remove-scroll-bar/constants';
        ╵                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Full console log

Bundling 🚀

Fetch https://unpkg.com/radix-ui@1.4.3/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-accessible-icon@1.1.7/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-accordion@1.2.12/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-alert-dialog@1.1.15/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-aspect-ratio@1.1.7/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-avatar@1.1.10/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-checkbox@1.3.3/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-collapsible@1.1.12/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-context-menu@2.2.16/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-dialog@1.1.15/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-direction@1.1.1/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-dropdown-menu@2.1.16/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-form@0.1.8/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-hover-card@1.1.15/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-label@2.1.7/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-menubar@1.1.16/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-navigation-menu@1.2.14/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-one-time-password-field@0.1.8/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-password-toggle-field@0.1.3/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-popover@1.1.15/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-portal@1.1.9/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-progress@1.1.7/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-radio-group@1.3.8/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-scroll-area@1.2.10/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-select@2.2.6/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-separator@1.1.7/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-slider@1.3.6/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-slot@1.2.3/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-switch@1.2.6/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-tabs@1.1.13/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-toast@1.2.15/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-toggle@1.1.10/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-toggle-group@1.1.11/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-toolbar@1.1.11/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-tooltip@1.2.8/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-visually-hidden@1.2.3/dist/index.mjs

Fetch https://unpkg.com/react@19.2.4/index.js

Fetch https://unpkg.com/react@19.2.4/jsx-runtime.js

Fetch https://unpkg.com/react@19.2.4/cjs/react.production.js

Fetch https://unpkg.com/react@19.2.4/cjs/react-jsx-runtime.production.js

Fetch https://unpkg.com/@radix-ui/react-primitive@2.1.3/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-compose-refs@1.1.2/dist/index.mjs

Fetch https://unpkg.com/react-dom@19.2.4/index.js

Fetch https://unpkg.com/react-dom@19.2.4/cjs/react-dom.production.js

Fetch https://unpkg.com/@radix-ui/react-context@1.1.2/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-use-layout-effect@1.1.1/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/primitive@1.1.3/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-use-controllable-state@1.2.2/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-use-effect-event@0.0.2/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-use-callback-ref@1.1.1/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-use-is-hydrated@0.1.0/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-roving-focus@1.1.11/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-menu@2.1.16/dist/index.mjs

Fetch https://unpkg.com/use-sync-external-store@1.6.0/shim/index.js

Fetch https://unpkg.com/use-sync-external-store@1.6.0/cjs/use-sync-external-store-shim.production.js

Fetch https://unpkg.com/@radix-ui/react-use-previous@1.1.1/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-use-size@1.1.1/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-presence@1.1.5/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-id@1.1.1/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/number@1.1.1/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-collection@1.1.7/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-popper@1.2.8/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-dismissable-layer@1.1.11/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-use-escape-keydown@1.1.1/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-focus-guards@1.1.3/dist/index.mjs

Fetch https://unpkg.com/@radix-ui/react-focus-scope@1.1.7/dist/index.mjs

Fetch https://unpkg.com/aria-hidden@1.2.6/dist/es2015/index.js

Fetch https://unpkg.com/react-remove-scroll@2.7.2/dist/es2015/index.js

Fetch https://unpkg.com/react-remove-scroll@2.7.2/dist/es2015/Combination.js

Fetch https://unpkg.com/tslib@2.8.1/tslib.es6.mjs

Fetch https://unpkg.com/react-remove-scroll@2.7.2/dist/es2015/sidecar.js

Fetch https://unpkg.com/react-remove-scroll@2.7.2/dist/es2015/UI.js

Fetch https://unpkg.com/@floating-ui/react-dom@2.1.7/dist/floating-ui.react-dom.mjs

Fetch https://unpkg.com/@radix-ui/react-arrow@1.1.7/dist/index.mjs

Fetch https://unpkg.com/use-sidecar@1.1.3/dist/es2015/index.js

Fetch https://unpkg.com/@floating-ui/dom@1.7.5/dist/floating-ui.dom.mjs

Fetch https://unpkg.com/react-remove-scroll@2.7.2/dist/es2015/SideEffect.js

Fetch https://unpkg.com/react-remove-scroll@2.7.2/dist/es2015/medium.js

Fetch https://unpkg.com/use-sidecar@1.1.3/dist/es2015/renderProp.js

Fetch https://unpkg.com/use-sidecar@1.1.3/dist/es2015/exports.js

Fetch https://unpkg.com/use-sidecar@1.1.3/dist/es2015/hoc.js

Fetch https://unpkg.com/use-sidecar@1.1.3/dist/es2015/medium.js

Fetch https://unpkg.com/use-sidecar@1.1.3/dist/es2015/config.js

Fetch https://unpkg.com/use-sidecar@1.1.3/dist/es2015/hook.js

Fetch https://unpkg.com/use-sidecar@1.1.3/dist/es2015/env.js

Fetch https://unpkg.com/use-callback-ref@1.3.3/dist/es2015/index.js

Fetch https://unpkg.com/react-remove-scroll-bar@2.3.8/dist/es2015/index.js

Fetch https://unpkg.com/react-style-singleton@2.2.3/dist/es2015/index.js

Fetch https://unpkg.com/use-callback-ref@1.3.3/dist/es2015/useRef.js

Fetch https://unpkg.com/use-callback-ref@1.3.3/dist/es2015/createRef.js

Fetch https://unpkg.com/use-callback-ref@1.3.3/dist/es2015/mergeRef.js

Fetch https://unpkg.com/use-callback-ref@1.3.3/dist/es2015/useMergeRef.js

Fetch https://unpkg.com/use-callback-ref@1.3.3/dist/es2015/assignRef.js

Fetch https://unpkg.com/use-callback-ref@1.3.3/dist/es2015/transformRef.js

Fetch https://unpkg.com/use-callback-ref@1.3.3/dist/es2015/refToCallback.js

Fetch https://unpkg.com/use-callback-ref@1.3.3/dist/es2015/useTransformRef.js

Fetch https://unpkg.com/react-remove-scroll@2.7.2/dist/es2015/aggresiveCapture.js

Fetch https://unpkg.com/react-remove-scroll@2.7.2/dist/es2015/handleScroll.js

Fetch https://unpkg.com/react-remove-scroll-bar@2.3.8/dist/es2015/component.js

Fetch https://unpkg.com/react-remove-scroll-bar@2.3.8/dist/es2015/constants.js

Fetch https://unpkg.com/react-style-singleton@2.2.3/dist/es2015/singleton.js

Fetch https://unpkg.com/react-remove-scroll-bar@2.3.8/dist/es2015/utils.js

Fetch https://unpkg.com/react-style-singleton@2.2.3/dist/es2015/hook.js

Fetch https://unpkg.com/react-style-singleton@2.2.3/dist/es2015/component.js

Fetch https://unpkg.com/detect-node-es@1.1.0/es5/browser.js

Fetch https://unpkg.com/@floating-ui/core@1.7.4/dist/floating-ui.core.mjs

Fetch https://unpkg.com/@floating-ui/utils@0.2.10/dist/floating-ui.utils.mjs

Fetch https://unpkg.com/@floating-ui/utils@0.2.10/dist/floating-ui.utils.dom.mjs

Fetch https://unpkg.com/get-nonce@1.0.1/dist/es2015/index.js

✘ [ERROR] Do not know how to load path: http-url:https://unpkg.com/react-remove-scroll-bar@2.3.8/constants

http-url:https://unpkg.com/react-remove-scroll@2.7.2/dist/es2015/UI:3:55:

  3 │ ...ame, zeroRightClassName } from 'react-remove-scroll-bar/constants';
    ╵                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

(if you are having trouble solving this issue, please create a new issue in the repo, https://github.com/okikio/bundle)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Bundlejs reproduction for radix-ui@1.4.3 and trace how the bundler resolves the react-remove-scroll-bar/constants import from an unpkg URL. Confirm the fix by rebuilding the same example without the “Do not know how to load path” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.