ng-nice / code-book-forum Goto Github PK
View Code? Open in Web Editor NEW随书源码:前端代码
随书源码:前端代码
大力支持双狼!
跟着书执行到这一步的时候报错
书上第一章第三页从github上 clone 源代码 ,code文件夹下没有readme.md文件,无从得知如何运行本项目
我使用 fj create BookForum ,然后fj server。访问的主页,但是访问不了其他页面,包括NoFound页面。
还有我生成的module是 app,并不是com.ngnice.app.
angular.js:78 Uncaught Error: [$injector:modulerr] Failed to instantiate module app due to:
Error: [$injector:nomod] Module 'app' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.2.32/$injector/nomod?p0=app
at http://localhost:5000/bower_components/angular/angular.js:78:12
at http://localhost:5000/bower_components/angular/angular.js:1679:17
at ensure (http://localhost:5000/bower_components/angular/angular.js:1603:38)
at module (http://localhost:5000/bower_components/angular/angular.js:1677:14)
at http://localhost:5000/bower_components/angular/angular.js:3879:22
at forEach (http://localhost:5000/bower_components/angular/angular.js:325:18)
at loadModules (http://localhost:5000/bower_components/angular/angular.js:3873:5)
at createInjector (http://localhost:5000/bower_components/angular/angular.js:3813:11)
at doBootstrap (http://localhost:5000/bower_components/angular/angular.js:1446:20)
at bootstrap (http://localhost:5000/bower_components/angular/angular.js:1461:12)
http://errors.angularjs.org/1.2.32/$injector/modulerr?p0=app&p1=Error%3A%20…F%2Flocalhost%3A5000%2Fbower_components%2Fangular%2Fangular.js%3A1461%3A12)
at http://localhost:5000/bower_components/angular/angular.js:78:12
at http://localhost:5000/bower_components/angular/angular.js:1679:17
at ensure (http://localhost:5000/bower_components/angular/angular.js:1603:38)
at module (http://localhost:5000/bower_components/angular/angular.js:1677:14)
at http://localhost:5000/bower_components/angular/angular.js:3879:22
at forEach (http://localhost:5000/bower_components/angular/angular.js:325:18)
at loadModules (http://localhost:5000/bower_components/angular/angular.js:3873:5)
at createInjector (http://localhost:5000/bower_components/angular/angular.js:3813:11)
at doBootstrap (http://localhost:5000/bower_components/angular/angular.js:1446:20)
at bootstrap (http://localhost:5000/bower_components/angular/angular.js:1461:12)
http://errors.angularjs.org/1.2.32/$injector/modulerr?p0=app&p1=Error%3A%20…F%2Flocalhost%3A5000%2Fbower_components%2Fangular%2Fangular.js%3A1461%3A12)
at http://localhost:5000/bower_components/angular/angular.js:78:12
at http://localhost:5000/bower_components/angular/angular.js:3907:15
at forEach (http://localhost:5000/bower_components/angular/angular.js:325:18)
at loadModules (http://localhost:5000/bower_components/angular/angular.js:3873:5)
at createInjector (http://localhost:5000/bower_components/angular/angular.js:3813:11)
at doBootstrap (http://localhost:5000/bower_components/angular/angular.js:1446:20)
at bootstrap (http://localhost:5000/bower_components/angular/angular.js:1461:12)
at angularInit (http://localhost:5000/bower_components/angular/angular.js:1370:5)
at HTMLDocument. (http://localhost:5000/bower_components/angular/angular.js:22192:5)
at fire (http://localhost:5000/bower_components/jquery/dist/jquery.js:3148:30)
没有用typescript搞个typings干嘛?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.