GithubHelp home page GithubHelp logo

Comments (5)

phil-scott-78 avatar phil-scott-78 commented on September 1, 2024 1

Well that was easy enough once I had a reproduction. Looks like a dist was missing in package.json. Create a PR (#12)

from error-message.

bluebill1049 avatar bluebill1049 commented on September 1, 2024 1

patched thanks @phil-scott-78 very much.

from error-message.

bluebill1049 avatar bluebill1049 commented on September 1, 2024

that shouldn't be the case, can you reproduce this in codesandbox?

from error-message.

alexypdu avatar alexypdu commented on September 1, 2024

While the statement import { ErrorMessage } from '@hookform/error-message'; functions normally in my case, however, the ESLint error import/no-unresolved: Unable to resolve path to module '@hookform/error-message' arises unexpectedly, and unintentionally changing the statement into import { ErrorMessage } from '@hookform/error-message/dist'; just suppress the error.

from error-message.

phil-scott-78 avatar phil-scott-78 commented on September 1, 2024

I ran into this myself. I don't have a codesandbox but I did create a barebones CRA reproduction this morning. https://github.com/phil-scott-78/error-message-repo.

I've only done some brief troubleshooting, but looking at the files eslint is trying to resolve it looks like it isn't looking in the dist folder for index.js and is failing trying to resolve. This is on Windows fwiw

from error-message.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.