Not able to build with "primeng": "1.0.0-beta.7"

UI Components for Angular
Post Reply
yogesh.kumar.pandey
Posts: 4
Joined: 08 Jun 2016, 09:05

08 Jun 2016, 09:24

Hello,

I just update "primeng": "1.0.0-beta.4" to "primeng": "1.0.0-beta.7" and not able to build the application.

Package.json 1.0.0-beta.4
{
"name": "primeng-quickstart",
"version": "v1.0.0-SNAPSHOT",
"scripts": {
"postinstall": "npm run typings install",
"tsc": "tsc",
"tsc:w": "tsc -w",
"lite": "lite-server",
"start": "concurrently \"npm run tsc:w\" \"npm run lite\" ",
"typings" : "typings"
},
"license": "ISC",
"dependencies": {
"angular2": "2.0.0-beta.17",
"systemjs": "0.19.26",
"es6-shim": "^0.35.0",
"reflect-metadata": "0.1.2",
"rxjs": "5.0.0-beta.6",
"zone.js": "0.6.12",
"primeng": "1.0.0-beta.4",
"primeui": "4.1.9"
},
"devDependencies": {
"concurrently": "^2.0.0",
"lite-server": "^2.2.0",
"typescript": "^1.8.10",
"typings": "^0.8.1"
}
}

Package.json 1.0.0-beta.7

{
"name": "primeng-quickstart",
"version": "v1.0.0-SNAPSHOT",
"scripts": {
"postinstall": "npm run typings install",
"tsc": "tsc",
"tsc:w": "tsc -w",
"lite": "lite-server",
"start": "tsc && concurrently \"npm run tsc:w\" \"npm run lite\" ",
"typings" : "typings"
},
"license": "ISC",
"dependencies": {
"@angular/common": "2.0.0-rc.1",
"@angular/compiler": "2.0.0-rc.1",
"@angular/core": "2.0.0-rc.1",
"@angular/http": "2.0.0-rc.1",
"@angular/platform-browser": "2.0.0-rc.1",
"@angular/platform-browser-dynamic": "2.0.0-rc.1",
"@angular/router": "2.0.0-rc.1",
"@angular/router-deprecated": "2.0.0-rc.1",
"@angular/upgrade": "2.0.0-rc.1",
"systemjs": "0.19.27",
"es6-shim": "^0.35.0",
"reflect-metadata": "^0.1.3",
"rxjs": "5.0.0-beta.6",
"zone.js": "^0.6.12",
"angular2-in-memory-web-api": "0.0.7",
"primeng": "1.0.0-beta.7",
"primeui": "4.1.12"
},
"devDependencies": {
"concurrently": "^2.0.0",
"lite-server": "^2.2.0",
"typescript": "^1.8.10",
"typings": "^0.8.1"
}
}


npm-debug.log:

132 verbose validateInstall loading C:\git\DevNew2\PrivacyIn\PrivacyInServices\src\main\resources\static\package.json for validation
133 verbose stack Error: The package reflect-metadata@0.1.3 does not satisfy its siblings' peerDependencies requirements!
133 verbose stack at C:\Program Files\nodejs\node_modules\npm\lib\install.js:125:32
133 verbose stack at C:\Program Files\nodejs\node_modules\npm\lib\install.js:268:7
133 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\read-installed\read-installed.js:142:5
133 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\read-installed\read-installed.js:263:14
133 verbose stack at cb (C:\Program Files\nodejs\node_modules\npm\node_modules\slide\lib\async-map.js:47:24)
133 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\read-installed\read-installed.js:263:14
133 verbose stack at cb (C:\Program Files\nodejs\node_modules\npm\node_modules\slide\lib\async-map.js:47:24)
133 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\read-installed\read-installed.js:263:14
133 verbose stack at cb (C:\Program Files\nodejs\node_modules\npm\node_modules\slide\lib\async-map.js:47:24)
133 verbose stack at C:\Program Files\nodejs\node_modules\npm\node_modules\read-installed\read-installed.js:263:14
134 verbose cwd C:\git\DevNew2\PrivacyIn\PrivacyInServices\src\main\resources\static
135 error Windows_NT 6.1.7601
136 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
137 error node v4.4.4
138 error npm v2.15.1
139 error code EPEERINVALID
140 error peerinvalid The package reflect-metadata@0.1.3 does not satisfy its siblings' peerDependencies requirements!
140 error peerinvalid Peer angular2@2.0.0-beta.17 wants reflect-metadata@0.1.2
141 verbose exit [ 1, true ]

Thanks,

mthor1979
Posts: 79
Joined: 03 Mar 2016, 07:26

08 Jun 2016, 15:04

you might want to update your json file completely.

Code: Select all

{
  "name": "angular2-seed",
  "version": "0.0.0",
  "description": "Modular seed project for Angular 2 apps with fast, statically typed build",
  "repository": {
    "url": "https://github.com/mgechev/angular2-seed"
  },
  "scripts": {
    "build.dev": "gulp build.dev --color",
    "build.dev.watch": "gulp build.dev.watch --color",
    "build.e2e": "gulp build.e2e --color",
    "build.prod": "gulp build.prod --color",
    "build.test": "gulp build.test --color",
    "build.test.watch": "gulp build.test.watch --color",
    "generate.manifest": "gulp generate.manifest --color",
    "e2e": "protractor",
    "e2e.live": "protractor --elementExplorer",
    "gulp": "gulp",
    "karma": "karma",
    "karma.start": "karma start",
    "postinstall": "typings install && gulp check.versions && npm prune && gulp webdriver",
    "reinstall": "npm cache clean && npm install",
    "serve.coverage": "remap-istanbul -b src/ -i coverage/coverage-final.json -o coverage -t html && npm run gulp -- serve.coverage --color",
    "serve.dev": "gulp serve.dev --color",
    "serve.e2e": "gulp serve.e2e --color",
    "serve.prod": "gulp serve.prod --color",
    "start": "gulp serve.dev --color",
    "tasks.list": "gulp --tasks-simple --color",
    "test": "gulp test --color",
    "e2e.ci": "gulp build.prod --color && gulp build.js.e2e --color && gulp e2e --color",
    "tests.all": "npm test && npm run e2e.ci",
    "webdriver-start": "webdriver-manager start",
    "webdriver-update": "webdriver-manager update"
  },
  "author": "Minko Gechev <mgechev>",
  "license": "MIT",
  "devDependencies": {
    "async": "^1.4.2",
    "autoprefixer": "^6.3.6",
    "browser-sync": "^2.11.2",
    "chalk": "^1.1.3",
    "codelyzer": "0.0.20",
    "colorguard": "^1.1.1",
    "connect": "^3.4.1",
    "connect-history-api-fallback": "^1.2.0",
    "connect-livereload": "^0.5.3",
    "cssnano": "^3.5.2",
    "deep-extend": "^0.4.1",
    "doiuse": "^2.3.0",
    "event-stream": "^3.3.2",
    "express": "~4.13.4",
    "express-history-api-fallback": "^2.0.0",
    "extend": "^3.0.0",
    "gulp": "^3.9.1",
    "gulp-cached": "^1.1.0",
    "gulp-clean-css": "^2.0.7",
    "gulp-concat": "^2.6.0",
    "gulp-concat-css": "^2.2.0",
    "gulp-filter": "^4.0.0",
    "gulp-inject": "^4.0.0",
    "gulp-inline-ng2-template": "^1.1.2",
    "gulp-load-plugins": "^1.2.2",
    "gulp-plumber": "~1.1.0",
    "gulp-postcss": "^6.1.1",
    "gulp-progeny": "^0.2.1",
    "gulp-protractor": "^2.3.0",
    "gulp-replace": "^0.5.4",
    "gulp-sass": "^2.3.1",
    "gulp-sass-lint": "^1.1.1",
    "gulp-shell": "~0.5.2",
    "gulp-sourcemaps": "2.0.0-alpha",
    "gulp-template": "^4.0.0",
    "gulp-tslint": "^4.3.3",
    "gulp-typescript": "~2.13.4",
    "gulp-uglify": "^1.5.3",
    "gulp-util": "^3.0.7",
    "gulp-watch": "^4.3.5",
    "is-ci": "^1.0.8",
    "isstream": "^0.1.2",
    "jasmine-core": "~2.4.1",
    "jasmine-spec-reporter": "^2.4.0",
    "karma": "~0.13.22",
    "karma-chrome-launcher": "~1.0.1",
    "karma-coverage": "^1.0.0",
    "karma-ie-launcher": "^1.0.0",
    "karma-jasmine": "~1.0.2",
    "karma-mocha-reporter": "^2.0.3",
    "karma-phantomjs-launcher": "^1.0.0",
    "merge-stream": "^1.0.0",
    "open": "0.0.5",
    "phantomjs-prebuilt": "^2.1.7",
    "postcss-reporter": "^1.3.3",
    "protractor": "^3.3.0",
    "remap-istanbul": "^0.6.3",
    "rimraf": "^2.5.2",
    "run-sequence": "^1.1.5",
    "semver": "^5.1.0",
    "serve-static": "^1.10.2",
    "slash": "~1.0.0",
    "stream-series": "^0.1.1",
    "stylelint": "^6.3.3",
    "stylelint-config-standard": "^6.0.0",
    "systemjs-builder": "^0.15.14",
    "tildify": "^1.2.0",
    "tiny-lr": "^0.2.1",
    "traceur": "^0.0.91",
    "ts-node": "^0.7.3",
    "tslint": "^3.10.2",
    "tslint-stylish": "2.1.0-beta",
    "typescript": "~1.8.10",
    "typings": "^1.0.4",
    "vinyl-buffer": "^1.0.0",
    "vinyl-source-stream": "^1.1.0",
    "walk": "^2.3.9",
    "yargs": "^4.2.0"
  },
  "dependencies": {
    "@angular/common": "2.0.0-rc.1",
    "@angular/compiler": "2.0.0-rc.1",
    "@angular/core": "2.0.0-rc.1",
    "@angular/http": "2.0.0-rc.1",
    "@angular/platform-browser": "2.0.0-rc.1",
    "@angular/platform-browser-dynamic": "2.0.0-rc.1",
    "@angular/router": "2.0.0-rc.1",
    "@angular/router-deprecated": "2.0.0-rc.1",
    "primeng": "^1.0.0-beta.8",
    "primeui": "^4.1.12",
    "rxjs": "5.0.0-beta.6",
    "systemjs": "0.19.26",
    "zone.js": "^0.6.12"
  }
}


yogesh.kumar.pandey
Posts: 4
Joined: 08 Jun 2016, 09:05

08 Jun 2016, 15:57

Thanks for quick response.

Now my package.json is as

Code: Select all

{
  "name": "primeng-quickstart",
  "version": "v1.0.0-SNAPSHOT",
  "scripts": {
    "postinstall": "npm run typings install",
    "tsc": "tsc",
    "tsc:w": "tsc -w",
    "lite": "lite-server",
    "start": "tsc && concurrently \"npm run tsc:w\" \"npm run lite\" ",
    "typings" : "typings"
  },
  "license": "ISC",
  "dependencies": {
    "@angular/common":  "2.0.0-rc.1",
    "@angular/compiler":  "2.0.0-rc.1",
    "@angular/core":  "2.0.0-rc.1",
    "@angular/http":  "2.0.0-rc.1",
    "@angular/platform-browser":  "2.0.0-rc.1",
    "@angular/platform-browser-dynamic":  "2.0.0-rc.1",
    "@angular/router":  "2.0.0-rc.1",
    "@angular/router-deprecated":  "2.0.0-rc.1",
    "@angular/upgrade":  "2.0.0-rc.1",
    "systemjs": "0.19.27",
    "es6-shim": "^0.35.0",
    "reflect-metadata": "^0.1.3",
    "rxjs": "5.0.0-beta.6",
    "zone.js": "^0.6.12",
    "angular2-in-memory-web-api": "0.0.7",
    "primeng": "1.0.0-beta.6",
    "primeui": "4.1.11"
  },
  "devDependencies": {
    "concurrently": "^2.0.0",
    "lite-server": "^2.2.0",
    "typescript": "^1.8.10",
    "typings": "^0.8.1"
  }
}
And i am able to build my application but once i run npm start

error TS5055: Cannot write file 'bin/boot.d.ts' because it would overwrite input file.
error TS5055: Cannot write file 'bin/cars/car.d.ts' because it would overwrite input file.
error TS5055: Cannot write file 'bin/cars/carservice.d.ts' because it would overwrite input file.
error TS5055: Cannot write file 'bin/css/app.component.d.ts' because it would overwrite input file.
error TS5055: Cannot write file 'bin/entities/category.table.d.ts' because it would overwrite input file.
error TS5055: Cannot write file 'bin/entities/questionaire.d.ts' because it would overwrite input file.
error TS5055: Cannot write file 'bin/graphFour.component.d.ts' because it would overwrite input file.
error TS5055: Cannot write file 'bin/graphOne.component.d.ts' because it would overwrite input file.
error TS5055: Cannot write file 'bin/graphThree.component.d.ts' because it would overwrite input file.
error TS5055: Cannot write file 'bin/graphTwo.component.d.ts' because it would overwrite input file.
error TS5055: Cannot write file 'bin/privacyForm/first.form.d.ts' because it would overwrite input file.
error TS5055: Cannot write file 'bin/questionFive.component.d.ts' because it would overwrite input file.
error TS5055: Cannot write file 'bin/questionFour.component.d.ts' because it would overwrite input file.
error TS5055: Cannot write file 'bin/questionOne.component.d.ts' because it would overwrite input file.
error TS5055: Cannot write file 'bin/questionThree.component.d.ts' because it would overwrite input file.
error TS5055: Cannot write file 'bin/questionTwo.component.d.ts' because it would overwrite input file.
error TS5055: Cannot write file 'bin/services/LabelName.Service.d.ts' because it would overwrite input file.
error TS5055: Cannot write file 'bin/services/MasterData.service.d.ts' because it would overwrite input file.
error TS5055: Cannot write file 'bin/services/questionDetails.d.ts' because it would overwrite input file.
error TS5055: Cannot write file 'bin/services/questionaire.d.ts' because it would overwrite input file.

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! node v4.4.5
npm ERR! npm v2.15.5
npm ERR! code ELIFECYCLE
npm ERR! primeng-quickstart@1.0.0-SNAPSHOT start: `tsc && concurrently "npm run tsc:w" "npm run lite" `
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the primeng-quickstart@1.0.0-SNAPSHOT start script 'tsc && concurrently "npm run tsc:w" "npm run lite" '.
npm ERR! This is most likely a problem with the primeng-quickstart package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! tsc && concurrently "npm run tsc:w" "npm run lite"
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs primeng-quickstart
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls primeng-quickstart
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! C:\Angular\PrivacyIn\PrivacyInServices\src\main\resources\static\npm-debug.log

The tsconfig file is

Code: Select all

{
    "compilerOptions": {
        "target": "ES5",
        "module": "system",
        "outDir": "bin",
        "moduleResolution": "node",
        "sourceMap": true,
        "emitDecoratorMetadata": true,
        "experimentalDecorators": true,
        "removeComments": false,
        "noImplicitAny": false,
        "declaration": true
    },
    "compileOnSave": false,
    "buildOnSave": false,
    "exclude": [
        "node_modules",
        "typings/main",
        "typings/main.d.ts"
    ]
}


Please help on this ,Thanks in advance.

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 8 guests