You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I really want to use your lib in my project on SvelteKit. However when I try to import lib on my client side, there is error "ReferenceError: process is not defined". I didn't pass any info about DB, I just want to lint sql query sintaksis. Also on server-side import works well.
As I know "process is not defined" error usually occurs when there's a try to use some server-side variables on client-side. However I guess that when I don't connect to DB, there shouldn't be such variables. So is there an opportunity to exec your lib in client-side? I apperciate your help!
Import script:
importsqlLintfrom'sql-lint'
Error log in DevTools:
Code in utils.js:109:1:
The text was updated successfully, but these errors were encountered:
Hi! I really want to use your lib in my project on SvelteKit. However when I try to import lib on my client side, there is error "ReferenceError: process is not defined". I didn't pass any info about DB, I just want to lint sql query sintaksis. Also on server-side import works well.
As I know "process is not defined" error usually occurs when there's a try to use some server-side variables on client-side. However I guess that when I don't connect to DB, there shouldn't be such variables. So is there an opportunity to exec your lib in client-side? I apperciate your help!
Import script:
Error log in DevTools:
Code in utils.js:109:1:
The text was updated successfully, but these errors were encountered: