Semantic-ui-react: Cannot find module: 'lodash/fp/memoize'

Created on 8 Jul 2020  路  6Comments  路  Source: Semantic-Org/Semantic-UI-React

Bug Report

Hi, thanks for this amazing project
I have a CRA app where I use "semantic-ui-react": "0.88.1" I have all my packages version fixed and no package-lock.json
Everything was working fine for almost a year, now suddenly the Devops pipeline is broken doing npm run build

$ npm run build

Creating an optimized production build...
Failed to compile.

.\node_modules\semantic-ui-react\dist\es\lib\customPropTypes.js
Cannot find module: 'lodash/fp/memoize'. Make sure this package is installed.

You can install this package by running: npm install lodash/fp/memoize.

this is suspicious
MicrosoftTeams-image (15)

maybe you should fix versions too
MicrosoftTeams-image (12)

Expected Result

A working project shouldn't break between two npm run build without changing something

Actual Result

The npm run build doesn't finish successfully

Version

0.88.1

triage

Most helpful comment

All 6 comments

馃憢 Thanks for opening your first issue here! If you're reporting a 馃悶 bug, please make sure you've completed all the fields in the issue template so we can best help.

We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

Same error here...

its lodash, they fixed it on v4.17.17. Its working now

@adifaidz I dont see any change in lodash repo or npm page, did you tested it?

I can confirm it is working now (although I dont see any changes in repo nor npm page, maybe cache? )
see the new version here: https://www.npmjs.com/package/lodash/v/4.17.17

closing the issue

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KevinGorjan picture KevinGorjan  路  3Comments

mattmacpherson picture mattmacpherson  路  3Comments

AlvMF1 picture AlvMF1  路  3Comments

laukaichung picture laukaichung  路  3Comments

GautierT picture GautierT  路  3Comments