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

Fix request: "module" entrypoint does not exist #55

Open
damianobarbati opened this issue Aug 12, 2021 · 2 comments
Open

Fix request: "module" entrypoint does not exist #55

damianobarbati opened this issue Aug 12, 2021 · 2 comments

Comments

@damianobarbati
Copy link

Building with [email protected], it complains about dist/use-interval-ts.esm.js and it's actually right, the file does not exists.

🚨 Build failed.

@parcel/core: Failed to resolve '@use-it/interval' from './app/components/Match.js'

  /Users/damiano/Desktop/tt/app/components/Match.js:7:25
    6 | import useAxios from 'axios-hooks';
  > 7 | import useInterval from '@use-it/interval';
  >   |                         ^^^^^^^^^^^^^^^^^^
    8 | import AudioToggle from '../AudioToggle.js';
    9 | import Board from './Board.js';

@parcel/resolver-default: Could not load './dist/use-interval-ts.esm.js' from module '@use-it/interval' found in package.json#module

  /Users/damiano/Desktop/tt/node_modules/@use-it/interval/package.json:57:13
    56 |   ],
  > 57 |   "module": "dist/use-interval-ts.esm.js",
  >    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ './dist/use-interval-ts.esm.js' does not exist, did you mean './dist/interval.esm.js'?'
    58 |   "size-limit": [
    59 |     {
@meandmax
Copy link

Any news here, we ran in the same issue?

@wbinnssmith
Copy link

This is addressed in #34, but @donavon hasn't yet chimed in or merged it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants