cryptoeconomics-study / visualizations

🕹Interactive Network Visualizations for Cryptoeconomics.study
MIT License
7 stars 4 forks source link

Fix node-gyp compiling failure caused by webpack #50

Open jim380 opened 5 years ago

jim380 commented 5 years ago

Description: Incorrect version of webpack installed causes node-gyp to fail during a rebuild. React requires v4.28.3 Reproduce: git clone then npm i Fix: add webpack@4.28.3 in package.json

K-Ho commented 5 years ago

Weird.. I only get an error once webpack is added to dependencies -

Screen Shot 2019-03-25 at 3 30 02 PM

I'll take a deeper look tomorrow. Thanks for pointing out though

jim380 commented 5 years ago

You might be right there. I too had dependency issues after adding it in package.json. The trick is to leave package.json as is, and install webpack@4.28.3 manually through NPM or Yarn.


From: Kevin Ho notifications@github.com Sent: Monday, March 25, 2019 15:31 To: cryptoeconomics-study/visualizations Cc: Jay | Cypher Core; Author Subject: Re: [cryptoeconomics-study/visualizations] Fix node-gyp compiling failure caused by webpack (#50)

Weird.. I only get an error once webpack is added to dependencies - [Screen Shot 2019-03-25 at 3 30 02 PM]https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F5341583%2F54958447-f03c4c80-4f12-11e9-9f8d-910edfbe7979.png&data=02%7C01%7C%7Cb03e5367291a4f6b77c808d6b1719aec%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636891498813287737&sdata=LxOv9Ar6DO4Uawzj6Jh%2B6m%2F0fpmHMjHr%2B46BKQWHaPY%3D&reserved=0

I'll take a deeper look tomorrow. Thanks for pointing out though

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcryptoeconomics-study%2Fvisualizations%2Fpull%2F50%23issuecomment-476402743&data=02%7C01%7C%7Cb03e5367291a4f6b77c808d6b1719aec%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636891498813297749&sdata=Ss8nLQN6nq9y4BK92E0G2WsHCB2clahhBRG04A0baO8%3D&reserved=0, or mute the threadhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAeJTXXPkIdYlMj6VUIdx6umuvJ8f7_4Yks5vaU40gaJpZM4cFxvO&data=02%7C01%7C%7Cb03e5367291a4f6b77c808d6b1719aec%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636891498813307754&sdata=jn%2BeaZZwdp5cktjSHbYvLJLU4Qtytjmfre5fskp4ogc%3D&reserved=0.