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

Doesn't build #19

Open
Tailslide opened this issue Jun 16, 2021 · 2 comments
Open

Doesn't build #19

Tailslide opened this issue Jun 16, 2021 · 2 comments

Comments

@Tailslide
Copy link

TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received an instance of Object
at Object.writeFileSync (fs.js:1460:5)
at Object.exports.build (C:\source\principleworx\blazor\Leaflet.TileLayer.Fallback\build\build.js:106:12)

@ghybs
Copy link
Owner

ghybs commented Sep 5, 2021

Hi,

Sorry for the late reply.

Indeed, strangely the first time the build is run (and also on first npm install), this error is reported, probably because the build script tries to read a file that does not exist yet.

But on next builds, everything works fine.
Therefore you should be good by simply running the build script again.

I do not think I will have the opportunity to debug this myself unfortunately. PR welcome! :-)

@Tailslide
Copy link
Author

I wound up writing my own from scratch and incorporating it into a fork of leaflet.offline: allartk/leaflet.offline#72

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

No branches or pull requests

2 participants