Skip to content

Instantly share code, notes, and snippets.

View pareshchouhan's full-sized avatar
🎯
Focusing

Paresh Chouhan pareshchouhan

🎯
Focusing
View GitHub Profile
bets4you.factory('AuthService',['$http','$window','$location',function($http,$window,$location){
this.userInfo = null;
this.steamID64 = null;
this.auth = false;
function init() {
if ($window.sessionStorage["userInfo"]) {
this.userInfo = JSON.parse($window.sessionStorage["userInfo"]);
}
}
function NavBarController($scope,$routeParams) {
this.activeTab = 1;
this.loggedIn = false;
this.setLoggedInState = function(loginState) {
if(loginState == 1) {
this.loggedIn = true;
}
else {
var bets4you = angular.module('bets4you', ["ngRoute"]);
bets4you.value('appName', 'Bets4You');
bets4you.config(['$routeProvider', function($routeProvider) {
// Configure existing providers
$routeProvider
.when('/', {templateUrl: 'index.html',
controller : 'NavBarController',
@echo off
cls
echo oAo Server Restarter.
echo If you want to close srcds press ctrl + c twice.
title oAo watchd0g
:srcds
echo (%time%) srcds started.
start /wait srcds.exe -console -game csgo +map de_dust +maxplayers 16
echo (%time%) WARNING: srcds closed or crashed, restarting.
<html ng-app="Bets4You">
<head>
<!-- Mobile Specific Meta -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>Bets4You</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-responsive.min.css">
<link rel="stylesheet" href="css/style.css">
var bets4you = angular.module('Bets4You', []);
bets4you.value('appName', 'Bets4You');
bets4you.config(['$routeProvider', function($routeProvider) {
// Configure existing providers
$routeProvider
.when('/', {templateUrl: 'partials/home.html',
controller: 'HomePageCtrl'
});
https://docs.angularjs.org/error/$injector/modulerr?p0=Bets4You&p1=Error:%20%5B$injector:unpr%5D%20http:%2F%2Ferrors.angularjs.org%2F1.3.0-rc.4%2F$injector%2Funpr%3Fp0%3D%2524routeProvider%0A%20%20%20%20at%20Error%20(native)%0A%20%20%20%20at%20http:%2F%2Flocalhost:3000%2Fjs%2Flib%2Fangular.min.js:6:421%0A%20%20%20%20at%20http:%2F%2Flocalhost:3000%2Fjs%2Flib%2Fangular.min.js:37:408%0A%20%20%20%20at%20d%20(http:%2F%2Flocalhost:3000%2Fjs%2Flib%2Fangular.min.js:35:430)%0A%20%20%20%20at%20Object.e%20%5Bas%20invoke%5D%20(http:%2F%2Flocalhost:3000%2Fjs%2Flib%2Fangular.min.js:36:185)%0A%20%20%20%20at%20d%20(http:%2F%2Flocalhost:3000%2Fjs%2Flib%2Fangular.min.js:34:396)%0A%20%20%20%20at%20http:%2F%2Flocalhost:3000%2Fjs%2Flib%2Fangular.min.js:35:19%0A%20%20%20%20at%20q%20(http:%2F%2Flocalhost:3000%2Fjs%2Flib%2Fangular.min.js:7:298)%0A%20%20%20%20at%20f%20(http:%2F%2Flocalhost:3000%2Fjs%2Flib%2Fangular.min.js:34:297)%0A%20%20%20%20at%20Gb%20(http:%2F%2Flocalhost:3000%2Fjs%2Flib%2Fangular.min.js:38:12
H:\SteamDev\Raijin\node_modules\steam\node_modules\protobuf>node "C:\Program Fil
es\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\nod
e-gyp.js" rebuild
gyp info it worked if it ends with ok
gyp verb cli [ 'node',
gyp verb cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node
-gyp\\bin\\node-gyp.js',
gyp verb cli 'rebuild' ]
gyp info using node-gyp@1.0.1
gyp info using node@0.10.32 | win32 | x64
H:\SteamDev\Raijin\node_modules\steam\node_modules\protobuf>node "C:\Program Fil
es\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\nod
e-gyp.js" rebuild
gyp ERR! configure error
gyp ERR! stack Error: spawn ENOENT
gyp ERR! stack at errnoException (child_process.js:1001:11)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:792:
34)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command "node" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modu
gyp ERR! configure error
gyp ERR! stack Error: Command failed: ImportError: No module named site
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (child_process.js:648:15)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at maybeClose (child_process.js:756:16)
gyp ERR! stack at Socket.<anonymous> (child_process.js:969:11)
gyp ERR! stack at Socket.emit (events.js:95:17)
gyp ERR! stack at Pipe.close (net.js:465:12)
gyp ERR! System Windows_NT 6.2.9200