evidence icon indicating copy to clipboard operation
evidence copied to clipboard

[Bug]: Datasource package "@evidence-dev/mssql" is an invalid Evidence plugin, run again with --debug for more information

Open archiewood opened this issue 1 year ago • 2 comments

Describe the bug

Warning about @evidence-dev/mssql being invalid when a new project is created

Steps to Reproduce

Create a new project using Evidence: New Evidence Project

Logs

npm install ; npm run sources ; npm exec evidence dev -- --open /

added 1434 packages in 12s

> [email protected] sources
> evidence sources

⠸ Loading plugins & sourcesDatasource package "@evidence-dev/mssql" is an invalid Evidence plugin, run again with --debug for more information
✔ Loading plugins & sources
-----
  [Processing] needful_things
  needful_things ⚠ No results returned.
  orders ✔ Finished, wrote 10000 rows.
-----
  Evaluated sources, saving manifest
  ✅ Done!
Forced re-optimization of dependencies

  VITE v5.4.6  ready in 780 ms

  ➜  Local:   http://localhost:3000/
  ➜  Network: use --host to expose
  ➜  press h + enter to show help


### System Info

_No response_

### Severity

serious, but I can work around it

### Additional Information, or Workarounds

_No response_

archiewood avatar Sep 23 '24 08:09 archiewood

This is because the package was not published after the last update. @ItsMeBrianD is going to add a changeset and republish

archiewood avatar Sep 23 '24 14:09 archiewood

@archiewood @ItsMeBrianD FYI on this package, I've found the array that is fed to tedious (the JS MSSQL package) is incorrectly formatted, leading to authentication not working correctly. I will try to do a fix and PR at some stage, but thought a heads up would be helpful (authentication array should be inside the config array). I've modified it locally, and automatic authentication works correctly once I changed it.

timothyhoward avatar Mar 14 '25 03:03 timothyhoward