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

dev:remix does not build on windows #10

Open
acatataca opened this issue Mar 18, 2022 · 1 comment
Open

dev:remix does not build on windows #10

acatataca opened this issue Mar 18, 2022 · 1 comment

Comments

@acatataca
Copy link

Describe the bug

[dev:*remix] > dev:remix
[dev:*remix] > node -r dotenv/config node_modules/.bin/remix dev
[dev:*remix]
[dev:*remix] C:\Users\sam\path\to\my-app\node_modules.bin\remix:2
[dev:*remix] basedir=$(dirname "$(echo "$0" | sed -e 's,\,/,g')")
[dev:*remix] ^^^^^^^
[dev:*remix]
[dev:*remix] SyntaxError: missing ) after argument list
[dev:*remix] at Object.compileFunction (node:vm:352:18)
[dev:*remix] at wrapSafe (node:internal/modules/cjs/loader:1032:15)
[dev:*remix] at Module._compile (node:internal/modules/cjs/loader:1067:27)
[dev:*remix] at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
[dev:*remix] at Module.load (node:internal/modules/cjs/loader:981:32)
[dev:*remix] at Function.Module._load (node:internal/modules/cjs/loader:822:12)
[dev:*remix] at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
[dev:*remix] at node:internal/main/run_main_module:17:47
[dev:*remix] npm run dev:remix exited with code 1

looks like node is having trouble with this command on windows:

node -r dotenv/config node_modules/.bin/remix dev

I'm using node version 16.14.2

Thanks,
Sam

Your Example Website or App

https://github.com/one-aalam/remix-starter-kit

Steps to Reproduce the Bug or Issue

  1. clone the repository on a windows machine (with node version 16.14.2)
  2. edit the .env to include your supabase variables
  3. npm run dev
  4. see error

Expected behavior

no error

Screenshots or Videos

No response

Platform

  • OS: Windows
  • Node version 16.14.2

Additional context

No response

@maor700
Copy link

maor700 commented Jun 23, 2022

Same issue. any updates?

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