Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ERROR in ./node_modules/css-loader/dist/cjs.js?{"modules":true,"camelCase":true,"sourceMap":true,"localIdentName":"[local]___[hash:base64:5]"}!./node_modules/sass-loader/lib/loader.js!./src/odyssey-ui/components/App/App.scss
Module build failed: TypeError: Path must be a string. Received undefined
at /home/dandelion/code/sourcecred/odyssey-hackathon/src/odyssey-ui/components/App/App.scss:1:1
at assertPath (path.js:28:11)
at Object.relative (path.js:1251:5)
at getLocalIdent (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/css-loader/dist/utils.js:73:33)
at generateScopedName (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/css-loader/dist/index.js:101:16)
at exportScopedName (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-modules-scope/src/index.js:93:26)
at localizeNode (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-modules-scope/src/index.js:122:20)
at Array.map (<anonymous>)
at Selector.map (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-selector-parser/dist/selectors/container.js:350:23)
at localizeNode (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-modules-scope/src/index.js:118:29)
at traverseNode (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-modules-scope/src/index.js:150:30)
at Selector.each (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-selector-parser/dist/selectors/container.js:210:16)
at traverseNode (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-modules-scope/src/index.js:162:16)
at Root.each (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-selector-parser/dist/selectors/container.js:210:16)
at traverseNode (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-modules-scope/src/index.js:162:16)
at css.walkRules.rule (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-modules-scope/src/index.js:193:23)
at /home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss/lib/container.js:239:18
@ ./src/odyssey-ui/components/App/App.scss 2:14-154
@ ./src/odyssey-ui/components/App/App.js
@ ./src/odyssey-ui/index.js
@ multi ./config/polyfills.js ./src/odyssey-ui/index.js
ERROR in ./node_modules/css-loader/dist/cjs.js?{"modules":true,"camelCase":true,"sourceMap":true,"localIdentName":"[local]___[hash:base64:5]"}!./node_modules/sass-loader/lib/loader.js!./src/odyssey-ui/components/Header/Header.scss
Module build failed: TypeError: Path must be a string. Received undefined
at /home/dandelion/code/sourcecred/odyssey-hackathon/src/odyssey-ui/components/Header/Header.scss:1:1
at assertPath (path.js:28:11)
at Object.relative (path.js:1251:5)
at getLocalIdent (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/css-loader/dist/utils.js:73:33)
at generateScopedName (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/css-loader/dist/index.js:101:16)
at exportScopedName (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-modules-scope/src/index.js:93:26)
at localizeNode (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-modules-scope/src/index.js:122:20)
at Array.map (<anonymous>)
at Selector.map (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-selector-parser/dist/selectors/container.js:350:23)
at localizeNode (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-modules-scope/src/index.js:118:29)
at traverseNode (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-modules-scope/src/index.js:150:30)
at Selector.each (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-selector-parser/dist/selectors/container.js:210:16)
at traverseNode (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-modules-scope/src/index.js:162:16)
at Root.each (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-selector-parser/dist/selectors/container.js:210:16)
at traverseNode (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-modules-scope/src/index.js:162:16)
at css.walkRules.rule (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-modules-scope/src/index.js:193:23)
at /home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss/lib/container.js:239:18
@ ./src/odyssey-ui/components/Header/Header.scss 2:14-157
@ ./src/odyssey-ui/components/Header/Header.js
@ ./src/odyssey-ui/components/App/App.js
@ ./src/odyssey-ui/index.js
@ multi ./config/polyfills.js ./src/odyssey-ui/index.js
ERROR in ./node_modules/css-loader/dist/cjs.js?{"modules":true,"camelCase":true,"sourceMap":true,"localIdentName":"[local]___[hash:base64:5]"}!./node_modules/sass-loader/lib/loader.js!./src/odyssey-ui/components/Sidebar/Sidebar.scss
Module build failed: TypeError: Path must be a string. Received undefined
at /home/dandelion/code/sourcecred/odyssey-hackathon/src/odyssey-ui/components/Sidebar/Sidebar.scss:1:1
at assertPath (path.js:28:11)
at Object.relative (path.js:1251:5)
at getLocalIdent (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/css-loader/dist/utils.js:73:33)
at generateScopedName (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/css-loader/dist/index.js:101:16)
at exportScopedName (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-modules-scope/src/index.js:93:26)
at localizeNode (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-modules-scope/src/index.js:122:20)
at Array.map (<anonymous>)
at Selector.map (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-selector-parser/dist/selectors/container.js:350:23)
at localizeNode (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-modules-scope/src/index.js:118:29)
at traverseNode (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-modules-scope/src/index.js:150:30)
at Selector.each (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-selector-parser/dist/selectors/container.js:210:16)
at traverseNode (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-modules-scope/src/index.js:162:16)
at Root.each (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-selector-parser/dist/selectors/container.js:210:16)
at traverseNode (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-modules-scope/src/index.js:162:16)
at css.walkRules.rule (/home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss-modules-scope/src/index.js:193:23)
at /home/dandelion/code/sourcecred/odyssey-hackathon/node_modules/postcss/lib/container.js:239:18
@ ./src/odyssey-ui/components/Sidebar/Sidebar.scss 2:14-158
@ ./src/odyssey-ui/components/Sidebar/Sidebar.js
@ ./src/odyssey-ui/components/App/App.js
@ ./src/odyssey-ui/index.js
@ multi ./config/polyfills.js ./src/odyssey-ui/index.js
webpack: Failed to compile.

Instructions to Reproduce

$ git clone git@github.com:sourcecred/odyssey-hackathon.git
$ git checkout integrate-external-work
$ yarn
$ yarn start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.