Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Quasar 2 Vue 3 "ReferenceError: process is not defined" error

I bump into ReferenceError: process is not defined error for my Quasar 2 application deployed to firebase. Howver, running it locally with quasar dev does not see the error. Any advice and insight is appreciated.

like image 262
Kok How Teh Avatar asked Apr 24 '26 15:04

Kok How Teh


1 Answers

This happened to me as well after I accidentally ran "quasar build" in my functions directory rather than in my root directory then deployed that.

Easy way to test this is run the build command in the root directory and check if it fixes the error on the firebase hosting emulator (usually localhost:5000) before deploy.

Hope this helps anyone else who has my issue.

like image 85
hbnewleaf Avatar answered Apr 27 '26 07:04

hbnewleaf