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

Works fine in previous version, bug got this error in latest version #763

Open
Tonysmark opened this issue Aug 24, 2022 · 2 comments
Open

Comments

@Tonysmark
Copy link

πŸ› Bug Report

image

To Reproduce

  1. copy a svg file to the assets folder
  2. run npx @svgr/cli --config-file .\.svgrrc.js -- assets
  3. the tsx file should be genderated

Expected behavior

I got an error says ” assets does not exist β€œ which is odd for me , cause It's never been show up before

Link to repl or repo (highly encouraged)

config works fine in previous version, and I'm not changing anything in the config file.

Run npx envinfo --system --binaries --npmPackages @svgr/core,@svgr/cli,@svgr/webpack,@svgr/rollup --markdown --clipboard

Paste the results here:

*** Clipboard option removed - use clipboardy or clipboard-cli directly ***


## System:
 - OS: Windows 10 10.0.22622
 - CPU: (16) x64 11th Gen Intel(R) Core(TM) i7-11800H @ 2.30GHz
 - Memory: 21.00 GB / 39.68 GB
## Binaries:
 - Node: 16.15.1 - C:\Env\nodejs\node.EXE
 - Yarn: 3.2.1 - C:\Env\nodejs\yarn.CMD
 - npm: 8.11.0 - C:\Env\nodejs\npm.CMD
@Tonysmark
Copy link
Author

I changed node version to 14.19.0 and runs npx @svgr/cli --config-file .\.svgrrc.js -- assets again
It works just like I expect

@stale
Copy link

stale bot commented Nov 13, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Nov 13, 2022
@stale stale bot closed this as completed May 21, 2023
@gregberge gregberge reopened this May 22, 2023
@stale stale bot removed the wontfix label May 22, 2023
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

2 participants