websemantics / strong-together

A starter project to build single page Vue.js apps as stand-alone or for Laravel / Laravel Spark projects; based on Browserify and Semantic-UI.
http://websemantics.github.io/strong-together
MIT License
89 stars 18 forks source link

fix "npm run build" error - install missing packages: gitter, larder and etc. lock package version. add laravel-elixir-browserify-official #3

Closed Shuliyey closed 7 years ago

Shuliyey commented 7 years ago

This pull request addresses the github issue #2

previous:

.../laravel-elixir-vueify/index.js:3
Elixir.ready(() => {
       ^

TypeError: Elixir.ready is not a function

    at Object.<anonymous> (.../laravel-elixir-vueify/index.js:3:8)
    at Module._compile (module.js:573:32)
    at Object.Module._extensions..js (module.js:582:10)
    at Module.load (module.js:490:32)
    at tryModuleLoad (module.js:449:12)
    at Function.Module._load (module.js:441:3)
    at Module.require (module.js:500:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (.../gulpfile.js:4:14)
    at Module._compile (module.js:573:32)

current (with the change in this PR):

| => gulp
[23:11:07] Using gulpfile ~/Documents/node/strong-together-tmp/gulpfile.js
[23:11:07] Starting 'all'...
[23:11:07] Starting 'scripts'...
[23:11:07] Finished 'scripts' after 86 ms
[23:11:07] Starting 'less'...
[23:11:13] Finished 'less' after 6.4 s
[23:11:13] Starting 'browserify'...
[23:11:17] Finished 'browserify' after 3.69 s
[23:11:17] Starting 'copy'...
[23:11:17] Finished 'copy' after 8.48 ms
[23:11:17] Starting 'copy'...
[23:11:17] Finished 'copy' after 25 ms
[23:11:17] Starting 'copy'...
[23:11:17] Finished 'copy' after 119 ms
[23:11:17] Starting 'copy'...
[23:11:17] Finished 'copy' after 16 ms
[23:11:17] Starting 'styles'...
[23:11:17] Finished 'styles' after 9.07 ms
[23:11:17] Finished 'all' after 10 s
[23:11:17] Starting 'default'...
┌──────────────────┬──────────────────────────┬───────────────────────────────────────────────────────────────────┬────────────────────────┐
│ Task             │ Summary                  │ Source Files                                                      │ Destination            │
├──────────────────┼──────────────────────────┼───────────────────────────────────────────────────────────────────┼────────────────────────┤
│ mix.scripts()    │ 1. Concatenating Files   │ node_modules/jquery/dist/jquery.js                                │ public/js/all.js       │
│                  │ 2. Saving to Destination │ node_modules/semantic-ui-less/definitions/behaviors/visibility.js │                        │
│                  │                          │ node_modules/semantic-ui-less/definitions/modules/sidebar.js      │                        │
│                  │                          │ node_modules/semantic-ui-less/definitions/modules/transition.js   │                        │
├──────────────────┼──────────────────────────┼───────────────────────────────────────────────────────────────────┼────────────────────────┤
│ mix.less()       │ 1. Compiling Less        │ resources/assets/less/app.less                                    │ public/css/app.css     │
│                  │ 2. Autoprefixing CSS     │                                                                   │                        │
│                  │ 3. Concatenating Files   │                                                                   │                        │
│                  │ 4. Saving to Destination │                                                                   │                        │
├──────────────────┼──────────────────────────┼───────────────────────────────────────────────────────────────────┼────────────────────────┤
│ mix.browserify() │                          │ resources/assets/js/app.js                                        │ public/js/app.js       │
├──────────────────┼──────────────────────────┼───────────────────────────────────────────────────────────────────┼────────────────────────┤
│ mix.copy()       │ 1. Saving to Destination │ resources/assets/views/index.html                                 │ public/index.html      │
├──────────────────┼──────────────────────────┼───────────────────────────────────────────────────────────────────┼────────────────────────┤
│ mix.copy()       │ 1. Saving to Destination │ resources/assets/img/**/*                                         │ public/img             │
├──────────────────┼──────────────────────────┼───────────────────────────────────────────────────────────────────┼────────────────────────┤
│ mix.copy()       │ 1. Saving to Destination │ resources/assets/fonts/**/*                                       │ public/fonts/roboto    │
├──────────────────┼──────────────────────────┼───────────────────────────────────────────────────────────────────┼────────────────────────┤
│ mix.copy()       │ 1. Saving to Destination │ node_modules/semantic-ui-less/themes/default/assets/fonts/**/*    │ public/fonts/semantic  │
├──────────────────┼──────────────────────────┼───────────────────────────────────────────────────────────────────┼────────────────────────┤
│ mix.styles()     │ 1. Concatenating Files   │ resources/assets/css/**/*.css                                     │ public/css/vendors.css │
│                  │ 2. Saving to Destination │                                                                   │                        │
└──────────────────┴──────────────────────────┴───────────────────────────────────────────────────────────────────┴────────────────────────┘
[23:11:17] Finished 'default' after 14 ms