Comments (5)
Hello,
You need angular-cli bêta 21
I'm having the same issue with 22
from bootstraping-ngx-admin-lte.
It's also seems fixed with beta 24, so we should probably try to upgrade https://github.com/angular/angular-cli#updating-angular-cli
from bootstraping-ngx-admin-lte.
I have upgraded to beta24. Remove node_modules and run npm i
npm run start
diff --git a/package.json b/package.json
index d7e51ed..a02ab4f 100644
--- a/package.json
+++ b/package.json
@@ -42,7 +42,7 @@
"devDependencies": {
"@types/auth0-lock": "^10.0.20",
"@types/jasmine": "^2.2.30",
- "angular-cli": "^1.0.0-beta.22-1",
+ "angular-cli": "^1.0.0-beta.24",
"codelyzer": "~0.0.26",
"jasmine-core": "2.4.1",
"jasmine-spec-reporter": "2.5.0",
Now when I run I have
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 [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.
npm WARN [email protected] requires a peer of tslint@^4.0.0 but none was installed.
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/core@^2.3.1 but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
npm WARN @angular/[email protected] requires a peer of @angular/[email protected] but none was installed.
➜ ng2-admin-lte git:(master) ✗ npm run start
> [email protected] start /home/iskiridomov/dialect/portal2/ng2-admin-lte
> ng serve
core_1.Version is not a constructor
TypeError: core_1.Version is not a constructor
at Object.<anonymous> (/home/iskiridomov/dialect/portal2/ng2-admin-lte/node_modules/@angular/compiler-cli/src/version.js:18:19)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/iskiridomov/dialect/portal2/ng2-admin-lte/node_modules/@angular/compiler-cli/index.js:24:17)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/iskiridomov/dialect/portal2/ng2-admin-lte/node_modules/@ngtools/webpack/src/plugin.js:5:22)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/iskiridomov/dialect/portal2/ng2-admin-lte/node_modules/@ngtools/webpack/src/index.js:6:10)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/iskiridomov/dialect/portal2/ng2-admin-lte/node_modules/angular-cli/models/webpack-build-typescript.js:3:17)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/iskiridomov/dialect/portal2/ng2-admin-lte/node_modules/angular-cli/models/webpack-config.js:2:34)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/iskiridomov/dialect/portal2/ng2-admin-lte/node_modules/angular-cli/tasks/build-webpack.js:6:24)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/iskiridomov/dialect/portal2/ng2-admin-lte/node_modules/angular-cli/commands/build.js:4:23)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Class.includedCommands (/home/iskiridomov/dialect/portal2/ng2-admin-lte/node_modules/angular-cli/addon/index.js:21:16)
at /home/iskiridomov/dialect/portal2/ng2-admin-lte/node_modules/angular-cli/ember-cli/lib/models/project.js:335:61
at Array.forEach (native)
at Project.addonCommands (/home/iskiridomov/dialect/portal2/ng2-admin-lte/node_modules/angular-cli/ember-cli/lib/models/project.js:334:15)
at Project.eachAddonCommand (/home/iskiridomov/dialect/portal2/ng2-admin-lte/node_modules/angular-cli/ember-cli/lib/models/project.js:369:30)
at module.exports (/home/iskiridomov/dialect/portal2/ng2-admin-lte/node_modules/angular-cli/ember-cli/lib/cli/lookup-command.js:33:13)
at CLI.<anonymous> (/home/iskiridomov/dialect/portal2/ng2-admin-lte/node_modules/angular-cli/ember-cli/lib/cli/cli.js:43:26)
at tryCatch (/home/iskiridomov/dialect/portal2/ng2-admin-lte/node_modules/rsvp/dist/rsvp.js:538:12)
at invokeCallback (/home/iskiridomov/dialect/portal2/ng2-admin-lte/node_modules/rsvp/dist/rsvp.js:553:13)
at publish (/home/iskiridomov/dialect/portal2/ng2-admin-lte/node_modules/rsvp/dist/rsvp.js:521:7)
at flush (/home/iskiridomov/dialect/portal2/ng2-admin-lte/node_modules/rsvp/dist/rsvp.js:2373:5)
at _combinedTickCallback (internal/process/next_tick.js:67:7)
at process._tickCallback (internal/process/next_tick.js:98:9)
npm ERR! Linux 4.8.0-30-generic
npm ERR! argv "/home/iskiridomov/.nvm/versions/node/v6.9.2/bin/node" "/home/iskiridomov/.nvm/versions/node/v6.9.2/bin/npm" "run" "start"
npm ERR! node v6.9.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! /home/iskiridomov/dialect/portal2/ng2-admin-lte/npm-debug.log
from bootstraping-ngx-admin-lte.
Pull the last version
I have fixed it this afternoon
Rm -rf node_modules
Npm cache clear
Git pull (if you are on my branch)
Npm install
from bootstraping-ngx-admin-lte.
Now it's good.
from bootstraping-ngx-admin-lte.
Related Issues (20)
- Every refresh will send the page to Login HOT 3
- Date picker HOT 4
- professional support
- getting error while starting npm HOT 2
- how you have added jquery support in ng2-admin-lte HOT 1
- typo HOT 1
- Problem with AOT compilation HOT 3
- Problem with ng build --prod HOT 1
- Can class "content" remove inner box style HOT 3
- docker image and linux problem with ng serve HOT 1
- How to deploy the application on production HOT 3
- Change skin admin lte
- Upgrade to bootstrap version 4 HOT 2
- Unable to see home after login HOT 1
- package.json script gen HOT 1
- I want to be a contributor HOT 4
- There is no menu in aside menu list HOT 2
- control-sidebar is Invalid
- Not able to go inside after login screen HOT 1
- Fix @angular/cli version HOT 1
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 bootstraping-ngx-admin-lte.