Skip to content

Loader exits with code 1, just using import {FileAttachment} #1832

Answered by mbostock
Martien asked this question in Q&A
Discussion options

You must be logged in to vote

JavaScript data loaders are simply vanilla Node.js programs. You need to use node:fs to read files rather than FileAttachment.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Martien
Comment options

Answer selected by Fil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants