Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #22177
Closed
Open
Issue created Mar 13, 2017 by Administrator@rootContributor

Build errors on ubuntu

Created by: tamarmot

I am getting started customizing bootstrap 4 with sass and trying to compile it on my ubuntu VM. I have tried various versions of node, including 6.x, 7.6, 7.7.2, and always updated the installed packages. I'm on npm 4.4.1.

Compilation fails on the 'docs' step when I call grunt or grunt dist.

Running "exec:sass-docs" (exec) task

> bootstrap@4.0.0-alpha.6 sass-docs /vagrant/xgds_basalt/build/static/bootstrap
> node-sass --output-style expanded --source-map true --precision 6 docs/assets/scss/docs.scss docs/assets/css/docs.min.css

>> An output directory must be specified when compiling a directory
>> npm ERR! code
>> ELIFECYCLE
>> npm ERR! errno 1
>> npm ERR! bootstrap@4.0.0-alpha.6 sass-docs: `node-sass --output-style expanded --source-map true --precision 6 docs/assets/scss/docs.scss docs/assets/css/docs.min.css`
>> npm ERR! Exit status 1
>> npm ERR! 
>> npm ERR! Failed at the bootstrap@4.0.0-alpha.6 sass-docs script 'node-sass --output-style expanded --source-map true --precision 6 docs/assets/scss/docs.scss docs/assets/css/docs.min.css'.
>> 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 bootstrap package,
>> npm ERR!
>> not with npm itself.
>> npm ERR! Tell the author that this fails on your system:
>> npm ERR!     node-sass --output-style expanded --source-map true --precision 6 docs/assets/scss/docs.scss docs/assets/css/docs.min.css
>> npm ERR! You can get information on how to open an issue for this project with:
>> npm
>> ERR!     npm bugs bootstrap
>> npm ERR! Or if that isn't available, you can get their info via:
>> npm ERR!     npm owner ls bootstrap
>> npm ERR! There is likely additional logging output above.
>> 
>> npm ERR! A complete log of this run can be found in:
>> npm ERR!     /home/vagrant/.npm/_logs/2017-03-13T17_47_35_964Z-debug.log
>> Exited with code: 1.
>> Error executing child process: Error: Command failed: npm run sass-docs
>> An output directory must be specified when compiling a directory
>> npm ERR! code ELIFECYCLE
>> npm ERR! errno 1
>> npm ERR! bootstrap@4.0.0-alpha.6 sass-docs: `node-sass --output-style expanded --source-map true --precision 6 docs/assets/scss/docs.scss docs/assets/css/docs.min.css`
>> npm ERR! Exit status 1
>> npm ERR! 
>> npm ERR! Failed at the bootstrap@4.0.0-alpha.6 sass-docs script 'node-sass --output-style expanded --source-map true --precision 6 docs/assets/scss/docs.scss docs/assets/css/docs.min.css'.
>> 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 bootstrap package,
>> npm ERR! not with npm itself.
>> npm ERR! Tell the author that this fails on your system:
>> npm ERR!     node-sass --output-style expanded --source-map true --precision 6 docs/assets/scss/docs.scss docs/assets/css/docs.min.css
>> npm ERR! You can get information on how to open an issue for this project with:
>> npm ERR!     npm bugs bootstrap
>> npm ERR! Or if that isn't available, you can get their info via:
>> npm ERR!     npm owner ls bootstrap
>> npm ERR! There is likely additional logging output above.
>> 
>> npm ERR! A complete log of this run can be found in:
>> npm ERR!     /home/vagrant/.npm/_logs/2017-03-13T17_47_35_964Z-debug.log
Warning: Task "exec:sass-docs" failed. Use --force to continue.
Assignee
Assign to
Time tracking