Skip to content
New issue

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

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

Already on GitHub? # to your account

Can't resolve absolute import in submodule aha-react #20

Open
caseykhuc opened this issue Jan 17, 2022 · 0 comments
Open

Can't resolve absolute import in submodule aha-react #20

caseykhuc opened this issue Jan 17, 2022 · 0 comments

Comments

@caseykhuc
Copy link

Steps To Reproduce

  1. Clone https://github.com/khuctrang/aha/tree/docs-2.0.3
  2. Run by instruction provided in README.md
  3. In start 5. yarn start, the error should appear:

image

If you're trying to use a package make sure that 'utils/createChainedFunction' is installed. If you're trying to use a local file make sure that the path is correct.
error undefined failed

Can't resolve 'utils/triggerBrowserReflow' in '/Users/casey/got-it/aha-libs/aha/aha-react/src/components/Collapse'

If you're trying to use a package make sure that 'utils/triggerBrowserReflow' is installed. If you're trying to use a local file make sure that the path is correct.
error undefined failed

Can't resolve 'utils/triggerBrowserReflow' in '/Users/casey/got-it/aha-libs/aha/aha-react/src/components/Fade'

If you're trying to use a package make sure that 'utils/triggerBrowserReflow' is installed. If you're trying to use a local file make sure that the path is correct.
not finished Building development bundle - 18.325s
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Additional information

The aha-react package started using absolute import since version 2.0.3, reference, and looks like aha documentation has not supported it yet.

The current behavior

  • The document cannot start successfully with aha-react@2.0.3

The expected behavior

  • The document should start successfully with aha-react@2.0.3
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant