-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
rehype-stringify 10.0.0 does not work according to documentation #156
Comments
The "Other" runtime I'm using is Node 18. That wasn't one of the available options. |
@ianwremmel the response is the same as the other issue you linked, updated your dependencies. |
This comment has been minimized.
This comment has been minimized.
Hi! Thanks for reaching out! Because we treat issues as our backlog, we close issues that are questions since they don’t represent a task to be completed. See our support docs for how and where to ask questions. Thanks, |
Hi team! It seems this post is a duplicate, but hasn’t been marked as such. Please post a comment w/ Thanks, |
@ChristianMurphy I don't think that's it. I don't have any relevant out-of-date dependencies.
{
"name": "ianwremmel.com",
"description": "Personal website of Ian W. Remmel",
"version": "2.0.0",
"author": "Ian Remmel <[email protected]>",
"keywords": [],
"license": "MIT",
"scripts": {
"prebuild": "npm-run-all --parallel build:styles build:graphql",
"build": "remix build",
"build:graphql": "graphql-codegen --config codegen.yml --require dotenv/config",
"build:styles": "sass --load-path . app/styles/index.scss app/root.css",
"postbuild:graphql": "npm run eslint -- --fix ./__generated__",
"build-storybook": "storybook build",
"chromatic": "chromatic --exit-zero-on-changes",
"dev": "npm-run-all --continue-on-error --parallel dev:*",
"dev:css": "npm run build:styles -- --watch",
"dev:remix": "remix dev",
"eslint": "eslint ${ESLINT_FORMAT_OPTIONS:-} --ignore-path .gitignore ",
"lint": "npm-run-all --continue-on-error --parallel lint:*",
"lint:changelog": "commitlint --from origin/main --to HEAD",
"prelint:es": "mkdirp reports/style",
"lint:es": "npm run --silent eslint -- .",
"prelint:types": "mkdirp reports/style",
"lint:types": "bash -c \"tsc $TSC_OPTIONS\"",
"prepare": "husky install",
"storybook": "storybook dev -p 6006",
"test": "./scripts/storybook-test-runner"
},
"type": "module",
"devDependencies": {
"@commitlint/cli": "^18.0.0",
"@commitlint/config-conventional": "^18.0.0",
"@graphql-codegen/cli": "^5.0.0",
"@graphql-codegen/introspection": "^4.0.0",
"@graphql-codegen/schema-ast": "^4.0.0",
"@graphql-codegen/typescript": "^4.0.1",
"@graphql-codegen/typescript-operations": "^4.0.1",
"@graphql-codegen/typescript-urql": "^4.0.0",
"@graphql-eslint/eslint-plugin": "^3.20.1",
"@ianwremmel/eslint-plugin-ianwremmel": "^6.2.2",
"@remix-run/dev": "^2.1.0",
"@remix-run/eslint-config": "^2.1.0",
"@storybook/addon-a11y": "^7.5.1",
"@storybook/addon-essentials": "^7.5.1",
"@storybook/react": "^7.5.1",
"@storybook/react-vite": "^7.5.1",
"@storybook/test-runner": "^0.13.0",
"@storybook/testing-library": "^0.2.2",
"@types/node": "^18.18.5",
"@types/react": "^18.2.31",
"@types/react-dom": "^18.2.14",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"axe-playwright": "^1.2.3",
"chromatic": "^7.4.0",
"dotenv": "^16.3.1",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-markdown": "^3.0.1",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "^0.6.15",
"husky": "^8.0.3",
"lint-staged": "^15.0.2",
"markdown-toc": "^1.2.0",
"mkdirp": "^3.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.3",
"sass": "^1.69.4",
"storybook": "^7.5.1",
"typescript": "^5.2.2"
},
"private": true,
"lint-staged": {
"*.js": "npm run eslint -- ",
"*.ts": "npm run eslint -- ",
"*.tsx": "npm run eslint -- "
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e",
"pre-commit": "lint-staged"
}
},
"engines": {
"node": "^18",
"npm": ">=9"
},
"sideEffects": false,
"overrides": {
"react-element-to-jsx-string": "^15"
},
"dependencies": {
"@remix-run/node": "^2.1.0",
"@remix-run/react": "^2.1.0",
"@remix-run/serve": "^2.1.0",
"@urql/core": "^4.1.4",
"bootstrap": "^5.1.3",
"classnames": "^2.3.2",
"graphql": "^16.8.1",
"isbot": "^3.7.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rehype-stringify": "^10.0.0",
"remark-gfm": "^4.0.0"
}
} |
@ianwremmel again see the sandbox showing it working.
|
ah, i see. usually my linters tell me when deps are missing. I'll have to look into why it let me import |
Error messages should communicate what is wrong, and ideally be clear and searchable. There are a lot of possible different reasons an error could occur.
The error message should not be a full copy paste of the unified, remark, and npm docs to try to cover all these. I'd lean towards keeping the message as is. |
Initial checklist
Affected packages and versions
rehype-stringify
Link to runnable example
No response
Steps to reproduce
Follow the example from the docs, making sure you've installed
[email protected]
.Note that you get typescript failures.
Try to run the code. You'll get an error like
This issue was initially reported in #149. It's not clear to me how they updated to the latest version to fix it since the initial bug report was about the latest version.
Expected behavior
Markdown should compile
Actual behavior
Runtime
Other (please specify in steps to reproduce)
Package manager
npm 8
OS
macOS
Build and bundle tools
Remix
The text was updated successfully, but these errors were encountered: