Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error on Windows 7 64 bit #1

Open
wowczarczyk opened this issue Mar 19, 2016 · 3 comments
Open

Build error on Windows 7 64 bit #1

wowczarczyk opened this issue Mar 19, 2016 · 3 comments

Comments

@wowczarczyk
Copy link

npm install gives the following output (building simple angular2-seed project works fine):

[email protected] install c:\dev\libs\angular2\examples\angular2-seed-example-mashup\node_modules\bufferutil
node-gyp rebuild


\dev\libs\angular2\examples\angular2-seed-example-mashup\node_modules\bufferutil>if not defined npm_config_node_gyp (node "C:\Users\wowczarczyk\AppData\Roamin
npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "" rebuild )
ilding the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
bufferutil.cc
win_delay_load_hook.c
   Creating library c:\dev\libs\angular2\examples\angular2-seed-example-mashup\node_modules\bufferutil\build\Release\bufferutil.lib and object c:\dev\libs\an
gular2\examples\angular2-seed-example-mashup\node_modules\bufferutil\build\Release\bufferutil.exp
Generating code
Finished generating code
bufferutil.vcxproj -> c:\dev\libs\angular2\examples\angular2-seed-example-mashup\node_modules\bufferutil\build\Release\\bufferutil.node

[email protected] install c:\dev\libs\angular2\examples\angular2-seed-example-mashup\node_modules\utf-8-validate
node-gyp rebuild


\dev\libs\angular2\examples\angular2-seed-example-mashup\node_modules\utf-8-validate>if not defined npm_config_node_gyp (node "C:\Users\wowczarczyk\AppData\Ro
ing\npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "" rebuild )
ilding the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
validation.cc
win_delay_load_hook.c
   Creating library c:\dev\libs\angular2\examples\angular2-seed-example-mashup\node_modules\utf-8-validate\build\Release\validation.lib and object c:\dev\lib
s\angular2\examples\angular2-seed-example-mashup\node_modules\utf-8-validate\build\Release\validation.exp
Generating code
Finished generating code
validation.vcxproj -> c:\dev\libs\angular2\examples\angular2-seed-example-mashup\node_modules\utf-8-validate\build\Release\\validation.node

[email protected] install c:\dev\libs\angular2\examples\angular2-seed-example-mashup\node_modules\bcrypt
node-gyp rebuild


\dev\libs\angular2\examples\angular2-seed-example-mashup\node_modules\bcrypt>if not defined npm_config_node_gyp (node "C:\Users\wowczarczyk\AppData\Roaming\np
node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "" rebuild )
ilding the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
blowfish.cc
bcrypt.cc
bcrypt_node.cc
\src\bcrypt.cc(232): warning C4267: '=' : conversion from 'size_t' to 'unsigned char', possible loss of data [c:\dev\libs\angular2\examples\angular2-seed-exa
le-mashup\node_modules\bcrypt\build\bcrypt_lib.vcxproj]
\src\bcrypt_node.cc(76): warning C4244: 'argument' : conversion from 'ssize_t' to 'unsigned char', possible loss of data [c:\dev\libs\angular2\examples\angul
2-seed-example-mashup\node_modules\bcrypt\build\bcrypt_lib.vcxproj]
\src\bcrypt_node.cc(135): warning C4244: 'argument' : conversion from 'const ssize_t' to 'unsigned char', possible loss of data [c:\dev\libs\angular2\example
angular2-seed-example-mashup\node_modules\bcrypt\build\bcrypt_lib.vcxproj]
\src\bcrypt_node.cc(229): warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data [c:\dev\libs\angular2\examples\angular2-se
-example-mashup\node_modules\bcrypt\build\bcrypt_lib.vcxproj]
\src\bcrypt_node.cc(230): warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data [c:\dev\libs\angular2\examples\angular2-se
-example-mashup\node_modules\bcrypt\build\bcrypt_lib.vcxproj]
win_delay_load_hook.c
   Creating library c:\dev\libs\angular2\examples\angular2-seed-example-mashup\node_modules\bcrypt\build\Release\bcrypt_lib.lib and object c:\dev\libs\angula
r2\examples\angular2-seed-example-mashup\node_modules\bcrypt\build\Release\bcrypt_lib.exp
Generating code
Finished generating code
bcrypt_lib.vcxproj -> c:\dev\libs\angular2\examples\angular2-seed-example-mashup\node_modules\bcrypt\build\Release\\bcrypt_lib.node

[email protected] postinstall c:\dev\libs\angular2\examples\angular2-seed-example-mashup
typings install && gulp check.versions && gulp postinstall && gulp build.prod --env prod

May typings anonymously report usage statistics to improve the tool over time? Yes

