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

npm run dev doesn't work #68

Closed
ticup opened this issue Nov 15, 2022 · 1 comment
Closed

npm run dev doesn't work #68

ticup opened this issue Nov 15, 2022 · 1 comment

Comments

@ticup
Copy link

ticup commented Nov 15, 2022

Using a fresh clone of this repository npm run dev doesn't work.
When going to the server's endpoint I get

.netlify/edge-functions/server.js:15626
export {
^^^^^^

SyntaxError: Unexpected token 'export'
    at Object.compileFunction (node:vm:360:18)
    at wrapSafe (node:internal/modules/cjs/loader:1088:15)
    at Module._compile (node:internal/modules/cjs/loader:1123:27)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)
    at Function.Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at node_modules/@remix-run/serve/index.js:43:17
    at Layer.handle [as handle_request] (node_modules/express/lib/router/layer.js:95:5)

Not using remix CLI, but using netlify CLI, it does work though: npm run start

@nickytonline
Copy link
Contributor

nickytonline commented Feb 10, 2023

I'm going to go ahead and close this as the official template will be coming soon. It's based off of work in netlify/remix-compute#16 and #83

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