Comments (12)
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.
Not solved
from angular-sailsjs-boilerplate-frontend.
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.
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.
This should be fixed already, see tarlepp/angular-sailsjs-boilerplate#79
from angular-sailsjs-boilerplate-frontend.
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":
Without "bootswatch-dist": "3.3.2-spacelab", no errors in gulp serve :
from angular-sailsjs-boilerplate-frontend.
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.
So no problems with clean install.
from angular-sailsjs-boilerplate-frontend.
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.
Could you share your bower.json ?
from angular-sailsjs-boilerplate-frontend.
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.
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.
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)
- integration with ionic HOT 2
- datepicker options HOT 2
- Where is the correct way to add a js vendor? HOT 4
- datepicker refresh error HOT 7
- https server in the frontend HOT 2
- DataModel.setScope behavior HOT 5
- _fetchData() behavior HOT 8
- gulp dist do not create well a page HOT 2
- Integration with gulp-ejs HOT 2
- Node 4 compatibility HOT 1
- LiveReload causing net::ERR_CONNECTION_REFUSED HOT 4
- /admin/loginHistory gets redirected HOT 2
- [enhancement] DataModel to be much faster
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-sailsjs-boilerplate-frontend.