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

Unable to build the main branch #59

Closed
upkarlidder opened this issue Sep 10, 2021 · 2 comments
Closed

Unable to build the main branch #59

upkarlidder opened this issue Sep 10, 2021 · 2 comments
Labels
bug Something isn't working good first issue Good for newcomers stale

Comments

@upkarlidder
Copy link
Member

I am unable to build the main branch with this command: npm install && npm run build --prod.

Error:

Generating ES5 bundles for differential loading...
An unhandled exception occurred: [BABEL] /home/runner/work/Open-Sentencing-UI/Open-Sentencing-UI/web/dist/client/main-es2015.bad17b4af1fa6c1a2f30.js: Could not find plugin "proposal-class-static-block". Ensure there is an entry in ./available-plugins.js for it. (While processing: "/home/runner/work/Open-Sentencing-UI/Open-Sentencing-UI/web/node_modules/@babel/preset-env/lib/index.js")
See "/tmp/ng-q7UTv2/angular-errors.log" for further details.
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! embrace-client@0.0.0 build: `ng build --prod`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the embrace-client@0.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/runner/.npm/_logs/2021-09-10T23_23_55_263Z-debug.log

Steps:

  1. git clone the repo
  2. cd web
  3. npm install
  4. npm run build --prod
node --version
v14.17.0

npm --version                      
6.14.13

@yochanah @wisdomkeeper can you please test? What am I missing? Looks like a dependency issue.

@github-actions
Copy link

👋 Hi! This issue has been marked stale due to inactivity. If no further activity occurs, it will automatically be closed.

@demilolu
Copy link
Contributor

demilolu commented Nov 5, 2021

fixed by #81

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers stale
Projects
Status: Backlog
Development

No branches or pull requests

2 participants