twanoo67 / bootstraping-ngx-admin-lte Goto Github PK
View Code? Open in Web Editor NEWAngular2,4,6 project with AdminLTE dashboard template (using angular, angular-cli and ngx-admin-lte ) Formerly called 'ng2-admin-lte'.
Angular2,4,6 project with AdminLTE dashboard template (using angular, angular-cli and ngx-admin-lte ) Formerly called 'ng2-admin-lte'.
Bonjour,
Lorsque l'on click sur le brand dans le menu, l'application reload complement au lieu de simplement router vers #/.
Egalement, lors du reload de l'application, il serait bien d'avoir un loading screen. Pour le moment, tant quangular n'est pas bootstraper, on voit le footer et quelque autres elements dans la page.
I have setup my own auth0 account and firebase account.
When I log in, it successfully works, but in console I have error
POST https://boskiv.eu.auth0.com/delegation 401 (Unauthorized)
How can I dig into it ? I have setup firebase connection with auth0 already.
Also I've fount this code in auth.serve.ts
private generateAuthOption = (token: string): any => {
return {
api: 'firebase',
id_token: token,
scope: 'openid name email displayName',
target: 'uyZPfupm9XEM2jdDwiz9xGmvDnly5ydU'
};
}
Need I change target
string to my own ? Where I can get it then ?
Hello,
Many thanks for awesome Angular 2 conversion of theme. I want to ask a small doubt that how do i create login page component. I am not using auth 0. I want to have login box without side menu.
Typescript version 2.1.5 seems incompatible with tslint, making TravisCI fail
remote: Permission to TwanoO67/ng2-admin-lte.git denied to ezekylellorca.
fatal: unable to access 'https://github.com/TwanoO67/ng2-admin-lte.git/': The requested URL returned error: 403
please help me with this
Thanks,
hight Light of menu-aside not working when link Navigation selected.
Only working in submenu
Hi, Sorry, this seems like a trivial question but I have tried to run this with npm start
and also with ./bin/start.sh
.
I get to login page, enter a fake value for username/password and it keeps redirecting me to login.
I didn't find any username/password I should specify. How do I view this project running?
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
NormalModuleFactory
).Getting following exception, while trying to click on "Home" link breadcrumb:
vendor.bundle.js:66900 Error: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'item.link'
Error: Cannot match any routes. URL Segment: 'item.link'
at ApplyRedirects.noMatchError (vendor.bundle.js:96794)
at CatchSubscriber.selector (vendor.bundle.js:96771)
at CatchSubscriber.error (vendor.bundle.js:57006)
at MapSubscriber.Subscriber._error (vendor.bundle.js:665)
at MapSubscriber.Subscriber.error (vendor.bundle.js:639)
at MapSubscriber.Subscriber._error (vendor.bundle.js:665)
at MapSubscriber.Subscriber.error (vendor.bundle.js:639)
at MapSubscriber.Subscriber._error (vendor.bundle.js:665)
at MapSubscriber.Subscriber.error (vendor.bundle.js:639)
at LastSubscriber.Subscriber._error (vendor.bundle.js:665)
at resolvePromise (vendor.bundle.js:145652)
at resolvePromise (vendor.bundle.js:145637)
at vendor.bundle.js:145686
at ZoneDelegate.invokeTask (vendor.bundle.js:145449)
at Object.onInvokeTask (vendor.bundle.js:45620)
at ZoneDelegate.invokeTask (vendor.bundle.js:145448)
at Zone.runTask (vendor.bundle.js:145338)
at drainMicroTaskQueue (vendor.bundle.js:145585)
at HTMLAnchorElement.ZoneTask.invoke (vendor.bundle.js:145523)ErrorHandler.handleError @ vendor.bundle.js:66900
vendor.bundle.js:145572 Unhandled Promise rejection: Cannot match any routes. URL Segment: 'item.link' ; Zone: angular ; Task: Promise.then ; Value: Error: Cannot match any routes. URL Segment: 'item.link'(…) Error: Cannot match any routes. URL Segment: 'item.link'
at ApplyRedirects.noMatchError (http://localhost:4200/vendor.bundle.js:96794:16)
at CatchSubscriber.selector (http://localhost:4200/vendor.bundle.js:96771:29)
at CatchSubscriber.error (http://localhost:4200/vendor.bundle.js:57006:31)
at MapSubscriber.Subscriber._error (http://localhost:4200/vendor.bundle.js:665:26)
at MapSubscriber.Subscriber.error (http://localhost:4200/vendor.bundle.js:639:18)
at MapSubscriber.Subscriber._error (http://localhost:4200/vendor.bundle.js:665:26)
at MapSubscriber.Subscriber.error (http://localhost:4200/vendor.bundle.js:639:18)
at MapSubscriber.Subscriber._error (http://localhost:4200/vendor.bundle.js:665:26)
at MapSubscriber.Subscriber.error (http://localhost:4200/vendor.bundle.js:639:18)
at LastSubscriber.Subscriber._error (http://localhost:4200/vendor.bundle.js:665:26)consoleError @ vendor.bundle.js:145572
vendor.bundle.js:145574 Error: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'item.link'(…)consoleError @ vendor.bundle.js:145574
npm start ✓ 10355 12:00:22
[email protected] start /var/www/sources/6_INVEN_VEHIC/ng2-admin-lte
ng serve
Unexpected token [
SyntaxError: Unexpected token [
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/var/www/sources/6_INVEN_VEHIC/ng2-admin-lte/node_modules/angular-ide/addon/commands/serve.js:14:33)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/var/www/sources/6_INVEN_VEHIC/ng2-admin-lte/node_modules/angular-ide/index.js:5:15)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Function.Addon.lookup (/var/www/sources/6_INVEN_VEHIC/ng2-admin-lte/node_modules/angular-cli/angular-cli/lib/models/addon.js:835:19)
at /var/www/sources/6_INVEN_VEHIC/ng2-admin-lte/node_modules/angular-cli/angular-cli/lib/models/addons-factory.js:47:36
at visit (/var/www/sources/6_INVEN_VEHIC/ng2-admin-lte/node_modules/angular-cli/angular-cli/lib/utilities/DAG.js:23:3)
at DAG.topsort (/var/www/sources/6_INVEN_VEHIC/ng2-admin-lte/node_modules/angular-cli/angular-cli/lib/utilities/DAG.js:82:7)
at AddonsFactory.initializeAddons (/var/www/sources/6_INVEN_VEHIC/ng2-admin-lte/node_modules/angular-cli/angular-cli/lib/models/addons-factory.js:44:9)
at Project.initializeAddons (/var/www/sources/6_INVEN_VEHIC/ng2-admin-lte/node_modules/angular-cli/angular-cli/lib/models/project.js:374:36)
at Project.eachAddonCommand (/var/www/sources/6_INVEN_VEHIC/ng2-admin-lte/node_modules/angular-cli/angular-cli/lib/models/project.js:425:10)
at module.exports (/var/www/sources/6_INVEN_VEHIC/ng2-admin-lte/node_modules/angular-cli/angular-cli/lib/cli/lookup-command.js:33:13)
at CLI. (/var/www/sources/6_INVEN_VEHIC/ng2-admin-lte/node_modules/angular-cli/angular-cli/lib/cli/cli.js:34:26)
at tryCatch (/var/www/sources/6_INVEN_VEHIC/ng2-admin-lte/node_modules/rsvp/dist/rsvp.js:538:12)
at invokeCallback (/var/www/sources/6_INVEN_VEHIC/ng2-admin-lte/node_modules/rsvp/dist/rsvp.js:553:13)
at publish (/var/www/sources/6_INVEN_VEHIC/ng2-admin-lte/node_modules/rsvp/dist/rsvp.js:521:7)
at flush (/var/www/sources/6_INVEN_VEHIC/ng2-admin-lte/node_modules/rsvp/dist/rsvp.js:2373:5)
at nextTickCallbackWith0Args (node.js:436:9)
at process._tickCallback (node.js:365:13)
npm ERR! Linux 3.19.0-39-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/local/bin/npm" "start"
npm ERR! node v4.6.2
npm ERR! npm v3.10.9
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: ng serve
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'ng serve'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ng2-admin-lte package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ng serve
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs ng2-admin-lte
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls ng2-admin-lte
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /var/www/sources/6_INVEN_VEHIC/ng2-admin-lte/npm-debug.log
I cannot get the web app to run on IE 11, I get this error:
Unhandled Promise rejection: (SystemJS) Can't resolve all parameters for [object Location]: (?).
Evaluating http://localhost:4200/main.js
Error loading http://localhost:4200/main.js ; Zone: <root> ; Task: Promise.then ; Value: Error: (SystemJS) Can't resolve all parameters for [object Location]: (?).
Evaluating http://localhost:4200/main.js
Error loading http://localhost:4200/main.js
"Unhandled Promise rejection:"
"(SystemJS) Can't resolve all parameters for [object Location]: (?).
Evaluating http://localhost:4200/main.js
Error loading http://localhost:4200/main.js"
"; Zone:"
"<root>"
"; Task:"
"Promise.then"
"; Value:"
{
[functions]: ,
__proto__: { },
description: "(SystemJS) Can't resolve all parameters for [object Location]: (?).
Evaluating http://localhost:4200/main.js
Error loading http://localhost:4200/main.js",
message: "(SystemJS) Can't resolve all parameters for [object Location]: (?).
Evaluating http://localhost:4200/main.js
Error loading http://localhost:4200/main.js",
name: "Error",
originalErr: {
[functions]: ,
__proto__: { },
message: "Can't resolve all parameters for [object Location]: (?).",
name: "Error",
stack: undefined,
Symbol(rxSubscriber)_n.809ac6r9g8x: undefined
},
stack: null,
Symbol(rxSubscriber)_n.809ac6r9g8x: undefined
}
ERROR in ./src/environments/environment.ts
Module build failed: Error: ENOENT: no such file or directory, open 'F:\Angular2-admin\ng2-admin-lte\src\environments\environment.prod.ts'
at Error (native)
@ ./src/main.ts 4:0-57
@ multi main
How can I fixed it?
I run ./bin/prod.sh
There is output of command:
...
npm info using [email protected]
npm info using [email protected]
...
ng build --prod
Cannot read property 'length' of undefined
TypeError: Cannot read property 'length' of undefined
at createSourceFile (/usr/src/app/node_modules/typescript/lib/typescript.js:8980:109)
at parseSourceFileWorker (/usr/src/app/node_modules/typescript/lib/typescript.js:8940:26)
at Object.parseSourceFile (/usr/src/app/node_modules/typescript/lib/typescript.js:8899:26)
at Object.createSourceFile (/usr/src/app/node_modules/typescript/lib/typescript.js:8727:29)
at VirtualFileStats.getSourceFile (/usr/src/app/node_modules/@ngtools/webpack/src/compiler_host.js:65:35)
at WebpackCompilerHost.getSourceFile (/usr/src/app/node_modules/@ngtools/webpack/src/compiler_host.js:212:38)
at findSourceFile (/usr/src/app/node_modules/typescript/lib/typescript.js:45859:29)
at processImportedModules (/usr/src/app/node_modules/typescript/lib/typescript.js:45994:25)
at findSourceFile (/usr/src/app/node_modules/typescript/lib/typescript.js:45888:17)
at processSourceFile (/usr/src/app/node_modules/typescript/lib/typescript.js:45790:27)
at processRootFile (/usr/src/app/node_modules/typescript/lib/typescript.js:45694:13)
at /usr/src/app/node_modules/typescript/lib/typescript.js:45151:60
at Object.forEach (/usr/src/app/node_modules/typescript/lib/typescript.js:1115:30)
at Object.createProgram (/usr/src/app/node_modules/typescript/lib/typescript.js:45151:16)
at AotPlugin._setupOptions (/usr/src/app/node_modules/@ngtools/webpack/src/plugin.js:121:28)
at new AotPlugin (/usr/src/app/node_modules/@ngtools/webpack/src/plugin.js:22:14)
at _createAotPlugin (/usr/src/app/node_modules/@angular/cli/models/webpack-configs/typescript.js:54:12)
at Object.exports.getAotConfig (/usr/src/app/node_modules/@angular/cli/models/webpack-configs/typescript.js:102:13)
at new NgCliWebpackConfig (/usr/src/app/node_modules/@angular/cli/models/webpack-config.js:23:37)
at Class.run (/usr/src/app/node_modules/@angular/cli/tasks/build.js:24:31)
at Class.run (/usr/src/app/node_modules/@angular/cli/commands/build.js:63:26)
at Class.<anonymous> (/usr/src/app/node_modules/@angular/cli/ember-cli/lib/models/command.js:134:17)
at process._tickCallback (internal/process/next_tick.js:103:7)
npm info lifecycle [email protected]~prod: Failed to exec prod script
npm ERR! Linux 4.9.8-moby
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "prod"
npm ERR! node v7.5.0
npm ERR! npm v4.1.2
npm ERR! code ELIFECYCLE
npm ERR! [email protected] prod: `ng build --prod`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prod script 'ng build --prod'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ng2-admin-lte package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ng build --prod
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs ng2-admin-lte
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls ng2-admin-lte
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /usr/src/app/npm-debug.log
Maybe i doing something wrong, can you help me please?
After installing the ng serve command fail for a problem with firebase, after installing firebase, I restart and give another problem with the load of listlazyrouting
Hello,
Can you please help me port this over Apache Cordova? I tried a lot but no success.
thanks in advance,
Samir.
Windows 10 did:
npm install
npm start
Serving on http://localhost:4200/ The Broccoli Plugin: [BroccoliTypeScriptCompiler] failed with: Error: EPERM: operation not permitted, symlink 'C:\dev-example-ng2\ng2-admin-lte-master\tmp\broccoli_type_script_compiler-cache_path-38kAkaK4.tmp\src\app\+home\home.component.spec.js.map' -> 'C:\dev-example-ng2\ng2-admin-lte-master\tmp\broccoli_type_script_compiler-output_path-MkLTxY3X.tmp\src\app\+home\home.component.spec.js.map' at Error (native) at Object.fs.symlinkSync (fs.js:1054:18)
create the login page to authenticate a user
then use the router to block the user if not auth
It seems @reactivex/rxjs
is broken and rxjs
should be used.
diff --git a/package.json b/package.json
index f826d36..f043f3b 100644
--- a/package.json
+++ b/package.json
@@ -23,7 +23,7 @@
"@angular/platform-browser": "^2.4.1",
"@angular/platform-browser-dynamic": "^2.4.1",
"@angular/router": "^3.4.1",
- "@reactivex/rxjs": "^5.0.1",
+ "rxjs": "^5.0.1",
"@types/chai": "^3.4.34",
"admin-lte": "^2.3.8",
"angular2-jwt": "^0.1.24",
Hi,
Did you manage to have a github-pages working with your app using ng github-pages:deploy --user-page --message "Optional commit message"
?
When i try the page get created but the app is just not working at all...
See this page
Thanks
After using 'npm install', when trying to start template using 'npm start', it not works. It throws an error
npm install shows this error:
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm WARN [email protected] requires a peer of @types/[email protected] but none was installed.
npm start show following error:
Could not start watchman; falling back to NodeWatcher for file system events.
Visit http://ember-cli.com/user-guide/#watchman for more info.
ENOENT: no such file or directory, stat '/home/afsal/Downloads/ng2-admin/ng2-lte/ng2-admin-lte/src/assets'
Error: ENOENT: no such file or directory, stat '/home/afsal/Downloads/ng2-admin/ng2-lte/ng2-admin-lte/src/assets'
why this happens..?
please help me...
i have an issue in building the project in production mode, it gives some errors :
Hi
It seems like the right control bar does not work. At least not for me.
When I click on the "control-sidebar" the page just redirect to the home page
<!-- Control Sidebar Toggle Button -->
<li>
<a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
</li>
From what I understand the toggle function is here:
$.AdminLTE.controlSidebar = {
//instantiate the object
activate: function () {
console.log("activate control-sidebar");
//Get the object
var _this = this;
//Update options
var o = $.AdminLTE.options.controlSidebarOptions;
//Get the sidebar
var sidebar = $(o.selector);
//The toggle button
var btn = $(o.toggleBtnSelector);
//Listen to the click event
btn.on('click', function (e) {
e.preventDefault();
console.log("toggle right sidebar");
//If the sidebar is not open
if (!sidebar.hasClass('control-sidebar-open')
&& !$('body').hasClass('control-sidebar-open')) {
//Open the sidebar
_this.open(sidebar, o.slide);
} else {
_this.close(sidebar, o.slide);
}
});
Seems like jquery can't find the toggle button and the e.PreventDefault() etc is not triggered
➜ ng2-admin-lte git:(master) npm start
> [email protected] start /home/iskiridomov/dialect/portal2/ng2-admin-lte
> ng serve
Hash: 814360cc5724cd5a4737 Time: 18931ms
chunk {0} main.bundle.js, main.bundle.map (main) 73.6 kB {3} [initial] [rendered]
chunk {1} styles.bundle.js, styles.bundle.map (styles) 423 kB {4} [initial] [rendered]
chunk {2} scripts.bundle.js, scripts.bundle.map (scripts) 400 kB {4} [initial] [rendered]
chunk {3} vendor.bundle.js, vendor.bundle.map (vendor) 5.43 MB [initial] [rendered]
chunk {4} inline.bundle.js, inline.bundle.map (inline) 0 bytes [entry] [rendered]
ERROR in Cannot read property 'listLazyRoutes' of undefined
webpack: bundle is now VALID.
➜ ng2-admin-lte git:(master) npm -v
3.10.9
➜ ng2-admin-lte git:(master) node -v
v6.9.2
➜ ng2-admin-lte git:(master) npm i
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN @ngtools/[email protected] requires a peer of @angular/compiler@^2.3.1 but none was installed.
npm WARN @ngtools/[email protected] requires a peer of @angular/compiler-cli@^2.3.1 but none was installed.
npm WARN @ngtools/[email protected] requires a peer of @angular/core@^2.3.1 but none was installed.
➜ ng2-admin-lte git:(master)
Hi,
When I ported application over apache cordova it stopped navigation between pages. Can you please help?
Can you make your bootstrap to be npm package?
create breadcrumb service for header title
it should get the info from the router or menu infos, so it could display a title without having to define one
Hi,guys,
Afer run "npm install", when I run npm start, a error occurs.
> [email protected] start D:\project\github\AngularProject\ng2-admin-lte
> ng serve
can't resolve module @angular/core/src/di/opaque_token from D:\project\github\AngularProject\ng2-admin-lte\src\index.ts
Cannot read property 'parse' of undefined
TypeError: Cannot read property 'parse' of undefined
at ReflectorHost.normalizeAssetUrl (D:\project\github\AngularProject\ng2-admin-lte\node_modules\@angular\compiler-cli\src\reflector_host.js:54:43)
at ReflectorHost.findDeclaration (D:\project\github\AngularProject\ng2-admin-lte\node_modules\@angular\compiler-cli\src\reflector_host.js:151:33)
at StaticReflector.initializeConversionMap (D:\project\github\AngularProject\ng2-admin-lte\node_modules\@angular\compiler-cli\src\static_reflector.js:145:38)
at new StaticReflector (D:\project\github\AngularProject\ng2-admin-lte\node_modules\@angular\compiler-cli\src\static_reflector.js:42:14)
at AotPlugin._setupOptions (D:\project\github\AngularProject\ng2-admin-lte\node_modules\@ngtools\webpack\src\plugin.js:137:27)
at new AotPlugin (D:\project\github\AngularProject\ng2-admin-lte\node_modules\@ngtools\webpack\src\plugin.js:37:14)
at Object.exports.getWebpackNonAotConfigPartial (D:\project\github\AngularProject\ng2-admin-lte\node_modules\angular-cli\models\webpack-build-typescript.js:20:13)
at new NgCliWebpackConfig (D:\project\github\AngularProject\ng2-admin-lte\node_modules\angular-cli\models\webpack-config.js:23:42)
at Class.run (D:\project\github\AngularProject\ng2-admin-lte\node_modules\angular-cli\tasks\serve-webpack.js:20:22)
at D:\project\github\AngularProject\ng2-admin-lte\node_modules\angular-cli\commands\serve.js:102:26
at process._tickCallback (internal/process/next_tick.js:103:7)
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_global\\node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! node v6.9.2
npm ERR! npm v4.0.3
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start: `ng serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'ng serve'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ng2-admin-lte package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ng serve
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs ng2-admin-lte
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls ng2-admin-lte
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! D:\project\github\AngularProject\ng2-admin-lte\npm-debug.log
and I can't find the file in the path “D:\project\github\AngularProject\ng2-admin-lte\src\index.ts”.
how to resolve this problem? appreciate everyone for help.
Hi,
i'm about to add auth0-lock for authentication. With aut0 and auth0-lock, you can have a full authentication process (login/logout/sigin/reset pwd/google auth etc...).
Is that somewthing you would like a PR for?
I think it would be a good practice to not have _models, _services and _widget.
Also, having a pages folder to hold 'home' and 'page-num' would be great.
by the way, your doing a good job!
Hi thanks for your work.
I have the following error with your project. I wonder if you had to face it :
USER@Dell:~/Bureau/labo/4/ng2-admin-lte$ npm install
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN [email protected] requires a peer of [email protected] but none was installed.
USER@Dell:~/Bureau/labo/4/ng2-admin-lte$ npm start
> [email protected] start /home/USER/Bureau/labo/4/ng2-admin-lte
> ng serve --host 0.0.0.0
** NG Live Development Server is running on http://0.0.0.0:4200 **
22% building modules 102/158 modules 56 active ...odules/ionicons/dist/css/ionicons.csswebpack: wait until bundle finished: /
Hash: b2b37160c4b548c67211
Time: 25236ms
chunk {0} main.bundle.js, main.bundle.js.map (main) 89.3 kB {3} [initial] [rendered]
chunk {1} styles.bundle.js, styles.bundle.js.map (styles) 415 kB {4} [initial] [rendered]
chunk {2} scripts.bundle.js, scripts.bundle.js.map (scripts) 401 kB {4} [initial] [rendered]
chunk {3} vendor.bundle.js, vendor.bundle.js.map (vendor) 4.89 MB [initial] [rendered]
chunk {4} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry] [rendered]
ERROR in /home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/app-footer/app-footer.component.spec.ts (2,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'beforeEach'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/app-footer/app-footer.component.spec.ts (3,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'beforeEachProviders'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/app-footer/app-footer.component.spec.ts (4,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'describe'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/app-footer/app-footer.component.spec.ts (5,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'expect'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/app-footer/app-footer.component.spec.ts (6,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'it'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/app-footer/app-footer.component.spec.ts (9,10): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/compiler/testing/index"' has no exported member 'ComponentFixture'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/app-footer/app-footer.component.spec.ts (9,28): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/compiler/testing/index"' has no exported member 'TestComponentBuilder'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/app-footer/app-footer.component.spec.ts (12,36): Cannot find module './app-header.component'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/app-footer/app-footer.component.spec.ts (38,3): Argument of type '{ directives: any[]; selector: string; template: string; }' is not assignable to parameter of type 'Component'.
Object literal may only specify known properties, and 'directives' does not exist in type 'Component'.
ERROR in /home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/app-header/app-header.component.spec.ts (2,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'beforeEach'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/app-header/app-header.component.spec.ts (3,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'beforeEachProviders'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/app-header/app-header.component.spec.ts (4,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'describe'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/app-header/app-header.component.spec.ts (5,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'expect'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/app-header/app-header.component.spec.ts (6,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'it'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/app-header/app-header.component.spec.ts (9,10): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/compiler/testing/index"' has no exported member 'ComponentFixture'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/app-header/app-header.component.spec.ts (9,28): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/compiler/testing/index"' has no exported member 'TestComponentBuilder'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/app-header/app-header.component.spec.ts (38,3): Argument of type '{ directives: typeof AppHeaderComponent[]; selector: string; template: string; }' is not assignable to parameter of type 'Component'.
Object literal may only specify known properties, and 'directives' does not exist in type 'Component'.
ERROR in /home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/control-sidebar/control-sidebar.component.spec.ts (2,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'beforeEach'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/control-sidebar/control-sidebar.component.spec.ts (3,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'beforeEachProviders'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/control-sidebar/control-sidebar.component.spec.ts (4,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'describe'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/control-sidebar/control-sidebar.component.spec.ts (5,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'expect'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/control-sidebar/control-sidebar.component.spec.ts (6,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'it'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/control-sidebar/control-sidebar.component.spec.ts (9,10): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/compiler/testing/index"' has no exported member 'ComponentFixture'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/control-sidebar/control-sidebar.component.spec.ts (9,28): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/compiler/testing/index"' has no exported member 'TestComponentBuilder'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/control-sidebar/control-sidebar.component.spec.ts (12,36): Cannot find module './app-header.component'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/control-sidebar/control-sidebar.component.spec.ts (38,3): Argument of type '{ directives: any[]; selector: string; template: string; }' is not assignable to parameter of type 'Component'.
Object literal may only specify known properties, and 'directives' does not exist in type 'Component'.
ERROR in /home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/menu-aside/menu-aside.component.spec.ts (2,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'beforeEach'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/menu-aside/menu-aside.component.spec.ts (3,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'beforeEachProviders'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/menu-aside/menu-aside.component.spec.ts (4,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'describe'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/menu-aside/menu-aside.component.spec.ts (5,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'expect'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/menu-aside/menu-aside.component.spec.ts (6,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'it'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/menu-aside/menu-aside.component.spec.ts (9,10): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/compiler/testing/index"' has no exported member 'ComponentFixture'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/menu-aside/menu-aside.component.spec.ts (9,28): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/compiler/testing/index"' has no exported member 'TestComponentBuilder'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/menu-aside/menu-aside.component.spec.ts (38,3): Argument of type '{ directives: typeof MenuAsideComponent[]; selector: string; template: string; }' is not assignable to parameter of type 'Component'.
Object literal may only specify known properties, and 'directives' does not exist in type 'Component'.
ERROR in /home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/messages-box/messages-box.component.spec.ts (2,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'beforeEach'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/messages-box/messages-box.component.spec.ts (3,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'beforeEachProviders'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/messages-box/messages-box.component.spec.ts (4,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'describe'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/messages-box/messages-box.component.spec.ts (5,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'expect'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/messages-box/messages-box.component.spec.ts (6,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'it'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/messages-box/messages-box.component.spec.ts (9,10): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/compiler/testing/index"' has no exported member 'ComponentFixture'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/messages-box/messages-box.component.spec.ts (9,28): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/compiler/testing/index"' has no exported member 'TestComponentBuilder'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/messages-box/messages-box.component.spec.ts (38,3): Argument of type '{ directives: typeof MessagesBoxComponent[]; selector: string; template: string; }' is not assignable to parameter of type 'Component'.
Object literal may only specify known properties, and 'directives' does not exist in type 'Component'.
ERROR in /home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/notification-box/notification-box.component.spec.ts (2,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'beforeEach'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/notification-box/notification-box.component.spec.ts (3,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'beforeEachProviders'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/notification-box/notification-box.component.spec.ts (4,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'describe'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/notification-box/notification-box.component.spec.ts (5,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'expect'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/notification-box/notification-box.component.spec.ts (6,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'it'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/notification-box/notification-box.component.spec.ts (9,10): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/compiler/testing/index"' has no exported member 'ComponentFixture'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/notification-box/notification-box.component.spec.ts (9,28): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/compiler/testing/index"' has no exported member 'TestComponentBuilder'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/notification-box/notification-box.component.spec.ts (38,3): Argument of type '{ directives: typeof NotificationBoxComponent[]; selector: string; template: string; }' is not assignable to parameter of type 'Component'.
Object literal may only specify known properties, and 'directives' does not exist in type 'Component'.
ERROR in /home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/tasks-box/tasks-box.component.spec.ts (2,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'beforeEach'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/tasks-box/tasks-box.component.spec.ts (3,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'beforeEachProviders'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/tasks-box/tasks-box.component.spec.ts (4,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'describe'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/tasks-box/tasks-box.component.spec.ts (5,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'expect'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/tasks-box/tasks-box.component.spec.ts (6,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'it'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/tasks-box/tasks-box.component.spec.ts (9,10): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/compiler/testing/index"' has no exported member 'ComponentFixture'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/tasks-box/tasks-box.component.spec.ts (9,28): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/compiler/testing/index"' has no exported member 'TestComponentBuilder'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/tasks-box/tasks-box.component.spec.ts (38,3): Argument of type '{ directives: typeof TasksBoxComponent[]; selector: string; template: string; }' is not assignable to parameter of type 'Component'.
Object literal may only specify known properties, and 'directives' does not exist in type 'Component'.
ERROR in /home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/user-box/user-box.component.spec.ts (2,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'beforeEach'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/user-box/user-box.component.spec.ts (3,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'beforeEachProviders'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/user-box/user-box.component.spec.ts (4,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'describe'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/user-box/user-box.component.spec.ts (5,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'expect'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/user-box/user-box.component.spec.ts (6,3): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/core/testing/index"' has no exported member 'it'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/user-box/user-box.component.spec.ts (9,10): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/compiler/testing/index"' has no exported member 'ComponentFixture'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/user-box/user-box.component.spec.ts (9,28): Module '"/home/USER/Bureau/labo/4/ng2-admin-lte/node_modules/@angular/compiler/testing/index"' has no exported member 'TestComponentBuilder'.
/home/USER/Bureau/labo/4/ng2-admin-lte/src/app/widgets/user-box/user-box.component.spec.ts (38,3): Argument of type '{ directives: typeof UserBoxComponent[]; selector: string; template: string; }' is not assignable to parameter of type 'Component'.
Object literal may only specify known properties, and 'directives' does not exist in type 'Component'.
webpack: Failed to compile.
How to make bundles with minified assets?
Do you have alternate index.html
without including cdn sources?
With a fresh clone from master, npm install fails with:
npm WARN [email protected] requires a peer of [email protected] but none was installed.
npm WARN [email protected] requires a peer of [email protected] but none was installed.
npm WARN [email protected] requires a peer of [email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of [email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of [email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of [email protected] but none was installed.
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.