generator-hottowel
generator-hottowel copied to clipboard
Not building production
Issue details
I cannot build a product version, build folder only contains a font and images folder. Trying to run it with NODE_ENV build just returns 404.
Steps to reproduce/test case
Run gulp command
Please specify which version of generator-hottowel
, node and npm you're running
- [latest] generator-hottowel
- [6.2.0] Node
- [3.8.9] Npm
Affected platforms
- [ ] linux
- [ ] windows
- [x] OS X
- [ ] other (please specify which)
Which gulp command are you running ?
gulp build
I was experiencing this same issue after trying to npm install on a clean version of my project.
I was able to resolve it by switching out all of the '^' in the package.json with '~'. There must be a dev dependency that made a major revision recently that causes the build task to fail.
I don't have time right now to go through the package.json, but in theory one could go down the list and change to ~ one by one to find it. For now, my solution is to replace all of the versioning with ~
@jongo593 Thank you, will try this out.
@jongo593 Thank you! I was having a similar issue when running gulp build or gulp-serve-dev on clean versions the past day. The build process was failing part way with the error 'ENOENT, no such file or directory: \app\template.js' and only writing fonts and images to the build folder.
I've followed your advice and narrowed down the problematic package to gulp-header": "^1.2.2". Changing this to gulp-header": "~1.2.2" and running npm update solved the problem.
I found an issue opened up 18 hours ago on gulp-header's tracker with many other's confirming. So it's probably not going to help @DVassilev but I wanted to leave this comment for others having the same symptoms.
Hi, having the same issue here, only image and fonts are present in the build folder. Environment is a fedora 23 linux. I have tried the suggested fix, first only on gulp-header but it didn't fix the issue, then I tried replacing all dependencies refs from using ^ to ~ but unfortunately still same issue.
I also have an issue that tests fail, even in a new generated project.
gulp serve-dev works but gulp build
does not do the job, also, in my case gulp html
doesn't work with error task html doesn't exists.
Same problem here - any solution on this?
try with new rev please
tried wiith 0.0.11 but its not building the app.css file.