─ moment
─ xhr2
─ Q (ambient)
─ angular-protractor (ambient)
─ async (ambient)
─ bcrypt (ambient)
─ body-parser (ambient)
─ browser-sync (ambient)
─ browserify (ambient)
─ chalk (ambient)
─ chokidar (ambient)
─ d3 (ambient)
─ del (ambient)
─ es6-shim (ambient)
─ express (ambient)
─ glob (ambient)
─ google.visualization (ambient)
─ gulp (ambient)
─ gulp-load-plugins (ambient)
─ gulp-shell (ambient)
─ gulp-util (ambient)
─ jasmine (ambient)
─ micromatch (ambient)
─ mime (ambient)
─ minimatch (ambient)
─ morgan (ambient)
─ multer (ambient)
─ ng2 (ambient)
─ node (ambient)
─ orchestrator (ambient)
─ parse-glob (ambient)
─ redux (ambient)
─ run-sequence (ambient)
─ selenium-webdriver (ambient)
─ serve-static (ambient)
─ socket.io (ambient)
─ socket.io-client (ambient)
─ systemjs (ambient)
─ through2 (ambient)
─ underscore (ambient)
─ vinyl (ambient)
─ vinyl-source-stream (ambient)
─ yargs (ambient)
─ zone.js (ambient)

9:07:24] Requiring external module ts-node/register
9:07:32] Loading task clean all
9:07:33] Loading task clean dist
9:07:33] Loading task clean test
9:07:33] Loading task clean tmp
9:07:33] Loading task clean server
9:07:33] Loading task check.versions
9:07:34] Loading task build.docs
9:07:34] Loading task serve.docs
9:07:35] Using gulpfile c:\dev\libs\angular2\examples\angular2-seed-example-mashup\gulpfile.ts
9:07:35] Starting 'check.versions'...
9:07:35] Finished 'check.versions' after 80 ms
9:07:36] Requiring external module ts-node/register
9:07:44] Loading task clean all
9:07:45] Loading task clean dist
9:07:45] Loading task clean test
9:07:45] Loading task clean tmp
9:07:45] Loading task clean server
9:07:45] Loading task check.versions
9:07:45] Loading task build.docs
9:07:46] Loading task serve.docs
9:07:47] Using gulpfile c:\dev\libs\angular2\examples\angular2-seed-example-mashup\gulpfile.ts
9:07:47] Starting 'postinstall'...
9:07:47] Loading task clean
9:07:47] Loading task npm
9:07:48] Starting 'clean'...
9:07:48] Finished 'clean' after 72 μs
9:07:48] Starting 'npm'...
9:07:49] Finished 'npm' after 1.9 s
9:07:49] Finished 'postinstall' after 2.62 s
9:07:50] Requiring external module ts-node/register
9:07:57] Loading task clean all
9:07:58] Loading task clean dist
9:07:58] Loading task clean test
9:07:58] Loading task clean tmp
9:07:58] Loading task clean server
9:07:58] Loading task check.versions
9:07:58] Loading task build.docs
9:07:59] Loading task serve.docs
9:07:59] Using gulpfile c:\dev\libs\angular2\examples\angular2-seed-example-mashup\gulpfile.ts
9:07:59] Starting 'build.prod'...
9:07:59] Loading task tslint
9:08:00] Loading task build.sass.dev
9:08:01] Loading task build.assets.prod
9:08:01] Loading task build.html_css.prod
9:08:02] Loading task build.js.prod
9:08:03] Loading task build.bundles
9:08:03] Loading task build.bundles.app
9:08:04] Loading task build.index.prod
9:08:04] Loading task copy.bootstrap.fonts.prod
9:08:05] Loading task build.server
9:08:06] Starting 'clean.dist'...
9:08:06] Deleted -
9:08:06] Finished 'clean.dist' after 5.05 ms
9:08:06] Starting 'clean.tmp'...
9:08:06] Deleted -
9:08:06] Finished 'clean.tmp' after 1.86 ms
9:08:06] Starting 'clean.server'...
9:08:06] Deleted -
9:08:06] Finished 'clean.server' after 1.88 ms
9:08:06] Starting 'tslint'...
9:08:09] Finished 'tslint' after 3.74 s
9:08:09] Starting 'build.sass.dev'...
9:08:10] Finished 'build.sass.dev' after 95 ms
9:08:10] Starting 'build.assets.prod'...
9:08:10] Finished 'build.assets.prod' after 115 ms
9:08:10] Starting 'build.html_css.prod'...
9:08:14] Finished 'build.html_css.prod' after 4.67 s
9:08:14] Starting 'build.js.prod'...
9:08:19] Finished 'build.js.prod' after 4.61 s
9:08:19] Starting 'build.bundles'...
9:08:24] Finished 'build.bundles' after 5.19 s
9:08:24] Starting 'build.bundles.app'...
9:08:45] Finished 'build.bundles.app' after 21 s
9:08:45] Starting 'build.index.prod'...
9:08:45] gulp-inject 2 files into index.html.
9:08:45] gulp-inject 1 files into index.html.
9:08:45] Finished 'build.index.prod' after 36 ms
9:08:45] Starting 'copy.bootstrap.fonts.prod'...
9:08:45] node_modules\bootstrap\dist\fonts\**\*.* node_modules\bootstrap\dist\fonts\glyphicons-halflings-regular.eot
9:08:45] node_modules\bootstrap\dist\fonts\**\*.* node_modules\bootstrap\dist\fonts\glyphicons-halflings-regular.svg
9:08:45] node_modules\bootstrap\dist\fonts\**\*.* node_modules\bootstrap\dist\fonts\glyphicons-halflings-regular.ttf
9:08:45] node_modules\bootstrap\dist\fonts\**\*.* node_modules\bootstrap\dist\fonts\glyphicons-halflings-regular.woff
9:08:45] node_modules\bootstrap\dist\fonts\**\*.* node_modules\bootstrap\dist\fonts\glyphicons-halflings-regular.woff2
9:08:45] node_modules\bootstrap\dist\fonts\**\*.* 5 items
9:08:45] Finished 'copy.bootstrap.fonts.prod' after 16 ms
9:08:45] Starting 'build.server'...
/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/CoreOperators.d.ts(22,67): error TS2304: Cannot find name 'Promise'.
/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/CoreOperators.d.ts(72,67): error TS2304: Cannot find name 'Promise'.
/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/CoreOperators.d.ts(77,31): error TS2304: Cannot find name 'PromiseConstructor'.
/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/CoreOperators.d.ts(77,54): error TS2304: Cannot find name 'Promise'.
/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/Observable.d.ts(65,67): error TS2304: Cannot find name 'PromiseConstructor'.
/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/Observable.d.ts(65,88): error TS2304: Cannot find name 'Promise'.
/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/Observable.d.ts(72,84): error TS2304: Cannot find name 'Promise'.
/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/Observable.d.ts(77,38): error TS2304: Cannot find name 'Promise'.
/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/Observable.d.ts(100,66): error TS2304: Cannot find name 'Promise'.
/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/Observable.d.ts(154,66): error TS2304: Cannot find name 'Promise'.
/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/Observable.d.ts(159,31): error TS2304: Cannot find name 'PromiseConstructor'.
/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/Observable.d.ts(159,54): error TS2304: Cannot find name 'Promise'.
rver\RtBroker.ts(24,24): error TS2503: Cannot find namespace 'SocketIO'.
rver\RtBroker.ts(29,36): error TS2503: Cannot find namespace 'SocketIO'.
rver\app.ts(1,26): error TS2307: Cannot find module 'express'.
rver\app.ts(2,23): error TS2307: Cannot find module 'path'.
rver\app.ts(3,29): error TS2307: Cannot find module 'body-parser'.
rver\app.ts(4,25): error TS2307: Cannot find module 'morgan'.
rver\app.ts(5,27): error TS2307: Cannot find module 'socket.io'.
rver\app.ts(7,20): error TS2307: Cannot find module 'yargs'.
rver\app.ts(14,17): error TS2304: Cannot find name 'require'.
rver\app.ts(21,13): error TS2304: Cannot find name 'process'.
rver\app.ts(22,23): error TS2304: Cannot find name 'process'.
rver\app.ts(25,5): error TS2304: Cannot find name 'process'.
rver\app.ts(26,28): error TS2304: Cannot find name 'process'.
rver\app.ts(29,29): error TS2304: Cannot find name '__dirname'.
rver\app.ts(35,35): error TS2304: Cannot find name '__dirname'.
rver\app.ts(37,35): error TS2304: Cannot find name '__dirname'.
rver\app.ts(50,55): error TS2304: Cannot find name '__dirname'.
rver\app.ts(101,19): error TS2304: Cannot find name 'require'.
rver\routing\ApiRouting.ts(1,26): error TS2307: Cannot find module 'express'.
rver\routing\ApiRouting.ts(2,25): error TS2307: Cannot find module 'multer'.
rver\routing\ApiRouting.ts(15,21): error TS2307: Cannot find module 'os'.
rver\routing\ApiRouting.ts(16,21): error TS2307: Cannot find module 'fs'.
rver\routing\ApiRouting.ts(172,20): error TS2304: Cannot find name 'process'.
rver\routing\ApiRouting.ts(285,15): error TS2503: Cannot find namespace 'Q'.
rver\services\AnimalPersistenceService.ts(2,20): error TS2307: Cannot find module 'q'.
rver\services\AnimalPersistenceService.ts(3,17): error TS2304: Cannot find name 'require'.
rver\services\AnimalPersistenceService.ts(4,20): error TS2307: Cannot find module 'underscore'.
rver\services\AnimalPersistenceService.ts(8,13): error TS2304: Cannot find name 'process'.
rver\services\CellDataPersistenceService.ts(1,20): error TS2307: Cannot find module 'q'.
rver\services\CellDataPersistenceService.ts(2,17): error TS2304: Cannot find name 'require'.
rver\services\CellDataPersistenceService.ts(4,21): error TS2307: Cannot find module 'fs'.
rver\services\CellDataPersistenceService.ts(7,13): error TS2304: Cannot find name 'process'.
rver\services\QuizPersistenceService.ts(1,20): error TS2307: Cannot find module 'q'.
rver\services\QuizPersistenceService.ts(2,20): error TS2307: Cannot find module 'underscore'.
rver\services\QuizPersistenceService.ts(4,17): error TS2304: Cannot find name 'require'.
rver\services\QuizPersistenceService.ts(9,13): error TS2304: Cannot find name 'process'.
rver\services\QuizPersistenceService.ts(447,52): error TS2339: Property 'sign' does not exist on type 'Math'.
rver\services\SecurityService.ts(1,20): error TS2307: Cannot find module 'q'.
rver\services\SecurityService.ts(2,25): error TS2307: Cannot find module 'bcrypt'.
rver\services\SecurityService.ts(4,17): error TS2304: Cannot find name 'require'.
rver\services\SecurityService.ts(9,13): error TS2304: Cannot find name 'process'.
rver\services\UserQuestionCreator.ts(1,20): error TS2307: Cannot find module 'q'.
rver\services\UserQuestionCreator.ts(2,20): error TS2307: Cannot find module 'underscore'.
rver\workers\TrafficService.ts(2,21): error TS2307: Cannot find module 'fs'.
rver\workers\TrafficService.ts(3,20): error TS2307: Cannot find module 'underscore'.
rver\workers\TrafficService.ts(25,41): error TS2304: Cannot find name 'process'.
9:08:46] TypeScript: 58 semantic errors
9:08:46] TypeScript: emit succeeded (with errors)
9:08:46] Finished 'build.server' after 856 ms
9:08:46] Finished 'build.prod' after 47 s
[email protected] c:\dev\libs\angular2\examples\angular2-seed-example-mashup
- [email protected]
+-- [email protected]
`-- [email protected]
- [email protected]
`-- [email protected]
  `-- [email protected]
    `-- [email protected]
      +-- [email protected]
      `-- [email protected]
- UNMET PEER DEPENDENCY [email protected]

m WARN optional Skipping failed optional dependency /chokidar/fsevents:
m WARN notsup Not compatible with your operating system or architecture: [email protected]
m WARN [email protected] requires a peer of [email protected] but none was installed.

\dev\libs\angular2\examples\angular2-seed-example-mashup>npm install

[email protected] postinstall c:\dev\libs\angular2\examples\angular2-seed-example-mashup
typings install && gulp check.versions && gulp postinstall && gulp build.prod --env prod


─ moment
─ xhr2
─ Q (ambient)
─ angular-protractor (ambient)
─ async (ambient)
─ bcrypt (ambient)
─ body-parser (ambient)
─ browser-sync (ambient)
─ browserify (ambient)
─ chalk (ambient)
─ chokidar (ambient)
─ d3 (ambient)
─ del (ambient)
─ es6-shim (ambient)
─ express (ambient)
─ glob (ambient)
─ google.visualization (ambient)
─ gulp (ambient)
─ gulp-load-plugins (ambient)
─ gulp-shell (ambient)
─ gulp-util (ambient)
─ jasmine (ambient)
─ micromatch (ambient)
─ mime (ambient)
─ minimatch (ambient)
─ morgan (ambient)
─ multer (ambient)
─ ng2 (ambient)
─ node (ambient)
─ orchestrator (ambient)
─ parse-glob (ambient)
─ redux (ambient)
─ run-sequence (ambient)
─ selenium-webdriver (ambient)
─ serve-static (ambient)
─ socket.io (ambient)
─ socket.io-client (ambient)
─ systemjs (ambient)
─ through2 (ambient)
─ underscore (ambient)
─ vinyl (ambient)
─ vinyl-source-stream (ambient)
─ yargs (ambient)
─ zone.js (ambient)

9:12:06] Requiring external module ts-node/register
9:12:13] Loading task clean all
9:12:14] Loading task clean dist
9:12:14] Loading task clean test
9:12:14] Loading task clean tmp
9:12:14] Loading task clean server
9:12:14] Loading task check.versions
9:12:15] Loading task build.docs
9:12:15] Loading task serve.docs
9:12:16] Using gulpfile c:\dev\libs\angular2\examples\angular2-seed-example-mashup\gulpfile.ts
9:12:16] Starting 'check.versions'...
9:12:16] Finished 'check.versions' after 80 ms
9:12:17] Requiring external module ts-node/register
9:12:25] Loading task clean all
9:12:26] Loading task clean dist
9:12:26] Loading task clean test
9:12:26] Loading task clean tmp
9:12:26] Loading task clean server
9:12:26] Loading task check.versions
9:12:26] Loading task build.docs
9:12:27] Loading task serve.docs
9:12:28] Using gulpfile c:\dev\libs\angular2\examples\angular2-seed-example-mashup\gulpfile.ts
9:12:28] Starting 'postinstall'...
9:12:28] Loading task clean
9:12:28] Loading task npm
9:12:29] Starting 'clean'...
9:12:29] Finished 'clean' after 72 μs
9:12:29] Starting 'npm'...
9:12:30] Finished 'npm' after 1.91 s
9:12:30] Finished 'postinstall' after 2.64 s
9:12:31] Requiring external module ts-node/register
9:12:39] Loading task clean all
9:12:39] Loading task clean dist
9:12:39] Loading task clean test
9:12:39] Loading task clean tmp
9:12:39] Loading task clean server
9:12:39] Loading task check.versions
9:12:40] Loading task build.docs
9:12:41] Loading task serve.docs
9:12:41] Using gulpfile c:\dev\libs\angular2\examples\angular2-seed-example-mashup\gulpfile.ts
9:12:41] Starting 'build.prod'...
9:12:41] Loading task tslint
9:12:42] Loading task build.sass.dev
9:12:43] Loading task build.assets.prod
9:12:44] Loading task build.html_css.prod
9:12:44] Loading task build.js.prod
9:12:45] Loading task build.bundles
9:12:46] Loading task build.bundles.app
9:12:47] Loading task build.index.prod
9:12:47] Loading task copy.bootstrap.fonts.prod
9:12:48] Loading task build.server
9:12:48] Starting 'clean.dist'...
9:12:48] Deleted c:\dev\libs\angular2\examples\angular2-seed-example-mashup\dist\prod
9:12:48] Finished 'clean.dist' after 20 ms
9:12:48] Starting 'clean.tmp'...
9:12:48] Deleted c:\dev\libs\angular2\examples\angular2-seed-example-mashup\tmp
9:12:48] Finished 'clean.tmp' after 33 ms
9:12:48] Starting 'clean.server'...
9:12:48] Deleted c:\dev\libs\angular2\examples\angular2-seed-example-mashup\dist\server
9:12:48] Finished 'clean.server' after 5.44 ms
9:12:48] Starting 'tslint'...
9:12:52] Finished 'tslint' after 3.8 s
9:12:52] Starting 'build.sass.dev'...
9:12:52] Finished 'build.sass.dev' after 86 ms
9:12:52] Starting 'build.assets.prod'...
9:12:53] Finished 'build.assets.prod' after 119 ms
9:12:53] Starting 'build.html_css.prod'...
9:12:57] Finished 'build.html_css.prod' after 4.58 s
9:12:57] Starting 'build.js.prod'...
9:13:02] Finished 'build.js.prod' after 4.66 s
9:13:02] Starting 'build.bundles'...
9:13:07] Finished 'build.bundles' after 5.4 s
9:13:07] Starting 'build.bundles.app'...
9:13:28] Finished 'build.bundles.app' after 21 s
9:13:28] Starting 'build.index.prod'...
9:13:28] gulp-inject 2 files into index.html.
9:13:28] gulp-inject 1 files into index.html.
9:13:28] Finished 'build.index.prod' after 25 ms
9:13:28] Starting 'copy.bootstrap.fonts.prod'...
9:13:28] node_modules\bootstrap\dist\fonts\**\*.* node_modules\bootstrap\dist\fonts\glyphicons-halflings-regular.eot
9:13:28] node_modules\bootstrap\dist\fonts\**\*.* node_modules\bootstrap\dist\fonts\glyphicons-halflings-regular.svg
9:13:28] node_modules\bootstrap\dist\fonts\**\*.* node_modules\bootstrap\dist\fonts\glyphicons-halflings-regular.ttf
9:13:28] node_modules\bootstrap\dist\fonts\**\*.* node_modules\bootstrap\dist\fonts\glyphicons-halflings-regular.woff
9:13:28] node_modules\bootstrap\dist\fonts\**\*.* node_modules\bootstrap\dist\fonts\glyphicons-halflings-regular.woff2
9:13:28] node_modules\bootstrap\dist\fonts\**\*.* 5 items
9:13:28] Finished 'copy.bootstrap.fonts.prod' after 22 ms
9:13:28] Starting 'build.server'...
/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/CoreOperators.d.ts(22,67): error TS2304: Cannot find name 'Promise'.
/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/CoreOperators.d.ts(72,67): error TS2304: Cannot find name 'Promise'.
/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/CoreOperators.d.ts(77,31): error TS2304: Cannot find name 'PromiseConstructor'.
/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/CoreOperators.d.ts(77,54): error TS2304: Cannot find name 'Promise'.
/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/Observable.d.ts(65,67): error TS2304: Cannot find name 'PromiseConstructor'.
/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/Observable.d.ts(65,88): error TS2304: Cannot find name 'Promise'.
/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/Observable.d.ts(72,84): error TS2304: Cannot find name 'Promise'.
/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/Observable.d.ts(77,38): error TS2304: Cannot find name 'Promise'.
/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/Observable.d.ts(100,66): error TS2304: Cannot find name 'Promise'.
/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/Observable.d.ts(154,66): error TS2304: Cannot find name 'Promise'.
/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/Observable.d.ts(159,31): error TS2304: Cannot find name 'PromiseConstructor'.
/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/Observable.d.ts(159,54): error TS2304: Cannot find name 'Promise'.
rver\RtBroker.ts(24,24): error TS2503: Cannot find namespace 'SocketIO'.
rver\RtBroker.ts(29,36): error TS2503: Cannot find namespace 'SocketIO'.
rver\app.ts(1,26): error TS2307: Cannot find module 'express'.
rver\app.ts(2,23): error TS2307: Cannot find module 'path'.
rver\app.ts(3,29): error TS2307: Cannot find module 'body-parser'.
rver\app.ts(4,25): error TS2307: Cannot find module 'morgan'.
rver\app.ts(5,27): error TS2307: Cannot find module 'socket.io'.
rver\app.ts(7,20): error TS2307: Cannot find module 'yargs'.
rver\app.ts(14,17): error TS2304: Cannot find name 'require'.
rver\app.ts(21,13): error TS2304: Cannot find name 'process'.
rver\app.ts(22,23): error TS2304: Cannot find name 'process'.
rver\app.ts(25,5): error TS2304: Cannot find name 'process'.
rver\app.ts(26,28): error TS2304: Cannot find name 'process'.
rver\app.ts(29,29): error TS2304: Cannot find name '__dirname'.
rver\app.ts(35,35): error TS2304: Cannot find name '__dirname'.
rver\app.ts(37,35): error TS2304: Cannot find name '__dirname'.
rver\app.ts(50,55): error TS2304: Cannot find name '__dirname'.
rver\app.ts(101,19): error TS2304: Cannot find name 'require'.
rver\routing\ApiRouting.ts(1,26): error TS2307: Cannot find module 'express'.
rver\routing\ApiRouting.ts(2,25): error TS2307: Cannot find module 'multer'.
rver\routing\ApiRouting.ts(15,21): error TS2307: Cannot find module 'os'.
rver\routing\ApiRouting.ts(16,21): error TS2307: Cannot find module 'fs'.
rver\routing\ApiRouting.ts(172,20): error TS2304: Cannot find name 'process'.
rver\routing\ApiRouting.ts(285,15): error TS2503: Cannot find namespace 'Q'.
rver\services\AnimalPersistenceService.ts(2,20): error TS2307: Cannot find module 'q'.
rver\services\AnimalPersistenceService.ts(3,17): error TS2304: Cannot find name 'require'.
rver\services\AnimalPersistenceService.ts(4,20): error TS2307: Cannot find module 'underscore'.
rver\services\AnimalPersistenceService.ts(8,13): error TS2304: Cannot find name 'process'.
rver\services\CellDataPersistenceService.ts(1,20): error TS2307: Cannot find module 'q'.
rver\services\CellDataPersistenceService.ts(2,17): error TS2304: Cannot find name 'require'.
rver\services\CellDataPersistenceService.ts(4,21): error TS2307: Cannot find module 'fs'.
rver\services\CellDataPersistenceService.ts(7,13): error TS2304: Cannot find name 'process'.
rver\services\QuizPersistenceService.ts(1,20): error TS2307: Cannot find module 'q'.
rver\services\QuizPersistenceService.ts(2,20): error TS2307: Cannot find module 'underscore'.
rver\services\QuizPersistenceService.ts(4,17): error TS2304: Cannot find name 'require'.
rver\services\QuizPersistenceService.ts(9,13): error TS2304: Cannot find name 'process'.
rver\services\QuizPersistenceService.ts(447,52): error TS2339: Property 'sign' does not exist on type 'Math'.
rver\services\SecurityService.ts(1,20): error TS2307: Cannot find module 'q'.
rver\services\SecurityService.ts(2,25): error TS2307: Cannot find module 'bcrypt'.
rver\services\SecurityService.ts(4,17): error TS2304: Cannot find name 'require'.
rver\services\SecurityService.ts(9,13): error TS2304: Cannot find name 'process'.
rver\services\UserQuestionCreator.ts(1,20): error TS2307: Cannot find module 'q'.
rver\services\UserQuestionCreator.ts(2,20): error TS2307: Cannot find module 'underscore'.
rver\workers\TrafficService.ts(2,21): error TS2307: Cannot find module 'fs'.
rver\workers\TrafficService.ts(3,20): error TS2307: Cannot find module 'underscore'.
rver\workers\TrafficService.ts(25,41): error TS2304: Cannot find name 'process'.
9:13:29] TypeScript: 58 semantic errors
9:13:29] TypeScript: emit succeeded (with errors)
9:13:29] Finished 'build.server' after 895 ms
9:13:29] Finished 'build.prod' after 48 s
m WARN optional Skipping failed optional dependency /chokidar/fsevents:
m WARN notsup Not compatible with your operating system or architecture: [email protected]
m WARN [email protected] requires a peer of [email protected] but none was installed.

\dev\libs\angular2\examples\angular2-seed-example-mashup>````
@hpinsley
Copy link
Collaborator

I haven't tried to build it on Windows. But from the log, it might have built despite the warnings? I definitely need to update the readme with information on how to configure and run the server (including the mongodb setup). If you run npm run serve.dev does the main page load at all?

@wowczarczyk
Copy link
Author

Yes it does, however the npm output looks as follows:

C:\dev\libs\angular2\examples\angular2-seed-example-mashup>npm run serve.dev

> [email protected] serve.dev C:\dev\libs\angular2\examples\angular2-seed-example-mashup
> gulp serve --env dev

[10:08:21] Requiring external module ts-node/register
[10:08:30] Loading task clean all
[10:08:31] Loading task clean dist
[10:08:31] Loading task clean test
[10:08:31] Loading task clean tmp
[10:08:31] Loading task clean server
[10:08:31] Loading task check.versions
[10:08:31] Loading task build.docs
[10:08:32] Loading task serve.docs
[10:08:33] Using gulpfile C:\dev\libs\angular2\examples\angular2-seed-example-mashup\gulpfile.ts
[10:08:33] Starting 'serve'...
[10:08:33] Loading task server.start
[10:08:34] Loading task watch.serve
[10:08:34] Starting 'build.dev'...
[10:08:34] Loading task tslint
[10:08:35] Loading task build.sass.dev
[10:08:36] Loading task build.assets.dev
[10:08:37] Loading task build.js.dev
[10:08:38] Loading task build.index.dev
[10:08:39] Loading task build.server
[10:08:40] Starting 'clean.dist'...
[10:08:40] Deleted -
[10:08:40] Finished 'clean.dist' after 4.26 ms
[10:08:40] Starting 'clean.server'...
[10:08:40] Deleted C:\dev\libs\angular2\examples\angular2-seed-example-mashup\dist\server
[10:08:40] Finished 'clean.server' after 10 ms
[10:08:40] Starting 'tslint'...
[10:08:44] Finished 'tslint' after 4.22 s
[10:08:44] Starting 'build.sass.dev'...
[10:08:44] Finished 'build.sass.dev' after 117 ms
[10:08:44] Starting 'build.assets.dev'...
[10:08:44] Finished 'build.assets.dev' after 243 ms
[10:08:44] Starting 'build.js.dev'...
[10:08:49] Finished 'build.js.dev' after 5.06 s
[10:08:49] Starting 'build.index.dev'...
[10:08:49] gulp-inject 7 files into index.html.
[10:08:49] gulp-inject 4 files into index.html.
[10:08:49] gulp-inject 3 files into index.html.
[10:08:49] Finished 'build.index.dev' after 82 ms
[10:08:49] Starting 'build.server'...
C:/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/CoreOperators.d.ts(22,67): error TS2304: Cannot find name 'Promise'.
C:/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/CoreOperators.d.ts(72,67): error TS2304: Cannot find name 'Promise'.
C:/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/CoreOperators.d.ts(77,31): error TS2304: Cannot find name 'PromiseConstructor'.
C:/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/CoreOperators.d.ts(77,54): error TS2304: Cannot find name 'Promise'.
C:/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/Observable.d.ts(65,67): error TS2304: Cannot find name 'PromiseConstructor'.
C:/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/Observable.d.ts(65,88): error TS2304: Cannot find name 'Promise'.
C:/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/Observable.d.ts(72,84): error TS2304: Cannot find name 'Promise'.
C:/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/Observable.d.ts(77,38): error TS2304: Cannot find name 'Promise'.
C:/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/Observable.d.ts(100,66): error TS2304: Cannot find name 'Promise'.
C:/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/Observable.d.ts(154,66): error TS2304: Cannot find name 'Promise'.
C:/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/Observable.d.ts(159,31): error TS2304: Cannot find name 'PromiseConstructor'.
C:/dev/libs/angular2/examples/angular2-seed-example-mashup/node_modules/rxjs/Observable.d.ts(159,54): error TS2304: Cannot find name 'Promise'.
server\RtBroker.ts(24,24): error TS2503: Cannot find namespace 'SocketIO'.
server\RtBroker.ts(29,36): error TS2503: Cannot find namespace 'SocketIO'.
server\app.ts(1,26): error TS2307: Cannot find module 'express'.
server\app.ts(2,23): error TS2307: Cannot find module 'path'.
server\app.ts(3,29): error TS2307: Cannot find module 'body-parser'.
server\app.ts(4,25): error TS2307: Cannot find module 'morgan'.
server\app.ts(5,27): error TS2307: Cannot find module 'socket.io'.
server\app.ts(7,20): error TS2307: Cannot find module 'yargs'.
server\app.ts(14,17): error TS2304: Cannot find name 'require'.
server\app.ts(21,13): error TS2304: Cannot find name 'process'.
server\app.ts(22,23): error TS2304: Cannot find name 'process'.
server\app.ts(25,5): error TS2304: Cannot find name 'process'.
server\app.ts(26,28): error TS2304: Cannot find name 'process'.
server\app.ts(29,29): error TS2304: Cannot find name '__dirname'.
server\app.ts(35,35): error TS2304: Cannot find name '__dirname'.
server\app.ts(37,35): error TS2304: Cannot find name '__dirname'.
server\app.ts(50,55): error TS2304: Cannot find name '__dirname'.
server\app.ts(101,19): error TS2304: Cannot find name 'require'.
server\routing\ApiRouting.ts(1,26): error TS2307: Cannot find module 'express'.
server\routing\ApiRouting.ts(2,25): error TS2307: Cannot find module 'multer'.
server\routing\ApiRouting.ts(15,21): error TS2307: Cannot find module 'os'.
server\routing\ApiRouting.ts(16,21): error TS2307: Cannot find module 'fs'.
server\routing\ApiRouting.ts(172,20): error TS2304: Cannot find name 'process'.
server\routing\ApiRouting.ts(285,15): error TS2503: Cannot find namespace 'Q'.
server\services\AnimalPersistenceService.ts(2,20): error TS2307: Cannot find module 'q'.
server\services\AnimalPersistenceService.ts(3,17): error TS2304: Cannot find name 'require'.
server\services\AnimalPersistenceService.ts(4,20): error TS2307: Cannot find module 'underscore'.
server\services\AnimalPersistenceService.ts(8,13): error TS2304: Cannot find name 'process'.
server\services\CellDataPersistenceService.ts(1,20): error TS2307: Cannot find module 'q'.
server\services\CellDataPersistenceService.ts(2,17): error TS2304: Cannot find name 'require'.
server\services\CellDataPersistenceService.ts(4,21): error TS2307: Cannot find module 'fs'.
server\services\CellDataPersistenceService.ts(7,13): error TS2304: Cannot find name 'process'.
server\services\QuizPersistenceService.ts(1,20): error TS2307: Cannot find module 'q'.
server\services\QuizPersistenceService.ts(2,20): error TS2307: Cannot find module 'underscore'.
server\services\QuizPersistenceService.ts(4,17): error TS2304: Cannot find name 'require'.
server\services\QuizPersistenceService.ts(9,13): error TS2304: Cannot find name 'process'.
server\services\QuizPersistenceService.ts(447,52): error TS2339: Property 'sign' does not exist on type 'Math'.
server\services\SecurityService.ts(1,20): error TS2307: Cannot find module 'q'.
server\services\SecurityService.ts(2,25): error TS2307: Cannot find module 'bcrypt'.
server\services\SecurityService.ts(4,17): error TS2304: Cannot find name 'require'.
server\services\SecurityService.ts(9,13): error TS2304: Cannot find name 'process'.
server\services\UserQuestionCreator.ts(1,20): error TS2307: Cannot find module 'q'.
server\services\UserQuestionCreator.ts(2,20): error TS2307: Cannot find module 'underscore'.
server\workers\TrafficService.ts(2,21): error TS2307: Cannot find module 'fs'.
server\workers\TrafficService.ts(3,20): error TS2307: Cannot find module 'underscore'.
server\workers\TrafficService.ts(25,41): error TS2304: Cannot find name 'process'.
[10:08:50] TypeScript: 58 semantic errors
[10:08:50] TypeScript: emit succeeded (with errors)
[10:08:50] Finished 'build.server' after 981 ms
[10:08:50] Finished 'build.dev' after 16 s
[10:08:50] Starting 'server.start'...
[10:08:50] Finished 'server.start' after 132 ms
[10:08:50] Starting 'watch.serve'...
[10:08:51] Finished 'watch.serve' after 187 ms
[10:08:51] Finished 'serve' after 18 s
[BS] Access URLs:
 --------------------------------------
       Local: http://localhost:5555/
    External: http://156.24.57.35:5555/
 --------------------------------------
          UI: http://localhost:3002
 UI External: http://156.24.57.35:3002
 --------------------------------------
[BS] Serving files from: dist/dev

@suchafreak
Copy link

Hi
Any news on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants