Giter Site home page Giter Site logo

Comments (4)

hongfaqiu avatar hongfaqiu commented on May 18, 2024

Could you provide your code to debug

from shp-write-multi.

matheus2m avatar matheus2m commented on May 18, 2024

Same error here, i was thinking maybe is my geojson but i tested with the example code and threw the same error.

`Error: No output type specified.
at n.generateInternalStream (https://j7d2iv.csb.app/node_modules/jszip/dist/jszip.min.js:13:17045)

at n.generateAsync (https://j7d2iv.csb.app/node_modules/jszip/dist/jszip.min.js:13:17444)

at module.exports (https://j7d2iv.csb.app/node_modules/shp-write-multi/src/zip.js:46:28)

at module.exports [as download] (https://j7d2iv.csb.app/node_modules/shp-write-multi/src/download.js:4:25)

at _callee$ (https://j7d2iv.csb.app/src/index.js:32:29)

at tryCatch (https://j7d2iv.csb.app/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:44:17)

at Generator.eval (https://j7d2iv.csb.app/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:125:22)

at Generator.eval [as next] (https://j7d2iv.csb.app/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:69:21)

at asyncGeneratorStep (https://j7d2iv.csb.app/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)

at _next (https://j7d2iv.csb.app/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)

at eval (https://j7d2iv.csb.app/node_modules/@babel/runtime/helpers/asyncToGenerator.js:27:7)

at new Promise (<anonymous>)

at HTMLButtonElement.eval (https://j7d2iv.csb.app/node_modules/@babel/runtime/helpers/asyncToGenerator.js:19:12)

at HTMLButtonElement._download (https://j7d2iv.csb.app/src/index.js:68:20)

at [HTMLButtonElement.download](http://htmlbuttonelement.download/) (https://j7d2iv.csb.app/src/index.js:10:20)`

code example: https://codesandbox.io/s/upbeat-scooby-j7d2iv?file=/src/index.js

from shp-write-multi.

hongfaqiu avatar hongfaqiu commented on May 18, 2024

Same error here, i was thinking maybe is my geojson but i tested with the example code and threw the same error.

`Error: No output type specified. at n.generateInternalStream (https://j7d2iv.csb.app/node_modules/jszip/dist/jszip.min.js:13:17045)

at n.generateAsync (https://j7d2iv.csb.app/node_modules/jszip/dist/jszip.min.js:13:17444)

at module.exports (https://j7d2iv.csb.app/node_modules/shp-write-multi/src/zip.js:46:28)

at module.exports [as download] (https://j7d2iv.csb.app/node_modules/shp-write-multi/src/download.js:4:25)

at _callee$ (https://j7d2iv.csb.app/src/index.js:32:29)

at tryCatch (https://j7d2iv.csb.app/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:44:17)

at Generator.eval (https://j7d2iv.csb.app/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:125:22)

at Generator.eval [as next] (https://j7d2iv.csb.app/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:69:21)

at asyncGeneratorStep (https://j7d2iv.csb.app/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)

at _next (https://j7d2iv.csb.app/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)

at eval (https://j7d2iv.csb.app/node_modules/@babel/runtime/helpers/asyncToGenerator.js:27:7)

at new Promise (<anonymous>)

at HTMLButtonElement.eval (https://j7d2iv.csb.app/node_modules/@babel/runtime/helpers/asyncToGenerator.js:19:12)

at HTMLButtonElement._download (https://j7d2iv.csb.app/src/index.js:68:20)

at [HTMLButtonElement.download](http://htmlbuttonelement.download/) (https://j7d2iv.csb.app/src/index.js:10:20)`

code example: https://codesandbox.io/s/upbeat-scooby-j7d2iv?file=/src/index.js

Sorry for my late reply because of the Spring Festival, I have fix this error in browser caused by the jszip's broken update in v3.

from shp-write-multi.

hongfaqiu avatar hongfaqiu commented on May 18, 2024

Now you can install the new version v1.1.2, which fixed this error

from shp-write-multi.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.