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

Cannot find module 'esbuild' if making application with build command only #2581

Open
btopro opened this issue Feb 24, 2023 · 0 comments
Open

Comments

@btopro
Copy link
Contributor

btopro commented Feb 24, 2023

Expected behavior

If build is installed, it should have all dependencies out of the box.

Actual Behavior

Run npm init @open-wc and create an application. Then ONLY select the build command

Additional context

If you have esbuild installed globally I imagine this doesn't happen however not everyone does.

package.json when templated should include esbuild in devDependencies. Have seen a lot of students run into this the last few weeks and I myself just now when using it for new projects to get started.

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

1 participant