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

Build error #109

Open
randy-johnson opened this issue Feb 13, 2019 · 7 comments
Open

Build error #109

randy-johnson opened this issue Feb 13, 2019 · 7 comments

Comments

@randy-johnson
Copy link

I get the following error when I run npm run start

Any idea what the issue is?

C:\Users\randy\db1\design-blocks>npm run start

> [email protected] start C:\Users\randy\db1\design-blocks
> gulp

[14:44:18] Using gulpfile ~\db1\design-blocks\gulpfile.js
[14:44:18] Starting 'clean-.tmp'...
[14:44:18] Finished 'clean-.tmp' after 1.98 ms
[14:44:18] Starting 'html-.tmp'...
[14:44:18] Finished 'html-.tmp' after 7.89 ms
[14:44:18] Starting 'pug-.tmp'...
[14:44:19] Finished 'pug-.tmp' after 823 ms
[14:44:19] Starting 'imgs-.tmp'...
[14:44:19] Finished 'imgs-.tmp' after 657 μs
[14:44:19] Starting 'sass-.tmp'...
[14:44:19] Finished 'sass-.tmp' after 1.18 ms
[14:44:19] Starting 'connect'...
[14:44:19] Starting server...
[14:44:19] Finished 'connect' after 28 ms
[14:44:19] Starting 'watch'...
[14:44:19] Finished 'watch' after 3.53 ms
[14:44:19] Starting 'default'...
[14:44:19] Finished 'default' after 18 μs
[14:44:19] Server started http://localhost:8001
[14:44:19] Running server

events.js:174
      throw er; // Unhandled 'error' event
      ^
Error: src\scss\_variables.scss
Error: Undefined variable: "$input-height-inner-sm".
        on line 71 of src/scss/_variables.scss
        from line 5 of src/scss/froala_blocks.scss
>> eight-inner-sm} + #{$input-height-border});
   ------------------------------------------^

    at options.error (C:\Users\randy\db1\design-blocks\node_modules\node-sass\lib\index.js:291:26)
Emitted 'error' event at:
@randy-johnson
Copy link
Author

fwiw I get this when trying to build on my mac as well.

@stefanneculai
Copy link
Contributor

@randy-johnson could you try doing npm install first?

@ivuorinen
Copy link

I bumped in to the same error.

Looks like $input-height-inner-sm and $input-height-inner-lg (maybe similar others) have been removed from Bootstrap _variables.scss file.

This quick "fix" worked for me, but haven't really dived into the style changes:

@import "~bootstrap/scss/bootstrap";

$input-height-inner-sm: $input-height-inner;
$input-height-inner-lg: $input-height-inner;

@import "~froala-design-blocks/src/scss/froala_blocks";

@randy-johnson
Copy link
Author

@stefanneculai, I did this before, but I tried again and received the same error. @ivuorinen thanks I will try that and see how it goes. Thank You.

@bdavidxyz
Copy link

bdavidxyz commented Mar 17, 2019

Just comment the lines with $input-height-inner-sm and $input-height-inner-lg, they are not used anyway.

@DaWe35
Copy link

DaWe35 commented Feb 3, 2020

Same bug here, from windows 10

@iamandrewluca
Copy link

iamandrewluca commented Jun 30, 2020

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

6 participants