astro-imagetools
astro-imagetools copied to clipboard
Run failed on Windows
Hi, thanks for you hard work.
I ran to this error when running on Windows. In Linux, it works fine.
- astro:
1.0.0-beta.20
- astro-imagetools:
0.6.2
- node:
16.15.0
> @example/[email protected] dev
> astro dev --experimental-integrations
file:///D:/Project/astro-site/node_modules/astro-imagetools/utils/runtimeChecks.js:67
export const pwd = process.env.PWD.split(path.sep).join(path.posix.sep);
^
TypeError: Cannot read properties of undefined (reading 'split')
at file:///D:/Project/astro-site/node_modules/astro-imagetools/utils/runtimeChecks.js:67:36
Thank you for reporting the issue @pinanek23 ! The latest release v0.6.3
contains fix for this error. Can you check if you are still getting any errors on Windows?
I upgraded to 0.6.3
. Now i can start the dev server but still run into another issue.
What are you passing as the value of the src
prop @pinanek23 ?
Hey @RafidMuhymin, i've created this repo astro-imagestools-bug, you can check this repo. It works totally fine on Linux.