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

Error after npm start #19

Closed
comerc opened this issue Aug 28, 2016 · 5 comments
Closed

Error after npm start #19

comerc opened this issue Aug 28, 2016 · 5 comments
Assignees
Labels
Projects
Milestone

Comments

@comerc
Copy link

comerc commented Aug 28, 2016

$ npm start

> lovli.js@0.8.0 start /home/aka/lovli.js
> babel-node bin/dev.js

Building client bundle [==============      ] 70% (0.0 seconds)
Webpack Dev Server listening on port 9095
Creating a pool connected to 127.0.0.1:28015
Creating a pool connected to 127.0.0.1:28015
Express listening at http://localhost:3000
info: Connecting to RethinkDB: localhost:28015
Building client bundle [===========         ] 57% (1.2 seconds)info: Index metadata synced.
Building client bundle [==========          ] 52% (1.3 seconds)info: Groups metadata synced.
info: Collections metadata synced.
Building client bundle [========            ] 42% (1.4 seconds)info: Metadata synced with database, ready for traffic.
Built client in 8.966s.
Hash: 5af6335290a32da2a457
Version: webpack 1.13.0
Time: 8973ms
                                 Asset     Size  Chunks             Chunk Names
  1478ddc649b1c6f9313f008b8bc70c70.png  17.2 kB          [emitted]  
  a247f4358b253516c32943603c4c5970.eot  76.2 kB          [emitted]  
  6c4c3504e3402b6f1b75332b796da253.svg   390 kB          [emitted]  
  9f5388fac608dfe77f4343d38abf122f.ttf   152 kB          [emitted]  
a1a450ea331a3fc89e867ecad963b6b2.woff2  71.8 kB          [emitted]  
 f84ffa8dd9706d3cf7c8e800372c0cc0.woff  90.1 kB          [emitted]  
                      client.bundle.js  1.99 MB       0  [emitted]  app
                            styles.css  2.53 kB       0  [emitted]  app
                  client.bundle.js.map  2.23 MB       0  [emitted]  app
                        styles.css.map  4.01 kB       0  [emitted]  app
chunk    {0} client.bundle.js, styles.css, client.bundle.js.map, styles.css.map (app) 1.71 MB [rendered]
Child extract-text-webpack-plugin:
    chunk    {0} extract-text-webpack-plugin-output-filename 3.94 kB [rendered]
Child extract-text-webpack-plugin:
                                   Asset     Size  Chunks       Chunk Names
    1478ddc649b1c6f9313f008b8bc70c70.png  17.2 kB               
    chunk    {0} extract-text-webpack-plugin-output-filename 2.36 kB [rendered]
Child extract-text-webpack-plugin:
    chunk    {0} extract-text-webpack-plugin-output-filename 8.98 kB [rendered]
webpack: bundle is now VALID.
Unhandled rejection TypeError: Cannot read property 'table' of null
    at /home/aka/lovli.js/source/server/jobs/createTodos.js:26:13
    at tryCatcher (/home/aka/lovli.js/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/aka/lovli.js/node_modules/bluebird/js/release/promise.js:509:31)
    at Promise._settlePromise (/home/aka/lovli.js/node_modules/bluebird/js/release/promise.js:566:18)
    at Promise._settlePromise0 (/home/aka/lovli.js/node_modules/bluebird/js/release/promise.js:611:10)
    at Promise._settlePromises (/home/aka/lovli.js/node_modules/bluebird/js/release/promise.js:690:18)
    at Async._drainQueue (/home/aka/lovli.js/node_modules/bluebird/js/release/async.js:138:16)
    at Async._drainQueues (/home/aka/lovli.js/node_modules/bluebird/js/release/async.js:148:10)
    at Immediate.Async.drainQueues [as _onImmediate] (/home/aka/lovli.js/node_modules/bluebird/js/release/async.js:17:14)
    at processImmediate [as _immediateCallback] (timers.js:383:17)
@flipace
Copy link
Owner

flipace commented Aug 29, 2016

hi, which version of horizon was used in this case?

@comerc
Copy link
Author

comerc commented Aug 29, 2016

2.0 release.

@flipace flipace added the bug label Aug 30, 2016
@flipace flipace added this to the 1.0 milestone Aug 30, 2016
@flipace flipace self-assigned this Aug 30, 2016
@flipace
Copy link
Owner

flipace commented Aug 30, 2016

thanks for the info, this probably due to the changes to table definitions in horizon 2.
lovli has not yet been updated for v2.

@nikitph
Copy link

nikitph commented Oct 3, 2016

any temporary workarounds?

@flipace
Copy link
Owner

flipace commented Oct 3, 2016

you can just remove the code which retrieves the "internal table name" from the createTodos and deleteTodos scripts since there's no need for this lookup anymore in horizon 2

@flipace flipace closed this as completed in 378442a Dec 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
lovli.js
In progress
Development

No branches or pull requests

3 participants