Comments (10)
FountainJS/generator-fountain-webapp#150
After struggling for longer than I care to admit - found the fix for the issue in the parent generator for this Yo. You must downgrade the glob-parent dependency of glob-stream from 3.0.1 to 3.0.0.
This should be solved here I suppose, but the parent generator team should release a fix since its broken on master.
from generator-fountain-angular1.
Interesting. I was seeing a problem similar to this when doing a gulp build on a windows server. There was a src folder in the dist folder containing the assets folder, which it wasn't doing before.
I wasn't too worried about it because we develop on macs and deploy to windows. Haven't seen this on my local dev machine, so we just changed the Windows build script to move the folders to where they should be.
Looks like it could be related to this.
from generator-fountain-angular1.
I see in your yo-rc that you're using a 0.6 version which is very old, wan you re-test with 1.0.0-rc1?
from generator-fountain-angular1.
I have the same issue... to reproduce this, create a project using ng1-webpack-es6-sass-fountain-landing-page . Then run the command "npm run build" . Checkout the dist folder. There is an src folder in the dist folder which breaks the relative paths. because of this unwanted src folder, techs.json file cannot be loaded and throws a 404 error.
from generator-fountain-angular1.
@Swiip Since the bug was fixed by an older glob-parent version, I didn't test with your release candidate. I might have time tomorrow to do so.
Just in case someone else stumbles on this issue, here's the fix again:
FountainJS/generator-fountain-webapp#150
from generator-fountain-angular1.
This problem is resolved? I've created a project today and i've this problem : I've a folder dist/src/app/techs/techs.json
from generator-fountain-angular1.
@Chklang This is the way it should be
from generator-fountain-angular1.
So why js try to load /app/techs/techs.json and not /src/app/techs/techs.json? I've a 404 in dist mode
from generator-fountain-angular1.
This is a different issue, can you describe your problem and join your .yo-rc.json in a new issue ?
from generator-fountain-angular1.
Ok thanks :)
from generator-fountain-angular1.
Related Issues (20)
- gulp build injects .map files into index.html and browser errors on their json HOT 2
- Get 404 error in index.css HOT 5
- hello component should render hello world FAILED HOT 2
- Add Support For CSS HOT 2
- How To Turn Off Linting? HOT 1
- Hello world example end of line ';' missing HOT 1
- Problem on 404 techs.json on a new project ( dist/src ) HOT 2
- Different generated templateUrl between component.js and component.spec.js HOT 1
- Browsersync doesn't detect new HTML HOT 2
- Bootstrap CSS not injected with gulp serve HOT 4
- Errors in gulp serve:dist / npm run serve:dist mode HOT 2
- Including custom fonts via webpack HOT 3
- Folder assets isn't being injected in .tmp and dist folders HOT 2
- Build fails if there is no html files to compile HOT 1
- webpack not copy partials html to dist folder
- cant add dynamic meta tags at all
- Browser Sync throwing a syntax error HOT 2
- How does the JS/CSS get injected?
- Issue with SCSS loaders
- [question] how to generate new route?
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 generator-fountain-angular1.