dpar39/ppp

Webapp Issues

charleskhenry opened this issue · 6 comments

I'm getting the following error on the webapp.


charles.henry@PRIVATE MINGW64 ~/PassPortPhotoApp/webapp (master)
$ ng serve
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
Date: 2019-02-28T03:22:23.927Z
Hash: 04a2f11cada0a3b80a0f
Time: 5270ms
chunk {main} main.js, main.js.map (main) 1.98 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 709 bytes [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 5.22 kB [entry] [rendered]
chunk {scripts} scripts.js, scripts.js.map (scripts) 87 kB  [rendered]
chunk {styles} styles.js, styles.js.map (styles) 76.8 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 335 kB [initial] [rendered]

ERROR in node_modules/rxjs/internal/types.d.ts(81,44): error TS1005: ';' expected.
node_modules/rxjs/internal/types.d.ts(81,74): error TS1005: ';' expected.
node_modules/rxjs/internal/types.d.ts(81,77): error TS1109: Expression expected.

i 「wdm」: Failed to compile.

I would like to advise I do have Visual Studio 2013 Professional and NPM 5.6.0 on my machine.

Thanks for the help in advance, I had this working a year or so ago, and love it! Saves me so much on travel.

Oh, so much have changed since last year. The master branch is pretty broken I can tell you that for sure. I'm currently rewriting the UI in Angular and using WebAssembly for the face detection / picture cropping operation. But unfortunately I haven't finished the UI and the passport size is hardcoded to 35x45mm and printed on a 4x6'': https://myphotoidapp.firebaseapp.com/

If you want to get something going clone the branch named emscripten. Then modify webapp/src/app/app.component.ts and webapp/src/app/components/passport-standard-selector.component.ts to configure the print size and the photo standard. I will try to get a basic thing working again soon. I'll keep you posted.

App is now WebAssembly based and builds correctly