You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build the latest version of the code (pypi package works fine) and getting the following error:
$ npm run build
> [email protected] build /Volumes/data/projects/pastalog
> webpack
[BABEL] Note: The code generator has deoptimised the styling of "/Volumes/data/projects/pastalog/node_modules/immutable/dist/immutable.js" as it exceeds the max of "100KB".
Hash: a50dc1dbe900ea6bcb4d244164e0fcd2efaf88086482cdaa7e742230415b
Version: webpack 2.1.0-beta.13
Child
Hash: a50dc1dbe900ea6bcb4d
Version: webpack 2.1.0-beta.13
Time: 17305ms
Asset Size Chunks Chunk Names
./build/assets/app.js 1.23 MB 0 [emitted] main
+ 373 hidden modules
ERROR in ./~/css-loader!./~/sass-loader!./src/styles.scss
Module build failed:
@extend .h3;
^
".gridMark" failed to @extend ".h3".
The selector ".h3" was not found.
Use "@extend .h3 !optional" if the extend should be able to fail.
in /Volumes/data/projects/pastalog/src/styles.scss (line 131, column 5)
@ ./src/styles.scss 4:14-117
Child
Hash: 244164e0fcd2efaf8808
Version: webpack 2.1.0-beta.13
Time: 17296ms
Asset Size Chunks Chunk Names
./build/server.js 864 kB 0 [emitted] main
+ 313 hidden modules
Child
Hash: 6482cdaa7e742230415b
Version: webpack 2.1.0-beta.13
Time: 17357ms
Asset Size Chunks Chunk Names
./test/build/index.js 135 kB 0 [emitted] main
+ 121 hidden modules
npm ERR! Darwin 15.2.0
npm ERR! argv "/usr/local/Cellar/node/6.2.0/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! node v6.2.0
npm ERR! npm v3.8.9
npm ERR! code ELIFECYCLE
npm ERR! [email protected] build: `webpack`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] build script 'webpack'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the pastalog package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! webpack
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs pastalog
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls pastalog
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Volumes/data/projects/pastalog/npm-debug.log
After some time investigating, I discovered that this line causes the problem, the build runs fine if I delete it. What does this line do? What is the proper fix for this problem?
The text was updated successfully, but these errors were encountered:
I'm trying to build the latest version of the code (pypi package works fine) and getting the following error:
After some time investigating, I discovered that this line causes the problem, the build runs fine if I delete it. What does this line do? What is the proper fix for this problem?
The text was updated successfully, but these errors were encountered: