mvdicarlo / postybirb

PostyBirb is an application that helps artists post art and other multimedia to multiple websites more quickly. The overall goal of PostyBirb is to cut down on the time it takes to post submissions to multiple websites.
https://www.postybirb.com
BSD 3-Clause "New" or "Revised" License
306 stars 37 forks source link

Issues building per README instructions #9

Closed Kelketek closed 5 years ago

Kelketek commented 5 years ago

Hello! I've been following the README instructions in an attempt to build from source on the master branch, but I've received the following errors once I get to the build step:

$ npm run build

> postybirb@1.2.0 build /Users/fox/projects/postybirb/postybirb
> ng build --vendor-chunk=false --aot

Date: 2019-02-26T01:27:15.270Z
Hash: b8735df698ccbe3dc1b7
Time: 17865ms
chunk {main} main.js, main.js.map (main) 630 bytes [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 685 bytes [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.08 kB [entry] [rendered]
chunk {scripts} scripts.js, scripts.js.map (scripts) 142 kB  [rendered]
chunk {styles} styles.js, styles.js.map (styles) 2.79 MB [initial] [rendered]

ERROR in : Cannot determine the module for class FileInputComponent in /Users/fox/projects/postybirb/postybirb/src/app/commons/components/file-input/file-input.component.ts! Add FileInputComponent to the NgModule to fix it.
Cannot determine the module for class ToggleButtonComponent in /Users/fox/projects/postybirb/postybirb/src/app/commons/components/toggle-button/toggle-button.component.ts! Add ToggleButtonComponent to the NgModule to fix it.
Cannot determine the module for class HighlightLinkedDirective in /Users/fox/projects/postybirb/postybirb/src/app/commons/directives/highlight-linked/highlight-linked.directive.ts! Add HighlightLinkedDirective to the NgModule to fix it.
Cannot determine the module for class PostybirbPostLogsComponent in /Users/fox/projects/postybirb/postybirb/src/app/logs/components/postybirb-post-logs/postybirb-post-logs.component.ts! Add PostybirbPostLogsComponent to the NgModule to fix it.
Cannot determine the module for class AppLogsComponent in /Users/fox/projects/postybirb/postybirb/src/app/logs/main/app-logs/app-logs.component.ts! Add AppLogsComponent to the NgModule to fix it.
Cannot determine the module for class DerpibooruDialogComponent in /Users/fox/projects/postybirb/postybirb/src/app/website-login/website-row/derpibooru/derpibooru-dialog/derpibooru-dialog.component.ts! Add DerpibooruDialogComponent to the NgModule to fix it.
Cannot determine the module for class DeviantArtDialogComponent in /Users/fox/projects/postybirb/postybirb/src/app/website-login/website-row/deviant-art/deviant-art-dialog/deviant-art-dialog.component.ts! Add DeviantArtDialogComponent to the NgModule to fix it.
Cannot determine the module for class E621DialogComponent in /Users/fox/projects/postybirb/postybirb/src/app/website-login/website-row/e621/e621-dialog/e621-dialog.component.ts! Add E621DialogComponent to the NgModule to fix it.
Cannot determine the module for class FuraffinityLoginDialogComponent in /Users/fox/projects/postybirb/postybirb/src/app/website-login/website-row/furaffinity/furaffinity-login-dialog/furaffinity-login-dialog.component.ts! Add FuraffinityLoginDialogComponent to the NgModule to fix it.
Cannot determine the module for class FurifficDialogComponent in /Users/fox/projects/postybirb/postybirb/src/app/website-login/website-row/furiffic/furiffic-dialog/furiffic-dialog.component.ts! Add FurifficDialogComponent to the NgModule to fix it.
Cannot determine the module for class FurrynetworkDialogComponent in /Users/fox/projects/postybirb/postybirb/src/app/website-login/website-row/furrynetwork/furrynetwork-dialog/furrynetwork-dialog.component.ts! Add FurrynetworkDialogComponent to the NgModule to fix it.
Cannot determine the module for class InkbunnyDialogComponent in /Users/fox/projects/postybirb/postybirb/src/app/website-login/website-row/inkbunny/inkbunny-dialog/inkbunny-dialog.component.ts! Add InkbunnyDialogComponent to the NgModule to fix it.
Cannot determine the module for class PatreonDialogComponent in /Users/fox/projects/postybirb/postybirb/src/app/website-login/website-row/patreon/patreon-dialog/patreon-dialog.component.ts! Add PatreonDialogComponent to the NgModule to fix it.
Cannot determine the module for class PixivDialogComponent in /Users/fox/projects/postybirb/postybirb/src/app/website-login/website-row/pixiv/pixiv-dialog/pixiv-dialog.component.ts! Add PixivDialogComponent to the NgModule to fix it.
Cannot determine the module for class Route50DialogComponent in /Users/fox/projects/postybirb/postybirb/src/app/website-login/website-row/route50/route50-dialog/route50-dialog.component.ts! Add Route50DialogComponent to the NgModule to fix it.
Cannot determine the module for class SofurryDialogComponent in /Users/fox/projects/postybirb/postybirb/src/app/website-login/website-row/sofurry/sofurry-dialog/sofurry-dialog.component.ts! Add SofurryDialogComponent to the NgModule to fix it.
Cannot determine the module for class TumblrDialogComponent in /Users/fox/projects/postybirb/postybirb/src/app/website-login/website-row/tumblr/tumblr-dialog/tumblr-dialog.component.ts! Add TumblrDialogComponent to the NgModule to fix it.
Cannot determine the module for class TwitterDialogComponent in /Users/fox/projects/postybirb/postybirb/src/app/website-login/website-row/twitter/twitter-dialog/twitter-dialog.component.ts! Add TwitterDialogComponent to the NgModule to fix it.
Cannot determine the module for class WeasylDialogComponent in /Users/fox/projects/postybirb/postybirb/src/app/website-login/website-row/weasyl/weasyl-dialog/weasyl-dialog.component.ts! Add WeasylDialogComponent to the NgModule to fix it.
node_modules/rxjs/Observable.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Observable'.
src/app/logs/components/postybirb-post-logs/postybirb-post-logs.component.ts(8,10): error TS2305: Module '"/Users/fox/projects/postybirb/postybirb/node_modules/rxjs/Observable"' has no exported member 'Observable'.
src/app/website-login/website-row/deviant-art/deviant-art-dialog/deviant-art-dialog.component.ts(19,18): error TS2339: Property 'authorizeWebsite' does not exist on type 'WebsiteManagerService'.
src/app/website-login/website-row/deviant-art/deviant-art-dialog/deviant-art-dialog.component.ts(29,18): error TS2339: Property 'unauthorizeWebsite' does not exist on type 'WebsiteManagerService'.
src/app/website-login/website-row/deviant-art/deviant-art-dialog/deviant-art-dialog.component.ts(30,18): error TS2339: Property 'authorizeWebsite' does not exist on type 'WebsiteManagerService'.
src/app/website-login/website-row/furrynetwork/furrynetwork-dialog/furrynetwork-dialog.component.ts(33,44): error TS2339: Property 'authorizeWebsite' does not exist on type 'WebsiteManagerService'.
src/app/website-login/website-row/furrynetwork/furrynetwork-dialog/furrynetwork-dialog.component.ts(45,18): error TS2339: Property 'unauthorizeWebsite' does not exist on type 'WebsiteManagerService'.
src/app/website-login/website-row/inkbunny/inkbunny-dialog/inkbunny-dialog.component.ts(36,44): error TS2339: Property 'authorizeWebsite' does not exist on type 'WebsiteManagerService'.
src/app/website-login/website-row/inkbunny/inkbunny-dialog/inkbunny-dialog.component.ts(48,18): error TS2339: Property 'unauthorizeWebsite' does not exist on type 'WebsiteManagerService'.
src/app/website-login/website-row/tumblr/tumblr-dialog/tumblr-dialog.component.ts(19,18): error TS2339: Property 'authorizeWebsite' does not exist on type 'WebsiteManagerService'.
src/app/website-login/website-row/tumblr/tumblr-dialog/tumblr-dialog.component.ts(29,18): error TS2339: Property 'unauthorizeWebsite' does not exist on type 'WebsiteManagerService'.
src/app/website-login/website-row/twitter/twitter-dialog/twitter-dialog.component.ts(23,18): error TS2339: Property 'authorizeWebsite' does not exist on type 'WebsiteManagerService'.
src/app/website-login/website-row/twitter/twitter-dialog/twitter-dialog.component.ts(33,18): error TS2339: Property 'authorizeWebsite' does not exist on type 'WebsiteManagerService'.
src/app/website-login/website-row/twitter/twitter-dialog/twitter-dialog.component.ts(42,18): error TS2339: Property 'unauthorizeWebsite' does not exist on type 'WebsiteManagerService'.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! postybirb@1.2.0 build: `ng build --vendor-chunk=false --aot`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the postybirb@1.2.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/fox/.npm/_logs/2019-02-26T01_27_15_385Z-debug.log
mvdicarlo commented 5 years ago

The repo might have a broken dependency. I will try to fix this in the future. This repo currently is a copy of my private one and some things might not have been deleted correctly.

mvdicarlo commented 5 years ago

That said, the app is being remade on https://github.com/mvdicarlo/postybirb/tree/PB-Next which should be working correctly.

But it isn't production ready yet.