Uncaught ReferenceError: process is not defined

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
deaa
Posts: 1
Joined: 08 May 2016, 20:28

01 Mar 2022, 19:12

Hi, i have downloaded Ultima template ver7.0.0
extracted ts files
Run
npm install

and
npm start


when i'm trying to edit any file this error appear in console
Uncaught ReferenceError: process is not defined
at Object.4043 (<anonymous>:2:13168)
at r (<anonymous>:2:306599)
at Object.8048 (<anonymous>:2:9496)
at r (<anonymous>:2:306599)
at Object.8641 (<anonymous>:2:1379)
at r (<anonymous>:2:306599)
at <anonymous>:2:315627
at <anonymous>:2:324225
at <anonymous>:2:324229
at HTMLIFrameElement.e.onload (index.js:1:1)


Image

and iframe on top of the body

Image

i'm using Node v14.15.4

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

04 Mar 2022, 13:08

Hi,

This issue has already been fixed for the latest PrimeReact version. Also, we don't add any iframe tag. Maybe it can be related to your browser's extensions.

Best Regards,

kfcsoft
Posts: 4
Joined: 01 Jun 2021, 13:57

06 Jul 2022, 01:14

Put this in your eslint

module.exports = {
env: {
jest: true,
browser: true,
},
globals: {
window: true,
document: true,
process: true,
},

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

08 Jul 2022, 09:48

+1, Thanks a lot, @kfcsoft ;)

Post Reply

Return to “Ultima - PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 7 guests