khteh
khteh

Reputation: 3870

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.

Upvotes: 4

Views: 3117

Answers (2)

hbnewleaf
hbnewleaf

Reputation: 33

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.

Upvotes: 1

khteh
khteh

Reputation: 3870

Solved by installing NPM process package.

Upvotes: 0

Related Questions