remix-starter-kit
remix-starter-kit copied to clipboard
dev:remix does not build on windows
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
- clone the repository on a windows machine (with node version 16.14.2)
- edit the .env to include your supabase variables
- npm run dev
- see error
Expected behavior
no error
Screenshots or Videos
No response
Platform
- OS: Windows
- Node version 16.14.2
Additional context
No response
Same issue. any updates?