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

Module not found: Can't resolve 'devlop' #72

Closed
4 tasks done
shorif2000 opened this issue Oct 2, 2023 · 2 comments
Closed
4 tasks done

Module not found: Can't resolve 'devlop' #72

shorif2000 opened this issue Oct 2, 2023 · 2 comments
Labels
🙋 no/question This does not need any changes 👎 phase/no Post cannot or will not be acted on

Comments

@shorif2000
Copy link

Initial checklist

Affected packages and versions

1.4.0

Link to runnable example

No response

Steps to reproduce

I am using node 12 with following packages in react


"dependencies": {
    "@babel/core": "7.9.0",
    "@babel/plugin-proposal-class-properties": "^7.18.6",
    "@coreui/coreui": "^3.2.2",
    "@coreui/icons-react": "^1.0.2",
    "@coreui/react": "^3.2.3",
    "@inovua/reactdatagrid-community": "^5.10.1",
    "@svgr/webpack": "4.3.3",
    "@typescript-eslint/eslint-plugin": "^2.10.0",
    "@typescript-eslint/parser": "^2.10.0",
    "babel-eslint": "10.1.0",
    "babel-jest": "^24.9.0",
    "babel-loader": "8.1.0",
    "babel-plugin-named-asset-import": "^0.3.6",
    "babel-preset-react-app": "^9.1.2",
    "bootstrap": "^4.6.2",
    "camelcase": "^5.3.1",
    "case-sensitive-paths-webpack-plugin": "2.3.0",
    "chart.js": "^4.4.0",
    "css-loader": "3.4.2",
    "csv-writer": "^1.6.0",
    "dotenv": "8.2.0",
    "dotenv-expand": "5.1.0",
    "es6-promise": "^4.2.8",
    "eslint": "^6.6.0",
    "eslint-config-react-app": "^5.2.1",
    "eslint-loader": "3.0.3",
    "eslint-plugin-flowtype": "4.6.0",
    "eslint-plugin-import": "2.20.1",
    "eslint-plugin-jsx-a11y": "6.2.3",
    "eslint-plugin-react": "7.19.0",
    "eslint-plugin-react-hooks": "^1.6.1",
    "file-loader": "4.3.0",
    "formik": "^2.1.5",
    "fs-extra": "^8.1.0",
    "html-webpack-plugin": "4.0.0-beta.11",
    "identity-obj-proxy": "3.0.0",
    "ip-address": "^8.1.0",
    "jest": "24.9.0",
    "jest-environment-jsdom-fourteen": "1.0.1",
    "jest-resolve": "24.9.0",
    "jest-watch-typeahead": "0.4.2",
    "lodash": "^4.17.20",
    "mdast-util-to-markdown": "^1.4.0",
    "mini-css-extract-plugin": "0.9.0",
    "moment": "^2.29.1",
    "node-sass": "^4.14.1",
    "object-assign": "^4.1.1",
    "optimize-css-assets-webpack-plugin": "5.0.3",
    "pnp-webpack-plugin": "1.6.4",
    "postcss-flexbugs-fixes": "4.1.0",
    "postcss-loader": "3.0.0",
    "postcss-normalize": "8.0.1",
    "postcss-preset-env": "6.7.0",
    "postcss-safe-parser": "4.0.1",
    "react": "^16.13.1",
    "react-app-polyfill": "^1.0.6",
    "react-bootstrap": "^1.6.7",
    "react-chartjs-2": "^5.2.0",
    "react-dev-utils": "^10.2.1",
    "react-dom": "^16.13.1",
    "react-markdown": "^9.0.0",
    "react-new-window": "^1.0.1",
    "react-redux": "^7.2.1",
    "react-router-dom": "^5.2.0",
    "reactstrap": "^8.5.1",
    "redux": "^4.0.5",
    "resolve": "1.15.0",
    "resolve-url-loader": "3.1.1",
    "sass": "^1.64.0",
    "sass-loader": "8.0.2",
    "semver": "6.3.0",
    "style-loader": "0.23.1",
    "styled-components": "^5.1.0",
    "terser-webpack-plugin": "2.3.8",
    "ts-pnp": "1.1.6",
    "url-loader": "2.3.0",
    "webpack": "4.42.0",
    "webpack-dev-server": "3.11.0",
    "webpack-manifest-plugin": "2.2.0",
    "workbox-webpack-plugin": "4.3.1",
    "yup": "^0.29.3"
  },

"devDependencies": {
    "@faker-js/faker": "^8.1.0",
    "@testing-library/jest-dom": "^5.15.0",
    "@testing-library/react": "^12.1.2",
    "@testing-library/user-event": "^13.1.9",
    "cross-env": "^7.0.3",
    "jest-junit": "^16.0.0",
    "devlop": "^1.1.0"
  },

The latest version of this requires node 16 which I am not using. I ma trying to use react-markdown which seems to require this package

Expected behavior

it should compile fine

Actual behavior

./node_modules/mdast-util-to-hast/lib/index.js
Module not found: Can't resolve 'devlop' in '/home/user/my-app/node_modules/mdast-util-to-hast/lib'

Affected runtime and version

node 12

Affected package manager and version

6.14.16

Affected OS and version

Red Hat Enterprise Linux Server release 7.9 (Maipo)

Build and bundle tools

No response

@github-actions github-actions bot added 👋 phase/new Post is being triaged automatically 🤞 phase/open Post is being triaged manually and removed 👋 phase/new Post is being triaged automatically labels Oct 2, 2023
@ChristianMurphy
Copy link
Member

ChristianMurphy commented Oct 2, 2023

Welcome @shorif2000! 👋
Sorry you ran into a spot of trouble.

react-markdown version 9 and it's dependencies require a minimum of node 16, node 12 is not supported.
I'd highly recommend upgrading your node version to 16 or higher, earlier node version are no longer supported nor receiving security updates.
If you do choose to stick with node 12, hold on react-markdown version 8 until you can upgrade both.

@ChristianMurphy ChristianMurphy closed this as not planned Won't fix, can't repro, duplicate, stale Oct 2, 2023
@ChristianMurphy ChristianMurphy added the 🙋 no/question This does not need any changes label Oct 2, 2023
@github-actions

This comment has been minimized.

@github-actions github-actions bot added 👎 phase/no Post cannot or will not be acted on and removed 🤞 phase/open Post is being triaged manually labels Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🙋 no/question This does not need any changes 👎 phase/no Post cannot or will not be acted on
Development

No branches or pull requests

2 participants