.spread is not a function when seed:run
See original GitHub issueEnvironment
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:
- Created 4 years ago
- Comments:10
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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 😉
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