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

Error: require is not defined when running feathers-create #3394

Closed
patamimbre opened this issue Jan 22, 2024 · 3 comments · Fixed by #3395 or #3397
Closed

Error: require is not defined when running feathers-create #3394

patamimbre opened this issue Jan 22, 2024 · 3 comments · Fixed by #3395 or #3397

Comments

@patamimbre
Copy link

Steps to reproduce

Run npm create feathers@latest feathers-chat as described in the docs

It is caused after fixing #3392

Expected behavior

It should create a base project

Actual behavior

It throws Error: require is not defined

System configuration

Module versions (especially the part that's not working):
create-feathers@5.0.16

NodeJS version:
v21.5.0 (tried with node v20 too)

Operating System:
Macos Sonoma 14.2.1

@patamimbre
Copy link
Author

@daffl - seems related to #3392

@daffl
Copy link
Member

daffl commented Jan 22, 2024

Thanks. I was expecting there to be problems, there's been a lot of pain with ES modules :| Reopening since it looks like it's still not fully working.

@daffl
Copy link
Member

daffl commented Jan 22, 2024

This should actually work now in v5.0.18.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants