shabados / database

A digital representation of Sikh Bani and other Panthic texts with a public logbook of sangat-sourced corrections.
https://docs.shabados.com/database
GNU General Public License v3.0
63 stars 24 forks source link

Missing dependency after `npm install @shabados/database` #1875

Closed cingh-jasdeep closed 2 years ago

cingh-jasdeep commented 2 years ago

Describe the bug

Step to reproduce behavior

  1. Install the database dependency from npm
  2. Compile the project containing the dependency
  3. Get error while compiling

Expected behavior

  1. Be able to use the offline JavaScript API right away

Screenshots

Screenshot from 2022-05-24 11-35-16

Bug environment

cingh-jasdeep commented 2 years ago

even after mssql install, there are some issues Screenshot from 2022-05-24 11-54-25

cingh-jasdeep commented 2 years ago

Update. I tried using package from console as given in the Readme example Tutorial it works! must be something to do with my compilation I am building this app in Nuxt, (webpack)

cingh-jasdeep commented 2 years ago

sorry I am new with Javascript. This is a node only package.