sidorares / node-rfb2

rfb wire protocol client and server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

typescript issue

vtolstov opened this issue · comments

I'm try to use latest version from npmjs and get errors while build app

ERROR in Error encountered resolving symbol values statically. Could not resolve events relative to /var/home/vtolstov/devel/panel/node_modules/rfb2/rfbclient.d.ts., resolving symbol RfbClient in /var/home/vtolstov/devel/panel/node_modules/rfb2/rfbclient.d.ts

ERROR in ./src/main.ts
Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in '/var/home/vtolstov/devel/panel.swiftbird.org/src'
 @ ./src/main.ts 4:0-74
 @ multi main

ERROR in ./~/@angular/core/src/linker/system_js_ng_module_factory_loader.js
Module not found: Error: Can't resolve '/var/home/vtolstov/devel/panel/src/$$_gendir' in '/var/home/vtolstov/devel/panel/node_modules/@angular/core/src/linker'
 @ ./~/@angular/core/src/linker/system_js_ng_module_factory_loader.js 69:15-36 85:15-102
 @ ./~/@angular/core/src/linker.js
 @ ./~/@angular/core/src/core.js
 @ ./~/@angular/core/index.js
 @ ./src/main.ts
 @ multi main

I never used TS myself, need much more context from you. What's the setup? What is entry point, where you see the error etc

This error happening only if i use ng build --prod --aot , without --aot all fine.

haven't used ng tools as well, sorry

What does ng build --prod --aot do? Compiles & bundles all ts into js ahead of time?

Compiles & bundles all ts into js ahead of time?

yes