Replies: 1 comment
-
There is a community SWC plugin that might be worth a try as well. Will be looking into the implementation in the future and try to support its continued development. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using StyleX to build our design system component library. Unfortunately we couldn't use Remix and had to pivot to Nextjs. It's been rough since. Really looking forward to the CLI working with node_modules (aka the component library and the tokens library).
Anyways, today I had a developer who was trying to start up their own Nextjs app to begin a new project with our component library. When running
pnpm run dev
they would get the errorTypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
Sadness ensued and a lot of grumbling at the need of the babelrc file (that's what seemed to be the major culprit because if you removed it, no more error). I was able to finally get the error to spit out something more specific:
running the following ended up clearing up the issue. Our other app has some AWS Amplify stuff installed that apparently also already installed regenerator (it was not in the package.json but was available for the build)
So, just wanted to share that here, might save someone some time.
Beta Was this translation helpful? Give feedback.
All reactions