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 build correctly / run #79

Open
faebser opened this issue Oct 4, 2023 · 1 comment
Open

Cannot build correctly / run #79

faebser opened this issue Oct 4, 2023 · 1 comment

Comments

@faebser
Copy link

faebser commented Oct 4, 2023

Hi,

I'm trying to build this project so that I can extend the user interface with some buttons and write an adapter for Omeka S CMS. Sadly trying to build it with npm fails totally, with yarn i had some success. I'm running node v16.20.2 and export NODE_OPTIONS=--openssl-legacy-provider. Running yarn start gives the errors visible in the gist below.

Could you maybe give me some pointers on how to build this project?
Thank you

https://gist.github.com/faebser/11e27c2ca01459a6a2f357880ec13c80

@ColeDCrawford
Copy link

ColeDCrawford commented Nov 29, 2023

We were previously building Mirador + mirador-annotations with Yarn and node 14 and webpack (v5), and recently upgraded to npm and node 20 and Vite. We are also using "react": "^17.0.2" and "react-dom": "^17.0.2" requirements. We are using ARG NODE_OPTIONS=--openssl-legacy-provider as well as npm install --legacy-peer-deps for now. I don't think we have any other abnormal build steps to get this to work. I don't have anything reproducible I can readily share as this is embedded in a much larger project, but I'd try adding the --legacy-peer-deps flag and see if that helps as a start.

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