Comments (6)
I need more info, are your bower components setup? is all the node modules installed without error? what was the url????
from angular-seed.
Hey @rinatio that's because the moment you tried to access that specific url the webserver tried to read a folder and stream it over, which of course breaks everything.
A fix would be something like this:
var dir = fs.statSync(pathToDir);
if(dir.isDirectory()) {
// forget it, we're not streaming a folder
next();
}
Ideally there'd be a "url rewrite" so you can just access the test runner on :9090
without needing the rest of the url. A fix for that would be something like:
if( req.xhr || /base/.test(url) ) { // ajax or url explicitly points to app
pipe() // pipe the file over
} else {
pipe() // pipe the test runner
}
After that you'd only go to localhost:9090
and it'd be resolved for you. Conditions for that if-clause definitely need to be adjusted but it gives you an idea.
from angular-seed.
Yep, it was localhost:9090
instead of localhost:9090/test/e2e/runner.html
. The second one is not giving an error. Please close if it isn't an issue
from angular-seed.
It is. I cannot fix it but maybe you can submit a pull request with the guidelines I posted over :) ?
from angular-seed.
I've submitted a PR for this, would that fix this "issue"? #41
from angular-seed.
Closing ticket, this should be fixed by now... please re-open if it's not :)
from angular-seed.
Related Issues (20)
- Implement mocks and show examples
- Protractor / Chrome driver part of install Fails
- ProtractorVersionChange
- Grunt build breaks on jquery/dist path HOT 1
- Backend performance tests HOT 5
- Getting Started Questions HOT 3
- SauceLabs for unit tests (karma) HOT 1
- Windows Support: nested `node_modules` dirs too long for windows to handle?
- Missing JS and CSS files (index.html gets served instead) HOT 4
- Implement grunt-newer for faster builds
- Implement tasks folder structure and break up current grunt tasks
- Uncaught SyntaxError: Unexpected token < HOT 1
- Missing JS and CSS files (index.html gets served instead)
- Cannot find module 'utils' and "grunt-jsdoc-to-markdown" HOT 2
- Error on clever initialization HOT 3
- Account Chooser should use typeahead/autocomplete instead of never ending drop down
- Implement EC2 `clever deploy` command
- The app won't run HOT 3
- Can't create an app HOT 2
- Installation Progress stopped << Cleverstack >> Installing bower components HOT 3
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-seed.