officert / mongotron

Cross platform Mongo DB management
http://mongotron.io
MIT License
2.69k stars 214 forks source link

OSX Build result in exception - Potentially unhandled rejection [2] '../vendor/bootstrap/less/bootstrap.less' wasn't found #158

Closed kktam closed 7 years ago

kktam commented 7 years ago

running "gulp release" on mongotron on OSX result in the following error:

Potentially unhandled rejection [2] '../vendor/bootstrap/less/bootstrap.less' wasn't found

Need help in finding out where is bootstrap.less. and how to fix the run error

ENVIRONMENT
------------------
{ version: '1.0.0-alpha.5',
  name: 'Mongotron',
  website: 'http://mongotron.io/',
  repository: 'https://github.com/mongotron',
  repositoryName: 'mongotron',
  repositoryOwner: 'officert',
  logLevel: 'debug',
  buildPath: 'build',
  releasePath: 'release',
  appConfigDir: '/Users/x/.mongotron',
  logFilePath: '/Users/x/.mongotron/logs.json',
  dbConfigPath: '/Users/x/.mongotron/dbConnections.json',
  keybindingsPath: '/Users/x/.mongotron/keybindings.json',
  themesPath: '/Users/x/.mongotron/themes.json',
  env: 'development' }

[21:17:57] Using gulpfile ~/Documents/Work/nodejs/mongotron/gulpfile.js
[21:17:57] Starting 'pre-release'...
[21:17:57] Starting 'clean'...
[21:17:57] Starting 'css'...
[21:17:57] Starting 'remove-link-src'...
[21:17:57] Starting 'remove-link-lib'...
[21:17:57] Starting 'remove-link-tests'...
[21:17:57] Finished 'remove-link-src' after 22 ms
[21:17:57] Finished 'remove-link-lib' after 23 ms
[21:17:57] Finished 'remove-link-tests' after 24 ms
[21:17:57] Starting 'dev-sym-links'...
[21:17:58] Finished 'clean' after 148 ms
[21:17:58] gulp-symlink:/Users/x/Documents/Work/nodejs/mongotron/src symlinked to ./node_modules/src
Potentially unhandled rejection [2] '../vendor/bootstrap/less/bootstrap.less' wasn't found. Tried - /Users/x/Documents/Work/nodejs/mongotron/src/ui/vendor/bootstrap/less/bootstrap.less,../vendor/bootstrap/less/bootstrap.less in file /Users/x/Documents/Work/nodejs/mongotron/src/ui/less/main.less line no. 2
[21:17:58] gulp-symlink:/Users/x/Documents/Work/nodejs/mongotron/src/lib symlinked to ./node_modules/lib
[21:17:58] gulp-symlink:/Users/x/Documents/Work/nodejs/mongotron/tests symlinked to ./node_modules/tests
[21:17:58] gulp-symlink:/Users/x/Documents/Work/nodejs/mongotron/package.json symlinked to ./node_modules/package.json
[21:17:58] Finished 'dev-sym-links' after 205 ms
kktam commented 7 years ago
$ npm -v
3.10.8
$ node -v
v6.9.1
jonatasfreitasv commented 7 years ago

Try to run npm install and bower install again.

kktam commented 7 years ago

@jonatasfreitasv it works now. retested at https://github.com/officert/mongotron/commit/838fd40bc4facdcba43aa16e23f9c6ef98440383

with

npm -v
3.10.10
$ node -v
v6.11.1