-
Notifications
You must be signed in to change notification settings - Fork 5
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
SyntaxError #1
Comments
Ok, I finally understand the problem: I'm using pnpm, and the .bin folder does not contain node files but sh files that call the node files, therefore it is not possible to call them using node. for example .bin/remix looks like this:
If I add |
I managed to automate this by running this script at postinstall (on mac, maybe we could do it with sed -i on linux):
However it would be nice not to have to do this extra step ;) |
Hm. I'll look into it |
@badaz have you tried using https://github.com/kentcdodds/binode instead? |
I will try and report back here tx |
Another option I guess is to use
Maybe this should be a recommended option (if it works) |
Hello, I've been trying to use your plugin after hours of trying to fix the
Warning: Prop 'className' did not match.
problem in my remix/styled-components app. I followed the steps, installed the 2 deps (esbuild-inject-plugin and esbuild-styled-components plugin), added the minimal esbuild-plugins.js file at the root of my project, modified the package.json scripts as shown in your example, yet I'm getting this error when running npm run dev:Any idea how to handle this?
tx
The text was updated successfully, but these errors were encountered: