epmd
epmd copied to clipboard
Build failed - preact-material-components & encoding
This bundle was exactly the combination I was looking for!
Unfortunately I get some build errors:
08:17:38 react.1 | > [email protected] start /home/thoni/Utveckling/epmd
08:17:38 react.1 | > if-env NODE_ENV=production && npm run -s serve || npm run -s pdev
08:17:40 electron.1 | starting electron
[DONE] Killing all processes with signal SIGINT
08:17:41 electron.1 Exited Successfully
08:17:42 react.1 | Build failed!
08:17:42 react.1 | ✖ ERROR ./src/components/header/index.js
08:17:42 react.1 | Module not found: Error: Can't resolve 'preact-material-components/Toolbar/style.css' in '/home/thoni/Utveckling/epmd/src/components/header'
08:17:42 react.1 | @ ./src/components/header/index.js 20:0-54
08:17:42 react.1 | @ ./src/components/app.js
08:17:42 react.1 | @ ./src/index.js
08:17:42 react.1 | @ ./node_modules/preact-cli/lib/lib/entry.js
08:17:42 react.1 | @ multi ./node_modules/preact-cli/lib/lib/entry webpack-dev-server/client webpack/hot/dev-server
08:17:42 react.1 | ⚠ WARN ./node_modules/node-fetch/lib/index.mjs
08:17:42 react.1 | Module not found: Error: Can't resolve 'encoding' in '/home/thoni/Utveckling/epmd/node_modules/node-fetch/lib'
08:17:42 react.1 | @ ./node_modules/node-fetch/lib/index.mjs 134:11-30
08:17:42 react.1 | @ ./node_modules/isomorphic-unfetch/index.js
08:17:42 react.1 | @ ./node_modules/preact-cli/lib/lib/webpack/polyfills.js
My package.json contains dependencies to preact-material-components
and encoding
. I'm just starting out on my electron/preact journey, so I need some handholding here.