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
Hey, I'm trying to run the frontend of the browser. I'm using node 16 and do npm install and then npm start only to get this error:
> epgg@54.0.2 start
> react-app-rewired start
Failed to compile.
Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.
- configuration.module.rules[2] has an unknown property 'query'. These properties are valid:
object { assert?, compiler?, dependency?, descriptionData?, enforce?, exclude?, generator?, include?, issuer?, issuerLayer?, layer?, loader?, mimetype?, oneOf?, options?, parser?, realResource?, resolve?, resource?, resourceFragment?, resourceQuery?, rules?, scheme?, sideEffects?, test?, type?, use? }
-> A rule description with conditions and effects for modules.
I changed query to options in config-overrides.js and it still doesn't work. Spits out more errors - pastebin.
This is after I changed the node version to 16.20.2.
I also tried referring to #332. I downloaded the frontend.zip you provided and tried running it and I get the same error.
Hi @ajayd-san you might need downgrade typescript to 3.4.5 or something close..
in the meantime, would you like to try the upgrade version instead at https://github.com/twlab/eg3?
hey, thanks for your swift reply. I downgraded ts to 3.4.5, ran npm install and npm start. I get more compilation errors: https://pastebin.com/qN9iLgL1.
My lab already uses the this version, it would not be possible to move to a different version.
Hi @ajayd-san i see. just want to confirm, if you download the frontend.zip file, unzip it, use node v16, on the unzipped folder, if you run npm start directly, it doesn't work?
Hey again, although I can run it with npm start. Running npm install (to install dev dependencies, etc) and then running npm run does not compile. I get the following error:
> epgg@54.0.2 start
> react-app-rewired start
Failed to compile.
Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.
- configuration.module.rules[2] has an unknown property 'query'. These properties are valid:
object { assert?, compiler?, dependency?, descriptionData?, enforce?, exclude?, generator?, include?, issuer?, issuerLayer?, layer?, loader?, mimetype?, oneOf?, options?, parser?, realResource?, resolve?, resource?, resourceFragment?, resourceQuery?, rules?, scheme?, sideEffects?, test?, type?, use? }
-> A rule description with conditions and effects for modules.
Is this version not under development anymore? Would you suggest migrating to eg3?
Hi @ajayd-san for your eg3 question, yes, we have a lot of trouble when updating with npm install and the tool chain breaks the code, that's one of the reason we started eg3.
in my local, sometimes i can do npm install pkg, which seems ok as it slightly modify the dependencies, but with npm install it won't work again...which makes us can only develop without adding dependencies....
really sorry for the trouble, encourage you to try eg3, it's newer and faster.
Activity
lidaof commentedon May 8, 2025
Hi @ajayd-san you might need downgrade typescript to 3.4.5 or something close..
in the meantime, would you like to try the upgrade version instead at https://github.com/twlab/eg3?
ajayd-san commentedon May 8, 2025
hey, thanks for your swift reply. I downgraded ts to 3.4.5, ran
npm installandnpm start. I get more compilation errors: https://pastebin.com/qN9iLgL1.My lab already uses the this version, it would not be possible to move to a different version.
lidaof commentedon May 8, 2025
Hi @ajayd-san i see. just want to confirm, if you download the
frontend.zipfile, unzip it, use node v16, on the unzipped folder, if you runnpm startdirectly, it doesn't work?ajayd-san commentedon May 12, 2025
Hey, Thanks for your help. it works now
ajayd-san commentedon May 14, 2025
Hey again, although I can run it with
npm start. Runningnpm install(to install dev dependencies, etc) and then runningnpm rundoes not compile. I get the following error:Is this version not under development anymore? Would you suggest migrating to eg3?
lidaof commentedon May 14, 2025
Hi @ajayd-san for your eg3 question, yes, we have a lot of trouble when updating with
npm installand the tool chain breaks the code, that's one of the reason we started eg3.in my local, sometimes i can do
npm install pkg, which seems ok as it slightly modify the dependencies, but withnpm installit won't work again...which makes us can only develop without adding dependencies....really sorry for the trouble, encourage you to try eg3, it's newer and faster.