Open alexiskattan opened 5 years ago
Preface, I'm super new to react/redux so this might be very easy. When I run npm run dev I get 50+ of these types of errors. Any ideas?
npm run dev
ERROR in ./app/javascripts/components/application/layout/header/index.jsx Module not found: Error: Can't resolve './app/images/logos/etherplate-logo--white--lg.png' in 'C:\Users\github\etherplate\app\javascripts\components\application\layout\header' @ ./app/javascripts/components/application/layout/header/index.jsx 16:52-112 @ ./app/javascripts/components/application/index.jsx @ ./app/javascripts/init.jsx @ ./app/javascripts/app.js @ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.js ERROR in ./app/javascripts/components/application/token-list/token-list-item.jsx Module not found: Error: Can't resolve './app/images/placeholder.png' in 'C:\Users\github\etherplate\app\javascripts\components\application\token-list' @ ./app/javascripts/components/application/token-list/token-list-item.jsx 22:42-81 @ ./app/javascripts/components/application/token-list/index.jsx @ ./app/javascripts/components/application/all-tokens.jsx @ ./app/javascripts/components/application/index.jsx @ ./app/javascripts/init.jsx @ ./app/javascripts/app.js @ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.js ERROR in ./app/javascripts/components/application/token/index.jsx Module not found: Error: Can't resolve './app/javascripts/components/EtherscanButton' in 'C:\Users\github\etherplate\app\javascripts\components\application\token' @ ./app/javascripts/components/application/token/index.jsx 22:46-101 @ ./app/javascripts/components/application/index.jsx @ ./app/javascripts/init.jsx @ ./app/javascripts/app.js @ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.js
ERROR in ./app/javascripts/components/application/layout/header/index.jsx Module not found: Error: Can't resolve './app/images/logos/etherplate-logo--white--lg.png' in 'C:\Users\github\etherplate\app\javascripts\components\application\layout\header' @ ./app/javascripts/components/application/layout/header/index.jsx 16:52-112 @ ./app/javascripts/components/application/index.jsx @ ./app/javascripts/init.jsx @ ./app/javascripts/app.js @ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.js
ERROR in ./app/javascripts/components/application/token-list/token-list-item.jsx Module not found: Error: Can't resolve './app/images/placeholder.png' in 'C:\Users\github\etherplate\app\javascripts\components\application\token-list' @ ./app/javascripts/components/application/token-list/token-list-item.jsx 22:42-81 @ ./app/javascripts/components/application/token-list/index.jsx @ ./app/javascripts/components/application/all-tokens.jsx @ ./app/javascripts/components/application/index.jsx @ ./app/javascripts/init.jsx @ ./app/javascripts/app.js @ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.js
ERROR in ./app/javascripts/components/application/token/index.jsx Module not found: Error: Can't resolve './app/javascripts/components/EtherscanButton' in 'C:\Users\github\etherplate\app\javascripts\components\application\token' @ ./app/javascripts/components/application/token/index.jsx 22:46-101 @ ./app/javascripts/components/application/index.jsx @ ./app/javascripts/init.jsx @ ./app/javascripts/app.js @ multi (webpack)-dev-server/client?http://localhost:8080 @babel/polyfill ./app/javascripts/app.js
I believe this is an issue that exists on Windows only. Webpack's config isn't set up to work with Windows' unique (read: annoying) path behaviour.
Preface, I'm super new to react/redux so this might be very easy. When I run
npm run dev
I get 50+ of these types of errors. Any ideas?