-
Notifications
You must be signed in to change notification settings - Fork 168
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
Build will not run properly if there is a hidden directory in the path #1107
Comments
Hello fractal devs! I hope you are well. |
Hey, thanks for the report. I haven't had a chance to investigate or analyze this yet and quite frankly cannot promise when I can do so. I do remember something similar from the past, but did not manage to find it as of yet. Can you maybe help prioritize this a bit - how important is the fix, can you use a workaround etc? |
Thanks for your feedback! It is not that urgent and i have already implemented a temporary workaround. The workaround is, that i copied the normal GitLab Runner for projects with Fractal Integration and adjusted the configurations so that the build process is not executed in a hidden directory. |
First of all, I would like to thank you for this great project! ✌️
If the path to the current working directory contains a hidden directory (e.g.
.fractal-workspace
), the build process will not find the fractal components and the static export will not correct generated.Steps to reproduce the issue
mkdir -p .fractal-workspace/main && cd .fractal-workspace/main
npm init -y && npm install --save @frctl/fractal
./node_modules/.bin/fractal new test-project
Answer all questions with yes (hit Enter)
cd test-project/ && echo "fractal.web.set('builder.dest', path.join(__dirname, 'build'));" >> fractal.config.js
NODE_ENV=debug ./node_modules/.bin/fractal build
Current result
example
component of the skeleton project isn't generated in the/build
folder and also not referenced in the exported html files (e.g. index.html).Expected result
example
component will be generated.cd ../../../ && mv .fractal-workspace fractal-workspace && cd fractal-workspace/main/test-project
NODE_ENV=debug ./node_modules/.bin/fractal build
Reproduces how often:
Always
Context
The text was updated successfully, but these errors were encountered: