question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

.spread is not a function when seed:run

See original GitHub issue

Environment

Knex version: 19.0.0 Database + version: pg 7.11.0 OS: Ubuntu 18.04

Bug

When I try run seeds by command knex seed:run, I have error Error message TypeError: initKnex(...).seed.run(...).spread is not a function It’s break from version 0.18.0. I think .spread is bluebird legacy code.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10

github_iconTop GitHub Comments

2reactions
Omid-Incarnationcommented, Aug 28, 2019

I just fix the problem!

Although I updated Knex globally by this code " npm update -g knex " the Knex didn’t update so I install it again like this “npm install knex -g”.

now it is working 😉

2reactions
colmercommented, Jul 21, 2019

Problem was in the old global knex version. Global was 0.15 version, locally in project was 0.19.0. When I updated the global version to 0.19.0, problem was gone

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Discussion] Help to understand OOB - Forum - speedrun.com
I have recently started making videos about Destiny 2 and I want to make one focused on the OOB, in this game it...
Read more >
What Is Speedrunning? A Detailed Guide On Gaming's Most ...
Speedrunning can either be a sprint or a marathon, depending on the game. It basically means finishing the game in the shortest time ......
Read more >
Pokémon Scarlet and Violet speedruns are already hitting ...
Speedrunning leaderboard site Speedrun.com has begun accepting run submissions for Pokémon Scarlet and Violet, and there are already ...
Read more >
The Wild World of Animal Crossing Speedrunning - Fanbyte
That's right, people speedrun Animal Crossing. ... “If you're not up to losing a run that you've spent over an hour on because...
Read more >
Speedrunning Culture: The Future of Single-Player Gaming
The beauty of video games is that they're interactive, meaning you can play them however you wish. This may not be as true...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found