You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys, the zip function inside zip.js does not work in a angular implementation of this package, it returns the following error:
MeusMapasDetailComponent.html:497 ERROR ReferenceError: process is not defined
at push../node_modules/shp-write/src/zip.js.module.exports (zip.js:33)
at Object.push../node_modules/shp-write/src/download.js.module.exports [as download] (download.js:4)
at MeusMapasDetailComponent.push../src/app/cliente-basico/modules/meus-mapas/detail/detail.component.ts.MeusMapasDetailComponent.exportshp (detail.component.ts:908)
at Object.eval [as handleEvent] (MeusMapasDetailComponent.html:497)
at handleEvent (core.js:23107)
at callWithDebugContext (core.js:24177)
at Object.debugHandleEvent [as handleEvent] (core.js:23904)
at dispatchEvent (core.js:20556)
at core.js:21003
at HTMLButtonElement.<anonymous> (platform-browser.js:993)
Hi guys, the zip function inside
zip.js
does not work in a angular implementation of this package, it returns the following error:My current implementation
What i found out
After messing arround i found that the error is in line 33 of the zip.js file inside src, where is has:
since theres no process being set, because the method is being called by a angular project, the download does not happens.
The text was updated successfully, but these errors were encountered: