-
-
Notifications
You must be signed in to change notification settings - Fork 32
Closed as not planned
Closed as not planned
Copy link
Labels
👎 phase/noPost cannot or will not be acted onPost cannot or will not be acted on🤷 no/invalidThis cannot be acted uponThis cannot be acted upon
Description
Initial checklist
- I read the support docs
- I read the contributing guide
- I agree to follow the code of conduct
- I searched issues and couldn’t find anything (or linked relevant results below)
Affected packages and versions
"retext": "^9.0.0", "retext-keywords": "^8.0.1", "retext-pos": "^5.0.0", "nlcst-to-string": "^4.0.0", "to-vfile": "^8.0.0",
Link to runnable example
No response
Steps to reproduce
- Start a new Next.js (V13) project in a clean directory
- pnpm install retext
- pnpm install retext-keywords
- pnpm install nlcst-to-string
- pnpm install retext-pos
- pnpm install to-vfile
- create a file called index.tsx
- copy the contents of the example given in the readme
- create the example.txt file in the same directory
- run app
Expected behavior
We should be able to see keywords and phrases, but instead, we encounter the following error:
./node_modules/.pnpm/unist-util-visit-parents@6.0.1/node_modules/unist-util-visit-parents/lib/index.js
Attempted import error: 'color' is not exported from 'unist-util-visit-parents/do-not-use-color' (imported as 'color').
Affected runtime and version
node@18.16.0
Affected package manager and version
pnpm@8.11.0
Affected OS and version
MacOS Sonoma 14.1.2
Build and bundle tools
Next.js
Metadata
Metadata
Assignees
Labels
👎 phase/noPost cannot or will not be acted onPost cannot or will not be acted on🤷 no/invalidThis cannot be acted uponThis cannot be acted upon