juice
juice copied to clipboard
Cannot process juice import because of `#!/usr/bin/env node`
Module parse failed: Unexpected character '#' (1:0)
You may need an appropriate loader to handle this file type.
> #!/usr/bin/env node
I'm using razzle (a create-react-app style loading environment).
This was working in another project I have, but this one is a monorepo. Not sure.
I ultimately got it working by implementing shebang-loaderand forcing loading mimer v1.0.0. Sucky how hard this is. This shebang stuff could easily be separated out into separate access points. There seem to be multiple shebangs in the dependency chain.
@mschipperheyn if you'd like to make a PR to make this easier for other people that would be appreciated