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.

error while starting 2.0 server

See original GitHub issue

Here I am getting following error when I start the server, though my postgres and redis is running. Can you help ?

C:\ONX\Speckle\speckle-server-master\packages\server>npm run dev

@speckle/server@2.1.0 dev C:\ONX\Speckle\speckle-server-master\packages\server cross-env NODE_ENV=development DEBUG=speckle:* nodemon ./bin/www --watch . --watch ./bin/www -e js,graphql,env

[nodemon] 2.0.6 [nodemon] to restart at any time, enter rs [nodemon] watching path(s): . bin\www [nodemon] watching extensions: js,graphql,env [nodemon] starting node ./bin/www speckle:db-startup Loaded knex conf for development +0ms speckle:www KnexTimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call? speckle:www at Client_PG.acquireConnection (C:\ONX\Speckle\speckle-server-master\packages\server\node_modules\knex\lib\client.js:348:26) speckle:www at async listCompleted (C:\ONX\Speckle\speckle-server-master\packages\server\node_modules\knex\lib\migrate\migration-list-resolver.js:12:3) speckle:www at async Promise.all (index 1) speckle:www at async Migrator.latest (C:\ONX\Speckle\speckle-server-master\packages\server\node_modules\knex\lib\migrate\Migrator.js:64:29) speckle:www at async exports.init (C:\ONX\Speckle\speckle-server-master\packages\server\app.js:38:3) +0ms

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
didimitriecommented, Jan 27, 2021

Hey @riteshonx, it’s probably the node version - which one are you using? Otherwise, please give it a shot with node v12! If you’ve installed it with nvm should be easy to switch between them.

0reactions
gjedlicskacommented, Jan 30, 2021

You have to build the viewer package first and initialize the monorepo dependency linking via $ lerna init.

An alternative method is to run the whole server via docker and docker-compose. Check out the root readme for instructions. Make sure to pull the latest changes from master, cause this feature just got merged.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ADFS 2.0 service fails to start - Windows Server | Microsoft Learn
Connect to the server that is running SQL Server by using SQL Management Studio. Check whether the AD FS 2.0 Windows service identity...
Read more >
Warzone 2.0 'Connection Failed' Error at Game Start Explained
If you're receiving the “Connection Failed” error when starting up Warzone 2.0, the explanation is that the internet connection between your ...
Read more >
How to FIX Servers ERRORS on WARZONE 2 - YouTube
How to FIX Servers ERRORS on WARZONE 2 - Crashing & Not Launching - All ... COD Warzone 2.0 Server down | Fix...
Read more >
Warzone 2.0 'Connection Failed' Error at game start - Fixes
The error may include "Reason: WOLTERS - FRANCIS," which indicates a failure to connect to the server. Here is how to fix these...
Read more >
KB01162 - How to resolve AMS Error: During the startup of the ...
KB01162 - How to resolve AMS Error: During the startup of the AMS server, it freezes on the message “Starting PostgreSQL Server” (Pre...
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