danielstern / isomorphic-react

A simple but powerful React application built on a standards-compliant back-end
https://isomorphic-react-x.herokuapp.com/
380 stars 259 forks source link

Cannot find module 'uglifyjs-webpack-plugin' #63

Open PhilMcToon opened 3 years ago

PhilMcToon commented 3 years ago

I've cloned this repo and followed the README.md: npm install nmp run postinstall npm run start-dev

During install there are a few warnings about deprecating dependencies breaking on node v14+ Then when I try and run it I get the - Cannot find module 'uglifyjs-webpack-plugin' error.

dilworth commented 3 years ago

Same issues happened for me.

Parsium commented 3 years ago

Similar deprecation warnings and same thrown error happened with me too. This appears to be thrown from isomorphic-react/webpack.config.dev.babel.js since references to the old uglify-js-webpack-plugin have not yet been removed.

danielstern commented 3 years ago

A PR would be great!


From: James Parslow @.> Sent: October 18, 2021 5:31 AM To: danielstern/isomorphic-react @.> Cc: Subscribed @.***> Subject: Re: [danielstern/isomorphic-react] Cannot find module 'uglifyjs-webpack-plugin' (#63)

Similar deprecation warnings and same thrown error happened with me too.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdanielstern%2Fisomorphic-react%2Fissues%2F63%23issuecomment-945583305&data=04%7C01%7C%7Cd40e168a7f774b65637c08d9921a3ce8%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637701463658538480%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Ks%2F6QHkY4YBq9DSEf3LLko5382v5nm%2Bwidhr82QPss0%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABASA6DH4FEFRBRFLUZBCADUHPSPJANCNFSM46WYGDGQ&data=04%7C01%7C%7Cd40e168a7f774b65637c08d9921a3ce8%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637701463658538480%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=riYOUN1TGC%2BTfYg7szGZL5FlDcNsW%2FUoXbuOcJaMyXw%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7C%7Cd40e168a7f774b65637c08d9921a3ce8%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637701463658548436%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=2LBmp0gfNsSqLu%2FEpzZRPFxvdP7Lcus0jntGyQduZaY%3D&reserved=0 or Androidhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7C%7Cd40e168a7f774b65637c08d9921a3ce8%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637701463658548436%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=6EhxiLcHRR%2BofdqQ6o5JDM%2ByjjVFD1hYEzZHBCTn1c4%3D&reserved=0.

rroden commented 2 years ago

Has anyone been able to fix this on their own? I'm struggling with how to resolve the issue and would love to continue working on this project

fatyzhang commented 2 years ago

same issue occured for me .

elysiaroscoe commented 2 years ago

@danielstern This accompanies a course for jest beginners, perhaps you could update this for us? I'm not sure any of us are capable of doing a PR for you since we are learning and can't figure it out ourselves

shaneiadt commented 2 years ago

I ran npm audit fix --force and then npm start which runs the prod script & it seems to be working now.

TheEletricboy commented 6 months ago

I ran npm audit fix --force and then npm start which runs the prod script & it seems to be working now.

This did not work for me. After running npm start I get this: image

Pretty useless repo honestly, no real way to run it at all, based on a paid Online Course so anyone that bought/was given the course is now either stuck or accepting their fate and just watching a Jest video without doing it themselves.