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

Error: Cannot find module 'minimatch' #7

Open
kdeloach opened this issue Oct 10, 2016 · 0 comments
Open

Error: Cannot find module 'minimatch' #7

kdeloach opened this issue Oct 10, 2016 · 0 comments

Comments

@kdeloach
Copy link

I get this error when building a fresh clone.

vagrant@vagrant-ubuntu-trusty-64:/vagrant$ ./scripts/update.sh 
/vagrant/src/app /vagrant
npm WARN package.json [email protected] No README data
[email protected] node_modules/retina.js
/vagrant
cd ./src/app/ &
    cp     ./src/app/index.html     ./dist/index.html &

    cp -r     ./src/app/img/*     ./dist/img/ &
    cp -r     ./src/app/node_modules/font-awesome/fonts/*     ./dist/fonts/ &
    cat     ./src/app/node_modules/font-awesome/css/font-awesome.min.css     > ./dist/css/vendor.css &
    cp     ./src/app/data/model.csv     ./dist/data/model.csv &
    cp     ./src/app/img/favicon*.png     ./dist/ &
    ./src/app/node_modules/.bin/browserify -r ./src/app/node_modules/jquery -r ./src/app/js/shim/shutterbug.js -r ./src/app/node_modules/bootstrap -r ./src/app/js/shim/shutterbug.js -r ./src/app/node_modules/retina.js -r ./src/app/js/shim/shutterbug.js -r ./src/app/node_modules/underscore -r ./src/app/js/shim/shutterbug.js          -o ./dist/js/vendor.js  &
    ./src/app/node_modules/.bin/node-sass ./src/app/sass/main.scss -o ./dist/css/ &
    ./src/app/node_modules/.bin/browserify ./src/app/js/src/main.js -x ./src/app/node_modules/jquery -r ./src/app/js/shim/shutterbug.js -x ./src/app/node_modules/bootstrap -r ./src/app/js/shim/shutterbug.js -x ./src/app/node_modules/retina.js -r ./src/app/js/shim/shutterbug.js -x ./src/app/node_modules/underscore -r ./src/app/js/shim/shutterbug.js          -o ./dist/js/main.js  &
Waiting for background jobs to finish...
module.js:327
    throw err;
    ^

Error: Cannot find module 'minimatch'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/vagrant/src/app/node_modules/glob/glob.js:44:17)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
module.js:327
    throw err;
    ^

Error: Cannot find module 'minimatch'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/vagrant/src/app/node_modules/glob/glob.js:44:17)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
Rendering Complete, saving .css file...
Wrote CSS to /vagrant/dist/css/main.css
Done
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

1 participant