Issues with npm package

Build fails due to missing package lodash on Python 3 Web Service

Build Id (maybe??)

dep-ccscf55a499c6dn7kq10

Error

Module not found: Error: Can't resolve 'lodash/isequal' in '/opt/render/project/src/frontend/src/pro/builder/components/forms/formComponents'

Build file

#!/usr/bin/env bash
# exit on error
set -o errexit

npm install
npm install lodash
poetry install

npm run build-prod
npm run build-cssBundles

python manage.py collectstatic --no-input
python manage.py migrate

package.json dependencies

"dependencies": {
  "@babel/polyfill": "^7.12.1",
  "@material-ui/core": "^4.12.3",
  "@material-ui/icons": "^4.11.2",
  "@material-ui/lab": "^4.0.0-alpha.60",
  "@material-ui/styles": "^4.11.4",
  "@mdi/font": "^4.9.95",
  "@mdi/js": "^4.9.95",
  "@mdi/react": "^1.5.0",
  "alpinejs": "^1.12.0",
  "astroturf": "^0.9.21",
  "axios": "^0.21.4",
  "bootstrap": "^4.6.1",
  "clean-webpack-plugin": "^2.0.2",
  "core-js": "^3.19.1",
  "css-loader": "^3.6.0",
  "exif-js": "^2.3.0",
  "flatpickr": "^4.6.9",
  "jquery": "^3.6.0",
  "jsignature": "^2.1.3",
  "lodash": "^4.17.21",
  "mini-css-extract-plugin": "^0.8.2",
  "mjml": "^4.11.0",
  "moment": "^2.29.1",
  "moment-timezone": "^0.5.34",
  "node-sass": "^5.0.0",
  "popper.js": "^1.16.1",
  "postcss-import": "^12.0.1",
  "postcss-nested": "^4.2.3",
  "postcss-scss": "^2.1.1",
  "react-beautiful-dnd": "^11.0.5",
  "react-redux": "^7.2.6",
  "react-swipeable-views": "^0.13.9",
  "redux": "^4.1.2",
  "sass-loader": "^10.2.0",
  "simplebar": "^5.3.6",
  "sortablejs": "^1.14.0",
  "tailwindcss": "^1.9.6",
  "validate-js": "^2.0.1",
  "validate.js": "^0.13.1",
  "vanilla-picker": "^2.12.1",
  "webpack-cli": "^3.3.12",
  "whatwg-fetch": "^3.6.2"
}

Myabe you need this package: lodash.isequal - npm ?

“lodash.isequal” solved it. Thanks for the tip @julian!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.