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

React tool wont build using js-common 6.1.0 #1907

Closed
kinga17 opened this issue Feb 18, 2025 · 1 comment
Closed

React tool wont build using js-common 6.1.0 #1907

kinga17 opened this issue Feb 18, 2025 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@kinga17
Copy link

kinga17 commented Feb 18, 2025

I generated a react frontend tool using the cli generate tool_react command. The autogenerated package.json has a dependency for @openc3/js-common 6.1.0.

The tool will not build because "dist/services.js" is missing. If I go in to node_modules/@openc3c/js-common and perform and yarn install and yarn run build, I get the error "error during build: Could not resolve entry module "index.html". I navigated to the npm registry and noticed that the dist folder is not there.

I am able to build my tool if I specify version 5.21.0-beta0 for the @openc3/js-common.

Is there a different build process for front end tools that I am missing?

@jmthomas
Copy link
Member

This is effectively a duplicate of #1890 and was closed by #1893. Unfortunately it won't be 'fixed' until our next release which will be within the next few weeks.

@jmthomas jmthomas added the duplicate This issue or pull request already exists label Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants