Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building error with latest version from github #14

Open
dmitriy-serdyuk opened this issue Jun 12, 2016 · 2 comments
Open

Building error with latest version from github #14

dmitriy-serdyuk opened this issue Jun 12, 2016 · 2 comments

Comments

@dmitriy-serdyuk
Copy link

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?

@bnsh
Copy link

bnsh commented Jul 18, 2016

I'm having this same problem. Is there any resolution? (Aside from deleting that line?)

@tastyminerals
Copy link

Same problem here :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants