remix-starter-kit icon indicating copy to clipboard operation
remix-starter-kit copied to clipboard

dev:remix does not build on windows

Open acatataca opened this issue 2 years ago • 1 comments

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

acatataca avatar Mar 18 '22 17:03 acatataca

Same issue. any updates?

maor700 avatar Jun 23 '22 10:06 maor700