jlmart88 / vuvuzela-web-client

An Ember.js web client for Vuvuzela messaging system
Other
60 stars 12 forks source link

Doesn't work #1

Closed theAkito closed 6 years ago

theAkito commented 6 years ago
$ ember server
version: 1.13.11
Could not find watchman, falling back to NodeWatcher for file system events.
Visit http://www.ember-cli.com/user-guide/#watchman for more info.
Livereload server on http://localhost:49152
Serving on http://localhost:4200/

components/conversation-body.js: line 1, col 43, Missing semicolon.
components/conversation-body.js: line 53, col 13, 'currentConversationName' is defined but never used.
components/conversation-body.js: line 3, col 16, 'Ember' is not defined.
components/conversation-body.js: line 5, col 15, 'Ember' is not defined.
components/conversation-body.js: line 14, col 21, 'Ember' is not defined.
components/conversation-body.js: line 15, col 21, 'Ember' is not defined.
components/conversation-body.js: line 25, col 19, 'Ember' is not defined.
components/conversation-body.js: line 33, col 27, 'Ember' is not defined.
components/conversation-body.js: line 71, col 9, 'Ember' is not defined.
components/conversation-body.js: line 72, col 34, 'Ember' is not defined.

10 errors

components/conversation-list-dial-item.js: line 1, col 16, 'Ember' is not defined.

1 error

components/conversation-list-item.js: line 1, col 16, 'Ember' is not defined.
components/conversation-list-item.js: line 6, col 15, 'Ember' is not defined.

2 errors

components/conversation-list.js: line 21, col 55, Expected '!==' and instead saw '!='.
components/conversation-list.js: line 1, col 16, 'Ember' is not defined.
components/conversation-list.js: line 8, col 10, 'Ember' is not defined.
components/conversation-list.js: line 9, col 22, 'Ember' is not defined.
components/conversation-list.js: line 10, col 27, 'Ember' is not defined.
components/conversation-list.js: line 11, col 14, 'Ember' is not defined.
components/conversation-list.js: line 13, col 14, 'Ember' is not defined.

7 errors

controllers/auth/index.js: line 1, col 16, 'Ember' is not defined.

1 error

controllers/auth/login.js: line 9, col 26, Missing semicolon.
controllers/auth/login.js: line 1, col 16, 'Ember' is not defined.
controllers/auth/login.js: line 2, col 13, 'Ember' is not defined.
controllers/auth/login.js: line 3, col 14, 'Ember' is not defined.

4 errors

controllers/client/index.js: line 15, col 21, Missing semicolon.
controllers/client/index.js: line 3, col 16, 'Ember' is not defined.
controllers/client/index.js: line 6, col 22, 'Ember' is not defined.
controllers/client/index.js: line 7, col 27, 'Ember' is not defined.
controllers/client/index.js: line 8, col 10, 'Ember' is not defined.
controllers/client/index.js: line 9, col 14, 'Ember' is not defined.
controllers/client/index.js: line 11, col 23, 'Ember' is not defined.
controllers/client/index.js: line 18, col 25, 'Ember' is not defined.
controllers/client/index.js: line 1, col 8, 'nacl' is defined but never used.

9 errors

lib/nacl.js: line 5, col 2, Missing semicolon.
lib/nacl.js: line 9, col 2, Missing semicolon.
lib/nacl.js: line 1, col 12, 'nacl_factory' is not defined.
lib/nacl.js: line 4, col 31, 'base32' is not defined.
lib/nacl.js: line 8, col 12, 'base32' is not defined.

5 errors

lib/onionbox.js: line 23, col 10, Missing semicolon.
lib/onionbox.js: line 36, col 18, Missing semicolon.
lib/onionbox.js: line 43, col 10, Missing semicolon.
lib/onionbox.js: line 45, col 2, Missing semicolon.

4 errors

lib/vuvuzela-lib.js: line 150, col 25, Expected '===' and instead saw '=='.
lib/vuvuzela-lib.js: line 161, col 18, 'i' is already defined.
lib/vuvuzela-lib.js: line 169, col 22, 'i' is already defined.
lib/vuvuzela-lib.js: line 176, col 18, 'i' is already defined.
lib/vuvuzela-lib.js: line 181, col 34, Expected '!==' and instead saw '!='.
lib/vuvuzela-lib.js: line 181, col 47, Expected '!==' and instead saw '!='.
lib/vuvuzela-lib.js: line 142, col 13, 'index' is defined but never used.
lib/vuvuzela-lib.js: line 202, col 38, Missing semicolon.
lib/vuvuzela-lib.js: line 205, col 34, Expected '===' and instead saw '=='.
lib/vuvuzela-lib.js: line 206, col 57, Missing semicolon.
lib/vuvuzela-lib.js: line 214, col 36, Expected '!==' and instead saw '!='.
lib/vuvuzela-lib.js: line 219, col 18, 'i' is already defined.
lib/vuvuzela-lib.js: line 230, col 18, 'i' is already defined.
lib/vuvuzela-lib.js: line 238, col 22, 'i' is already defined.
lib/vuvuzela-lib.js: line 242, col 22, 'i' is already defined.
lib/vuvuzela-lib.js: line 244, col 25, Expected '===' and instead saw '=='.
lib/vuvuzela-lib.js: line 245, col 44, Missing semicolon.
lib/vuvuzela-lib.js: line 252, col 18, 'i' is already defined.
lib/vuvuzela-lib.js: line 261, col 2, Missing semicolon.
lib/vuvuzela-lib.js: line 1, col 8, 'onionbox' is defined but never used.

20 errors

routes/auth/index.js: line 1, col 16, 'Ember' is not defined.

1 error

routes/auth/login.js: line 1, col 16, 'Ember' is not defined.

1 error

routes/client/index.js: line 1, col 34, Missing semicolon.

1 error

routes/index.js: line 1, col 16, 'Ember' is not defined.
routes/index.js: line 2, col 13, 'Ember' is not defined.

2 errors

services/conversation-protocol.js: line 67, col 10, Missing semicolon.
services/conversation-protocol.js: line 71, col 10, Missing semicolon.
services/conversation-protocol.js: line 78, col 60, Missing semicolon.
services/conversation-protocol.js: line 79, col 10, Unnecessary semicolon.
services/conversation-protocol.js: line 84, col 10, Missing semicolon.
services/conversation-protocol.js: line 110, col 37, Expected '!==' and instead saw '!='.
services/conversation-protocol.js: line 128, col 26, Expected '===' and instead saw '=='.
services/conversation-protocol.js: line 147, col 25, Missing semicolon.
services/conversation-protocol.js: line 159, col 25, Missing semicolon.
services/conversation-protocol.js: line 161, col 25, Missing semicolon.
services/conversation-protocol.js: line 173, col 25, Missing semicolon.
services/conversation-protocol.js: line 175, col 25, Missing semicolon.
services/conversation-protocol.js: line 191, col 26, A constructor name should start with an uppercase letter.
services/conversation-protocol.js: line 5, col 16, 'Ember' is not defined.
services/conversation-protocol.js: line 5, col 37, 'Ember' is not defined.
services/conversation-protocol.js: line 6, col 14, 'Ember' is not defined.
services/conversation-protocol.js: line 55, col 65, 'moment' is not defined.
services/conversation-protocol.js: line 133, col 20, 'moment' is not defined.
services/conversation-protocol.js: line 134, col 33, 'moment' is not defined.
services/conversation-protocol.js: line 191, col 26, 'jsSHA' is not defined.

20 errors

services/dialing-protocol.js: line 57, col 10, Missing semicolon.
services/dialing-protocol.js: line 5, col 16, 'Ember' is not defined.
services/dialing-protocol.js: line 5, col 37, 'Ember' is not defined.
services/dialing-protocol.js: line 6, col 14, 'Ember' is not defined.

4 errors

services/pki.js: line 3, col 16, 'Ember' is not defined.

1 error

services/session.js: line 13, col 33, 'publicKey' is defined but never used.
services/session.js: line 17, col 34, 'privateKey' is defined but never used.
services/session.js: line 3, col 16, 'Ember' is not defined.

3 errors

services/socket.js: line 17, col 39, Missing semicolon.
services/socket.js: line 30, col 29, 'event' is defined but never used.
services/socket.js: line 58, col 30, 'event' is defined but never used.
services/socket.js: line 64, col 30, 'event' is defined but never used.
services/socket.js: line 3, col 16, 'Ember' is not defined.
services/socket.js: line 3, col 37, 'Ember' is not defined.
services/socket.js: line 4, col 17, 'Ember' is not defined.
services/socket.js: line 5, col 14, 'Ember' is not defined.
services/socket.js: line 7, col 22, 'Ember' is not defined.
services/socket.js: line 8, col 27, 'Ember' is not defined.

10 errors

===== 19 JSHint Errors

Build successful - 13234ms.

Slowest Trees                                 | Total
----------------------------------------------+---------------------
ConcatWithMaps: Concat: Vendor                | 2877ms
TreeMerger (vendor)                           | 2022ms
TreeMerger (appAndDependencies)               | 1975ms
TreeMerger (appJS  & processedEmberCLITree)   | 1945ms

Slowest Trees (cumulative)                    | Total (avg)
----------------------------------------------+---------------------
ConcatWithMaps: Concat: Vendor (1)            | 2877ms
TreeMerger (vendor) (1)                       | 2022ms
TreeMerger (appAndDependencies) (1)           | 1975ms
TreeMerger (appJS  & processedEmberCLI... (1) | 1945ms

and $ ember test

===== 19 JSHint Errors

Built project successfully. Stored in "/home/akito/src/vuvuzela-web-client/tmp/class-tests_dist-v2GxDMj5.tmp".
not ok 1 PhantomJS - Browser "phantomjs /home/user/src/vuvuzela-web-client/node_modules/testem/assets/phantom.js http://localhost:7357/3533" exited unexpectedly.

1..1
# tests 1
# pass  0
# fail  1
jlmart88 commented 6 years ago

Hi Akito,

It looks like your run of ember server was successful, despite the linting errors:

Build successful - 13234ms.

Additionally, the application was opened successfully:

Serving on http://localhost:4200/

I don't remember the linter errors being surfaced 2 years ago, but I can definitely go through and fix them if this project is going to be seeing more use.

Regarding ember test, it appears that your PhantomJS installation is the problem, as I'm able to run the tests with my installation. Ember-cli recommends installing it with this command:

npm install -g phantomjs-prebuilt
theAkito commented 6 years ago

Build successful - 13234ms.

Additionally, the application was opened successfully:

Serving on http://localhost:4200/

I saw those messages too, but it didn't help that the server's page fully loads before displaying a blank page. When I inspect the pages code it shows some scripts, etc. but the page itself is blank.

I also installed the correct phantomjs now.

Besides, what version of nodejs is ember comfortable with? I tried 3 different versions now and ember either complains it is too new, or that it is too old. That makes very little sense.