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

Path contains invalid characters #173

Closed
ms-fadaei opened this issue Jan 28, 2021 · 0 comments
Closed

Path contains invalid characters #173

ms-fadaei opened this issue Jan 28, 2021 · 0 comments

Comments

@ms-fadaei
Copy link

I have an error in the console when I use nuxt-img with dynamic images.
I use CDN for my images. When I use nuxt-img in my project with dynamic images I got the error. The images load properly (I can see them) with an error in the console.

The Image URL: https://cdn.achareh.ir/production.achareh.ir/listings/services/0e5e5bee-2eae-45b9-8b38-afbaa5848bab/banner.jpg
The Generated URL: https://192.168.1.3:3020/_img/remote/_/q_70,s_250_150/https://cdn.achareh.ir/production.achareh.ir/listings/services/0e5e5bee-2eae-45b9-8b38-afbaa5848bab/banner.jpg

The error:

ERROR Path contains invalid characters: C:\Users\SaLeH\Desktop\achareh-nuxt\node_modules.cache\nuxt-image\https:\cdn.achareh.ir\production.achareh.ir\listings\services\0e5e5bee-2eae-45b9-8b38-afbaa5848bab\banner.jpg\1772f61a4d0-4c5e

at checkPath (node_modules\ipx\node_modules\fs-extra\lib\mkdirs\make-dir.js:20:21)
at Object.module.exports.makeDir (node_modules\ipx\node_modules\fs-extra\lib\mkdirs\make-dir.js:45:3)
at Object.defineProperty.value (node_modules\ipx\node_modules\universalify\index.js:21:45)
at FSCache.set (node_modules\ipx\dist\index.js:338:19)
at async IPX.getData (node_modules\ipx\dist\index.js:482:7)
at async IPXReqHandler (node_modules\ipx\dist\index.js:568:16)

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

1 participant