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

Getting Module not found error #2

Closed
pkonda2019 opened this issue Sep 7, 2022 · 3 comments
Closed

Getting Module not found error #2

pkonda2019 opened this issue Sep 7, 2022 · 3 comments

Comments

@pkonda2019
Copy link

Hey @IGassmann I am getting below error even after I installed the module.

Module not found: Can't resolve 'remark-directive-rehype'
  14 | });
  15 | // import remarkDirectiveRehype from "remark-directive-rehype";
> 16 | const remarkDirectiveRehype = dynamic(() => import("remark-directive-rehype"), {
     |                                                                               ^
  17 |   ssr: false,
  18 | });

Package.json

"remark-directive": "^2.0.1",
"remark-directive-rehype": "^0.4.0",

Can you please help me out here ?

@revelt
Copy link

revelt commented Sep 25, 2022

might be related to syntax-tree/unist-util-map#6

@IGassmann
Copy link
Owner

fuxingloh referenced this issue in fuxingloh/contented Sep 29, 2022
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[remark-directive-rehype](https://togithub.com/IGassmann/remark-directive-rehype)
| [`^0.4.0` ->
`^0.4.2`](https://renovatebot.com/diffs/npm/remark-directive-rehype/0.4.0/0.4.2)
|
[![age](https://badges.renovateapi.com/packages/npm/remark-directive-rehype/0.4.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/remark-directive-rehype/0.4.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/remark-directive-rehype/0.4.2/compatibility-slim/0.4.0)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/remark-directive-rehype/0.4.2/confidence-slim/0.4.0)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>IGassmann/remark-directive-rehype</summary>

###
[`v0.4.2`](https://togithub.com/IGassmann/remark-directive-rehype/releases/tag/v0.4.2)

[Compare
Source](https://togithub.com/IGassmann/remark-directive-rehype/compare/v0.4.1...v0.4.2)

#### What's Changed

-   refactor: import MapFunction type from root of package
-   build(deps): bump unist-util-map from 3.1.1 to 3.1.2
- build(deps-dev): bump typescript from 4.4.4 to 4.8.3 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/IGassmann/remark-directive-rehype/pull/6](https://togithub.com/IGassmann/remark-directive-rehype/pull/6)
- build(deps-dev): bump unified from 10.1.0 to 10.1.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/IGassmann/remark-directive-rehype/pull/5](https://togithub.com/IGassmann/remark-directive-rehype/pull/5)
- build(deps-dev): bump mdast-util-from-markdown from 1.0.4 to 1.2.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/IGassmann/remark-directive-rehype/pull/4](https://togithub.com/IGassmann/remark-directive-rehype/pull/4)
- build(deps-dev): bump mdast-util-directive from 2.1.1 to 2.2.1 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/IGassmann/remark-directive-rehype/pull/3](https://togithub.com/IGassmann/remark-directive-rehype/pull/3)

**Full Changelog**:
IGassmann/remark-directive-rehype@v0.4.1...v0.4.2

###
[`v0.4.1`](https://togithub.com/IGassmann/remark-directive-rehype/releases/tag/v0.4.1)

[Compare
Source](https://togithub.com/IGassmann/remark-directive-rehype/compare/v0.4.0...v0.4.1)

This patch release fixes
[https://github.com/IGassmann/remark-directive-rehype/issues/2](https://togithub.com/IGassmann/remark-directive-rehype/issues/2)
by updating the type imports for `MapFunction` and `Node`. See
[https://github.com/syntax-tree/unist-util-map/issues/6](https://togithub.com/syntax-tree/unist-util-map/issues/6)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click
this checkbox.

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/BirthdayResearch/contented).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMDQuNSIsInVwZGF0ZWRJblZlciI6IjMyLjIwOC4yIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@geyang
Copy link

geyang commented Nov 17, 2022

Having similar issue:

Module not found: Can't resolve 'remark-directive-rehype' in 

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

4 participants