Fork a project, the bundle.js read only

Hi,
First of all, thank you Curran, your project is amazing, beautiful, I saw the 13 hours of your youtube presentation and it was the best presentation I have ever seen.

Now, two questions:
First:
When I fork a project in vizhub I can not edit the bundle.js file.

Second:
If I download the project and try to run as-is, it fails. I guess, in vizhub the index.js is included by default, in stand alone mode it must be included in the HTML page. But also, can not use the import sentence in the index.js file, for example:
import {
select,
csv,
scaleLinear,
} from ‘d3’;

Thank you in advance,
marcelo

1 Like

Hi Marcelo, It is by design that bundle.js is read-only.

Actually, if you create viz with package.json file (it’s a more up-to-date way), you won’t see bundle.js at all. What is your use case, why do you want to edit it?

About the second issue, what errors do you see? Did you run npm install?

See also SmileyFacePart 2, how to set up rollup

1 Like