build primeng with gulp failed

UI Components for Angular
cagatay.civici
Prime
Posts: 18478
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

25 Mar 2016, 20:35


mcwebdev
Posts: 68
Joined: 03 Mar 2016, 02:16

25 Mar 2016, 20:51

I also tried doing a fresh install of the primeNG quick start and get similar error.

Code: Select all

> primeng-quickstart@1.0.0-SNAPSHOT postinstall C:\projects\test\primeng-quickstart
> npm run typings install

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\mattchar\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "run" "typings" "install"
npm ERR! node v4.3.1
npm ERR! npm  v3.8.3

npm ERR! missing script: typings
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! Please include the following file with any support request:
npm ERR!     C:\projects\test\primeng-quickstart\npm-debug.log

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" "install"
npm ERR! node v4.3.1
npm ERR! npm  v2.14.12
npm ERR! code ELIFECYCLE
npm ERR! primeng-quickstart@1.0.0-SNAPSHOT postinstall: `npm run typings install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the primeng-quickstart@1.0.0-SNAPSHOT postinstall script 'npm run typings install'.
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!     npm run typings install
npm ERR! You can get their info via:
npm ERR!     npm owner ls primeng-quickstart
npm ERR! There is likely additional logging output above.

cagatay.civici
Prime
Posts: 18478
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

25 Mar 2016, 22:07

Have you installed typings module as global?

https://www.npmjs.com/package/typings

Code: Select all

npm install typings --global

mcwebdev
Posts: 68
Joined: 03 Mar 2016, 02:16

25 Mar 2016, 22:19

Yes, I ran

Code: Select all

 npm install typings --global

cagatay.civici
Prime
Posts: 18478
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

25 Mar 2016, 22:52

Do you have npm log that shows the actual error?

mcwebdev
Posts: 68
Joined: 03 Mar 2016, 02:16

25 Mar 2016, 23:33

Code: Select all

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'install' ]
2 info using npm@2.14.20
3 info using node@v4.4.1
4 verbose readDependencies loading dependencies from C:\projects\testit\primeng-quickstart\package.json
5 warn package.json primeng-quickstart@v1.0.0-SNAPSHOT No repository field.
6 verbose install where, deps [ 'C:\\projects\\testit\\primeng-quickstart',
6 verbose install   [ 'angular2',
6 verbose install     'systemjs',
6 verbose install     'es6-promise',
6 verbose install     'es6-shim',
6 verbose install     'reflect-metadata',
6 verbose install     'rxjs',
6 verbose install     'zone.js',
6 verbose install     'primeng',
6 verbose install     'primeui',
6 verbose install     'concurrently',
6 verbose install     'lite-server',
6 verbose install     'typescript',
6 verbose install     'typings',
6 verbose install     'ts-loader',
6 verbose install     'del',
6 verbose install     'gulp',
6 verbose install     'gulp-concat',
6 verbose install     'gulp-flatten',
6 verbose install     'gulp-rename',
6 verbose install     'gulp-uglify',
6 verbose install     'gulp-uglifycss',
6 verbose install     'gulp-zip' ] ]
7 verbose install where, peers [ 'C:\\projects\\testit\\primeng-quickstart', [] ]
8 verbose installManyTop reading for lifecycle C:\projects\testit\primeng-quickstart\package.json
9 info preinstall primeng-quickstart@1.0.0-SNAPSHOT
10 verbose installManyTop reading scoped package data from C:\projects\testit\primeng-quickstart\node_modules\angular2\package.json
11 verbose installManyTop reading scoped package data from C:\projects\testit\primeng-quickstart\node_modules\concurrently\package.json
12 verbose installManyTop reading scoped package data from C:\projects\testit\primeng-quickstart\node_modules\del\package.json
13 verbose installManyTop reading scoped package data from C:\projects\testit\primeng-quickstart\node_modules\es6-promise\package.json
14 verbose installManyTop reading scoped package data from C:\projects\testit\primeng-quickstart\node_modules\es6-shim\package.json
15 verbose installManyTop reading scoped package data from C:\projects\testit\primeng-quickstart\node_modules\gulp\package.json
16 verbose installManyTop reading scoped package data from C:\projects\testit\primeng-quickstart\node_modules\gulp-concat\package.json
17 verbose installManyTop reading scoped package data from C:\projects\testit\primeng-quickstart\node_modules\gulp-flatten\package.json
18 verbose installManyTop reading scoped package data from C:\projects\testit\primeng-quickstart\node_modules\gulp-rename\package.json
19 verbose installManyTop reading scoped package data from C:\projects\testit\primeng-quickstart\node_modules\gulp-uglify\package.json
20 verbose installManyTop reading scoped package data from C:\projects\testit\primeng-quickstart\node_modules\gulp-uglifycss\package.json
21 verbose installManyTop reading scoped package data from C:\projects\testit\primeng-quickstart\node_modules\gulp-zip\package.json
22 verbose installManyTop reading scoped package data from C:\projects\testit\primeng-quickstart\node_modules\lite-server\package.json
23 verbose installManyTop reading scoped package data from C:\projects\testit\primeng-quickstart\node_modules\primeng\package.json
24 verbose installManyTop reading scoped package data from C:\projects\testit\primeng-quickstart\node_modules\primeui\package.json
25 verbose installManyTop reading scoped package data from C:\projects\testit\primeng-quickstart\node_modules\reflect-metadata\package.json
26 verbose installManyTop reading scoped package data from C:\projects\testit\primeng-quickstart\node_modules\rxjs\package.json
27 verbose installManyTop reading scoped package data from C:\projects\testit\primeng-quickstart\node_modules\systemjs\package.json
28 verbose installManyTop reading scoped package data from C:\projects\testit\primeng-quickstart\node_modules\ts-loader\package.json
29 verbose installManyTop reading scoped package data from C:\projects\testit\primeng-quickstart\node_modules\typescript\package.json
30 verbose installManyTop reading scoped package data from C:\projects\testit\primeng-quickstart\node_modules\typings\package.json
31 verbose installManyTop reading scoped package data from C:\projects\testit\primeng-quickstart\node_modules\zone.js\package.json
32 info package.json gulp-rename@1.2.2 No license field.
33 info package.json primeng@0.8.1 No repository field.
34 verbose readDependencies loading dependencies from C:\projects\testit\primeng-quickstart\package.json
35 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\angular2\package.json
36 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\concurrently\package.json
37 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\del\package.json
38 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\es6-promise\package.json
39 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\es6-shim\package.json
40 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\gulp\package.json
41 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\gulp-concat\package.json
42 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\gulp-flatten\package.json
43 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\gulp-rename\package.json
44 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\gulp-uglify\package.json
45 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\gulp-uglifycss\package.json
46 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\gulp-zip\package.json
47 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\lite-server\package.json
48 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\primeng\package.json
49 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\primeui\package.json
50 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\reflect-metadata\package.json
51 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\rxjs\package.json
52 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\systemjs\package.json
53 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\ts-loader\package.json
54 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\typescript\package.json
55 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\typings\package.json
56 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\zone.js\package.json
57 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\.bin\concurrent\package.json
58 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\.bin\concurrent.cmd\package.json
59 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\.bin\concurrently\package.json
60 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\.bin\concurrently.cmd\package.json
61 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\.bin\gulp\package.json
62 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\.bin\gulp.cmd\package.json
63 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\.bin\lite-server\package.json
64 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\.bin\lite-server.cmd\package.json
65 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\.bin\tsc\package.json
66 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\.bin\tsc.cmd\package.json
67 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\.bin\tsserver\package.json
68 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\.bin\tsserver.cmd\package.json
69 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\.bin\typings\package.json
70 verbose targetResolver reading package data from C:\projects\testit\primeng-quickstart\node_modules\.bin\typings.cmd\package.json
71 verbose already installed skipping primeui@4.1.5 C:\projects\testit\primeng-quickstart
72 verbose already installed skipping concurrently@^2.0.0 C:\projects\testit\primeng-quickstart
73 verbose already installed skipping lite-server@^2.1.0 C:\projects\testit\primeng-quickstart
74 verbose already installed skipping typescript@^1.8.7 C:\projects\testit\primeng-quickstart
75 verbose already installed skipping typings@^0.7.5 C:\projects\testit\primeng-quickstart
76 verbose already installed skipping ts-loader@^0.7.2 C:\projects\testit\primeng-quickstart
77 verbose already installed skipping del@^2.2.0 C:\projects\testit\primeng-quickstart
78 verbose already installed skipping gulp@^3.9.1 C:\projects\testit\primeng-quickstart
79 verbose already installed skipping gulp-concat@^2.6.0 C:\projects\testit\primeng-quickstart
80 verbose already installed skipping gulp-flatten@^0.2.0 C:\projects\testit\primeng-quickstart
81 verbose already installed skipping gulp-rename@^1.2.2 C:\projects\testit\primeng-quickstart
82 verbose already installed skipping gulp-uglify@^1.5.3 C:\projects\testit\primeng-quickstart
83 verbose already installed skipping gulp-uglifycss@^1.0.6 C:\projects\testit\primeng-quickstart
84 verbose already installed skipping gulp-zip@^3.2.0 C:\projects\testit\primeng-quickstart
85 verbose already installed skipping angular2@2.0.0-beta.9 C:\projects\testit\primeng-quickstart
86 verbose already installed skipping systemjs@0.19.24 C:\projects\testit\primeng-quickstart
87 verbose already installed skipping es6-promise@^3.0.2 C:\projects\testit\primeng-quickstart
88 verbose already installed skipping es6-shim@^0.35.0 C:\projects\testit\primeng-quickstart
89 verbose already installed skipping reflect-metadata@0.1.2 C:\projects\testit\primeng-quickstart
90 verbose already installed skipping rxjs@5.0.0-beta.2 C:\projects\testit\primeng-quickstart
91 verbose already installed skipping zone.js@0.5.15 C:\projects\testit\primeng-quickstart
92 verbose already installed skipping primeng@0.8.1 C:\projects\testit\primeng-quickstart
93 silly install resolved []
94 info build C:\projects\testit\primeng-quickstart
95 info linkStuff primeng-quickstart@1.0.0-SNAPSHOT
96 silly linkStuff primeng-quickstart@1.0.0-SNAPSHOT has C:\projects\testit as its parent node_modules
97 verbose linkBins primeng-quickstart@1.0.0-SNAPSHOT
98 verbose linkMans primeng-quickstart@1.0.0-SNAPSHOT
99 verbose rebuildBundles primeng-quickstart@1.0.0-SNAPSHOT
100 verbose rebuildBundles [ '.bin',
100 verbose rebuildBundles   'angular2',
100 verbose rebuildBundles   'concurrently',
100 verbose rebuildBundles   'del',
100 verbose rebuildBundles   'es6-promise',
100 verbose rebuildBundles   'es6-shim',
100 verbose rebuildBundles   'gulp',
100 verbose rebuildBundles   'gulp-concat',
100 verbose rebuildBundles   'gulp-flatten',
100 verbose rebuildBundles   'gulp-rename',
100 verbose rebuildBundles   'gulp-uglify',
100 verbose rebuildBundles   'gulp-uglifycss',
100 verbose rebuildBundles   'gulp-zip',
100 verbose rebuildBundles   'lite-server',
100 verbose rebuildBundles   'primeng',
100 verbose rebuildBundles   'primeui',
100 verbose rebuildBundles   'reflect-metadata',
100 verbose rebuildBundles   'rxjs',
100 verbose rebuildBundles   'systemjs',
100 verbose rebuildBundles   'ts-loader',
100 verbose rebuildBundles   'typescript',
100 verbose rebuildBundles   'typings',
100 verbose rebuildBundles   'zone.js' ]
101 info install primeng-quickstart@1.0.0-SNAPSHOT
102 info postinstall primeng-quickstart@1.0.0-SNAPSHOT
103 verbose unsafe-perm in lifecycle true
104 info primeng-quickstart@1.0.0-SNAPSHOT Failed to exec postinstall script
105 verbose stack Error: primeng-quickstart@1.0.0-SNAPSHOT postinstall: `npm run typings install`
105 verbose stack Exit status 1
105 verbose stack     at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:214:16)
105 verbose stack     at emitTwo (events.js:87:13)
105 verbose stack     at EventEmitter.emit (events.js:172:7)
105 verbose stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:24:14)
105 verbose stack     at emitTwo (events.js:87:13)
105 verbose stack     at ChildProcess.emit (events.js:172:7)
105 verbose stack     at maybeClose (internal/child_process.js:827:16)
105 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
106 verbose pkgid primeng-quickstart@1.0.0-SNAPSHOT
107 verbose cwd C:\projects\testit\primeng-quickstart
108 error Windows_NT 6.1.7601
109 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
110 error node v4.4.1
111 error npm  v2.14.20
112 error code ELIFECYCLE
113 error primeng-quickstart@1.0.0-SNAPSHOT postinstall: `npm run typings install`
113 error Exit status 1
114 error Failed at the primeng-quickstart@1.0.0-SNAPSHOT postinstall script 'npm run typings install'.
114 error This is most likely a problem with the primeng-quickstart package,
114 error not with npm itself.
114 error Tell the author that this fails on your system:
114 error     npm run typings install
114 error You can get information on how to open an issue for this project with:
114 error     npm bugs primeng-quickstart
114 error Or if that isn't available, you can get their info via:
114 error
114 error     npm owner ls primeng-quickstart
114 error There is likely additional logging output above.
115 verbose exit [ 1, true ]

cagatay.civici
Prime
Posts: 18478
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

29 Mar 2016, 09:40

The error doesn't tell much, you can just get the typings manually by "typings install"

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 11 guests