Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while installing Rath in Windows #372

Open
shprojlo opened this issue Jun 7, 2023 · 0 comments · May be fixed by #379
Open

Error while installing Rath in Windows #372

shprojlo opened this issue Jun 7, 2023 · 0 comments · May be fixed by #379

Comments

@shprojlo
Copy link

shprojlo commented Jun 7, 2023

1 error and 1 comment

Error:

The following error is produce while executing the command "yarn workspace rath-client build":

<>
Failed to compile.

Attempted import error: './workers/dateTimeExpand.worker.js?worker' does not contain a default export (imported as 'ExpandDateTimeWorker').
<>

node v18.16.0
yarn v1.22.19

Please help


Comment:

BTW, on a separate note, in Windows the following error is observed when executing "npm run build:client":

< >
[email protected] build:client
GENERATE_SOURCEMAP=false react-app-rewired --max_old_space_size=8000 build

'GENERATE_SOURCEMAP' is not recognized as an internal or external command,
< >

To resolve, edit line 87 in \rath-client\package.json

from: "build:client": "GENERATE_SOURCEMAP=false react-app-rewired --max_old_space_size=8000 build",

to: build:client": " set "GENERATE_SOURCEMAP=false" && react-app-rewired --max_old_space_size=8000 build",

@ObservedObserver ObservedObserver linked a pull request Jul 6, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant