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 #25

Closed
dominictarr opened this issue Jun 3, 2018 · 5 comments
Closed

build error #25

dominictarr opened this issue Jun 3, 2018 · 5 comments
Labels
bug Something isn't working

Comments

@dominictarr
Copy link
Contributor

I got the following error when attempting to npm run build on a fresh install, at commit
003400a with node@8.11.1 and npm@5.6.0

$ npm run build | x
 10% building modules 0/1 modules 1 active â¦me/dominic/c/ngx-ssb-clie 10% building modules 1/2 modules 1 active â¦minic/c/ngx-ssb-client/sr 10% building modules 2/3 modules 1 active â¦de_modules/semantic-ui-cs 10% building modules 3/4 modules 1 active â¦me/dominic/c/ngx-ssb-clie 10% building modules 3/5 modules 2 active â¦minic/c/ngx-ssb-client/sr 10% building modules 4/5 modules 1 active â¦minic/c/ngx-ssb-client/sr 10% building modules 5/6 modules 1 active â¦dominic/c/ngx-ssb-client/ 10% building modules 6/7 modules 1 active â¦de_modules/semantic-ui-cs 10% building modules 7/8 modules 1 active â¦_modules/tui-editor/dist/ 10% building modules 8/9 modules 1 active â¦tui-editor/dist/tui-edito 11% building modules 9/10 modules 1 active â¦e_modules/codemirror/lib 11% building modules 10/11 modules 1 active â¦_modules/highlight.js/s 11% building modules 11/12 modules 1 active â¦de_modules/semantic-ui- 11% building modules 11/13 modules 2 active â¦dominic/c/ngx-ssb-clien 11% building modules 11/14 modules 3 active â¦_modules/tui-editor/dis 11% building modules 11/15 modules 4 active â¦tui-editor/dist/tui-edi 11% building modules 11/16 modules 5 active â¦e_modules/codemirror/li 11% building modules 11/17 modules 6 active â¦_modules/highlight.js/s 11% building modules 11/18 modules 7 active â¦e_modules/style-loader/                                                         11% building modules 12/18 modules 6 active â¦e_modules/style-loader/                                                         11% building modules 13/18 modules 5 active â¦e_modules/style-loader/                                                         11% building modules 14/18 modules 4 active â¦e_modules/style-loader/                                                         11% building modules 15/18 modules 3 active â¦_modules/tui-editor/dis                                                         11% building modules 16/18 modules 2 active â¦dominic/c/ngx-ssb-clien                                                         11% building modules 16/19 modules 3 active â¦t/node_modules/style-lo                                                         12% building modules 17/19 modules 2 active â¦dominic/c/ngx-ssb-clien                                                         12% building modules 18/19 modules 1 active â¦de_modules/semantic-ui-                                                         92% after chunk asset optimization SourceMapDevToolPlugin main.js gen                                                         92% after chunk asset optimization SourceMapDevToolPlugin polyfills.j                                                         92% after chunk asset optimization SourceMapDevToolPlugin runtime.js                                                          92% after chunk asset optimization SourceMapDevToolPlugin styles.js g                                                         92% after chunk asset optimization SourceMapDevToolPlugin resolve sou Q 92% after chunk asset optimization SourceMapDevToolPlugin main.js att 92% after chunk asset optimization SourceMapDevToolPlugin polyfills.j 92% after chunk asset optimization SourceMapDevToolPlugin runtime.js  92% after chunk asset optimization SourceMapDevToolPlugin styles.js a                                                          
ERROR in node_modules/@types/node/index.d.ts(167,14): error TS2687: All declarations of 'observable' must have identical modifiers.
node_modules/rxjs/internal/symbol/observable.d.ts(4,9): error TS2687: All declarations of 'observable' must have identical modifiers.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ngx-ssb-client@0.0.0 build: `ng build --base-href . && npm run electron:tsc`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the ngx-ssb-client@0.0.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!     /home/dominic/.npm/_logs/2018-06-03T23_53_09_527Z-debug.log

@dominictarr
Copy link
Contributor Author

seems like the typescript checker? unfortunately it seems a bit garbled because of ansii control characters?

@enko
Copy link
Member

enko commented Jun 4, 2018

@dominictarr rxjs clashed with a newer @types/node package. Relevant PR:

ReactiveX/rxjs#3773

I'll pin the older @types/node package, to work arround.

enko added a commit that referenced this issue Jun 4, 2018
@enko
Copy link
Member

enko commented Jun 4, 2018

Thanks for trying out, if that works for you, can you please close the issue?

@enko enko added the bug Something isn't working label Jun 4, 2018
@dominictarr
Copy link
Contributor Author

I got past that one, but now I have this error inside electron (I used npm run electron:local after checking that my local scuttlebutt had the plugins needed)

main.b39dc18144add85119c3.js:1 Uncaught ReferenceError: Must call super constructor in derived class before accessing 'this' or returning from derived constructor
    at new i (main.b39dc18144add85119c3.js:1)
    at new i.a.r.a.constructor (main.b39dc18144add85119c3.js:1)
    at Object.qgXg (main.b39dc18144add85119c3.js:1)
    at p (runtime.6afe30102d8fe7337431.js:1)
    at Object.jtHE (main.b39dc18144add85119c3.js:1)
    at p (runtime.6afe30102d8fe7337431.js:1)
    at Object.zUnb (main.b39dc18144add85119c3.js:1)
    at p (runtime.6afe30102d8fe7337431.js:1)
    at Object.8 (main.b39dc18144add85119c3.js:1)
    at p (runtime.6afe30102d8fe7337431.js:1)

@dominictarr
Copy link
Contributor Author

oh I got it working. just ran npm start as per instructions.

enko added a commit that referenced this issue Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants