This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
I have a couple custom visuals I need to check into source control. A while back I read a blog post detailing what folders I can delete and then there is an install command to run that'll get everything I need back when I have to load the project again. It looks like the node_modules and .tmp folders are the ones (just over 8,200 files for this particular project).
Can anyone tell me what I have to do here, or point me to where I can read up on it?
Thanks
Solved! Go to Solution.
Hi @cboneill0099,
If you're using Git, here's a .gitignore file you can use in your project to ensure that all temp/unnecessary files are excluded (I've had this reviewed by MS as part of certifying a visual).
As long as your package.json and package-lock.json contains all dependencies and is committed, you can rebuild your visual locally after cloning the repo by running:
npm i
...from the root folder of your project. This will scan your package*.json files and reconstruct your project's dependencies in the node_modules folder.
This should be all you need, but feel free to ask any other questions and I'll see if I can clarify for you.
Regards,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Hi @cboneill0099,
If you're using Git, here's a .gitignore file you can use in your project to ensure that all temp/unnecessary files are excluded (I've had this reviewed by MS as part of certifying a visual).
As long as your package.json and package-lock.json contains all dependencies and is committed, you can rebuild your visual locally after cloning the repo by running:
npm i
...from the root folder of your project. This will scan your package*.json files and reconstruct your project's dependencies in the node_modules folder.
This should be all you need, but feel free to ask any other questions and I'll see if I can clarify for you.
Regards,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Thank you, appreciate the info.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |