Giter VIP home page Giter VIP logo

Comments (12)

jjgonver avatar jjgonver commented on August 17, 2024

I follow this steps:
'See the latest commit on frontend a9e082f'
and in bower.json I still had: "bootswatch-dist": "3.3.2-spacelab"
I delete this line and work ok.
Solved

from angular-sailsjs-boilerplate-frontend.

jjgonver avatar jjgonver commented on August 17, 2024

Not solved

from angular-sailsjs-boilerplate-frontend.

jjgonver avatar jjgonver commented on August 17, 2024

If I delete "bootswatch-dist": "3.3.2-spacelab" from bower the frontend dont work. After that, when I make gulp serve the frontend do not load well.

from angular-sailsjs-boilerplate-frontend.

jjgonver avatar jjgonver commented on August 17, 2024

then with "bootswatch-dist": "3.3.2-spacelab" in bower.json I have the next error when I try 'gulp dist':

[12:44:14] Starting 'scripts-dist'...

stream.js:74
      throw er; // Unhandled stream error in pipe.
      ^
 Error: Broken @import declaration of "http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700" - timeout

from angular-sailsjs-boilerplate-frontend.

tarlepp avatar tarlepp commented on August 17, 2024

This should be fixed already, see tarlepp/angular-sailsjs-boilerplate#79

from angular-sailsjs-boilerplate-frontend.

jjgonver avatar jjgonver commented on August 17, 2024

If I follow this:
'See the latest commit on frontend a9e082f'
I can resolve the error but then the gulp serve do not work. No error in console but the appearance changes.
With "bootswatch-dist": "3.3.2-spacelab":
image

Without "bootswatch-dist": "3.3.2-spacelab", no errors in gulp serve :
image

from angular-sailsjs-boilerplate-frontend.

tarlepp avatar tarlepp commented on August 17, 2024

Hard to say what is wrong with your setup. I just cloned angular-sailsjs-boilerplate-frontend and angular-sailsjs-boilerplate-backend and then npm install to both.

After that I just created config.json for the frontend and created dist version with gulp dist and check the results.

gulp serve
image

gulp dist + gulp production
image

So no problems with clean install.

from angular-sailsjs-boilerplate-frontend.

jjgonver avatar jjgonver commented on August 17, 2024

ok. thank you for your effort.
Solved. For some reason the version of some dependencies from bower.json and the version inside folder bower_components are different. When I update some package, its update in bower.json but do not update in bower_components folder.
2 days lost.
Thanks.

from angular-sailsjs-boilerplate-frontend.

tarlepp avatar tarlepp commented on August 17, 2024

Could you share your bower.json ?

from angular-sailsjs-boilerplate-frontend.

jjgonver avatar jjgonver commented on August 17, 2024

Of course:

{
  "name": "frontend",
  "main": [
    "/dist/frontend.min.js",
    "/dist/frontend.min.css"
  ],
  "version": "0.1.0",
  "description": "Frontend APP Ayto",
  "authors": [
    "Juan José González Vera"
  ],
  "ignore": [
    "**/.*",
    "package.json",
    "klei.json",
    "gulpfile.js",
    "node_modules",
    "bower_components",
    "src"
  ],
  "dependencies": {
      "jquery": "2.1.3",
      "fontawesome": "4.6.3",
      "lodash": "3.2.0",
      "angular": "1.4.11",
      "angular-animate": "1.4.11",
      "angular-loading-bar": "0.7.0",
      "angular-ui-router": "0.2.13",
      "angular-ui-bootstrap-bower": "1.3.3",
      "angular-ui-utils": "0.2.2",
      "angular-moment": "0.9.0",
      "angular-bootstrap-show-errors": "2.3.0",
      "angular-sanitize": "1.3.13",
      "angular-xeditable": "0.2.0",
      "angular-toastr": "1.0.1",
      "textAngular": "1.3.7",
      "bootbox": "4.4.0",
      "ngBootbox": "0.0.4",
      "sails.io.js": "0.11.5",
      "angularSails": "master",
      "ngstorage": "~0.3.0",
      "highcharts": "~4.1.3",
      "highcharts-ng": "~0.0.8",
      "angular-i18n": "~1.5.7",
      "angular-touch": "1.4.11",
      "angular-google-maps": "2.3.3",
      "bootstrap-switch": "^3.3.2"
    },
    "devDependencies": {
      "angular-mocks": "1.3.13"
    },
    "overrides": {
      "fontawesome": {
        "main": [
          "css/font-awesome.min.css",
          "fonts/FontAwesome.otf",
          "fonts/fontawesome-webfont.eot",
          "fonts/fontawesome-webfont.swg",
          "fonts/fontawesome-webfont.ttf",
          "fonts/fontawesome-webfont.svg"
        ]
      },
      "ngBootbox": {
        "main": "dist/ngBootbox.js"
      },
      "angular-i18n": {
        "main": "angular-locale_es-es.js"
      }
    },
    "resolutions": {
      "angular": "1.4.11",
      "bootbox": "4.4.0"
    }
  }

from angular-sailsjs-boilerplate-frontend.

tarlepp avatar tarlepp commented on August 17, 2024

anc you should see some differences if you compare that to https://github.com/tarlepp/angular-sailsjs-boilerplate-frontend/blob/master/bower.json also you can always just remove bower_components folder and install all packages again.

from angular-sailsjs-boilerplate-frontend.

jjgonver avatar jjgonver commented on August 17, 2024

yes. That's what I've done... I delete the contents of bower_components folder and make a npm install.

from angular-sailsjs-boilerplate-frontend.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.