ryanflorence / remix-planner

97 stars 22 forks source link

failed on npm run dev #2

Open AlonGvili opened 2 years ago

AlonGvili commented 2 years ago
[1] D:\Github\remix-planner\node_modules\.bin\remix:2
[1] basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
[1]           ^^^^^^^
[1]
[1] SyntaxError: missing ) after argument list
[1]     at Object.compileFunction (node:vm:352:18)
[1]     at wrapSafe (node:internal/modules/cjs/loader:1031:15)
[1]     at Module._compile (node:internal/modules/cjs/loader:1065:27)
[1]     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
[1]     at Module.load (node:internal/modules/cjs/loader:981:32)
[1]     at Function.Module._load (node:internal/modules/cjs/loader:822:12)
[1]     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
[1]     at node:internal/main/run_main_module:17:47
[1] node -r dotenv/config node_modules/.bin/remix dev exited with code 1
asciant commented 2 years ago

I was able to get the project working locally by running ncu and updating all the packages. Then I renamed .env.example to .env and added a value all the environment variables (including a url to my local postgres server/database). After that npx prisma db push will create the database structure and prisma client.

I then ported the app over the mailgun.js from mailgun-js, only to realise that the URL is pasted into the console when running on dev. Looks like a pretty cool task manager of sorts.