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
When using the csv library for a frontend app with Vue, I get build errors on multiple CI environments. When running the build command locally, it's working fine. In all CI environments I tried (Github Actions, Azure Pipelines, Cloudflare Pages), I get an error when runnung npm run build
src/services/my-parser.ts(61,16): error TS2339: Property 'on' does not exist on type 'Parser'.
src/services/my-parser.ts(63,37): error TS2339: Property 'read' does not exist on type 'Parser'.
src/services/my-parser.ts(68,16): error TS2339: Property 'on' does not exist on type 'Parser'.
src/services/my-parser.ts(73,16): error TS2339: Property 'on' does not exist on type 'Parser'.
To Reproduce
I made a Vue Project with Vite as build system using pnpm create vite my-vue-app --template vue-ts. I tried using 'csv@6.2.0' as well as ' csv-parse@5.3.0'.
I use import according to docs from csv-parse/browser/esm and then use the parse() and parser.on() as well as parser.read()
Additional context
Locally, the build works regardless. I tried using pnpm as well as npm without success
The text was updated successfully, but these errors were encountered:
Sorry, I was in a hurry. I now created a sample repo as described https://github.com/aryobenholzner/vue-csv. Notice the github action fails when running npm run build
Describe the bug
When using the csv library for a frontend app with Vue, I get build errors on multiple CI environments. When running the build command locally, it's working fine. In all CI environments I tried (Github Actions, Azure Pipelines, Cloudflare Pages), I get an error when runnung
npm run build
To Reproduce
I made a Vue Project with Vite as build system using
pnpm create vite my-vue-app --template vue-ts
. I tried using 'csv@6.2.0' as well as ' csv-parse@5.3.0'.I use import according to docs from
csv-parse/browser/esm
and then use theparse()
andparser.on()
as well asparser.read()
Additional context
Locally, the build works regardless. I tried using pnpm as well as npm without success
The text was updated successfully, but these errors were encountered: