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 install openmct on linux (Pop_OS! 21.04) #4279

Closed
2 of 5 tasks
Manu-pardo opened this issue Sep 30, 2021 · 3 comments
Closed
2 of 5 tasks

Unable to install openmct on linux (Pop_OS! 21.04) #4279

Manu-pardo opened this issue Sep 30, 2021 · 3 comments
Labels
bug:platform specific to OS/Browser/Installation method bug:regression It used to work. Now it doesn't :( severity:blocker source:community Community contribution or request type:bug

Comments

@Manu-pardo
Copy link

Manu-pardo commented Sep 30, 2021

Summary

When attempting to install the last stable version of openmct, it fails and shows several warnings and errors such as EBADENGINE, deprecated or no longer maintained packages, error code 1, python2 not found, and much more.

I tried to update dependencies with npm update or npm update --force and also npx npm-check-updates -u.

Expected vs Current Behavior

It should install the dependencies and allow the user to continue running openmct with npm start once installed

Impact Check List

  • Data loss or misrepresented data?
  • Regression? Did this used to work or has it always been broken?
  • Is there a workaround available?
  • Does this impact a critical component?
  • Is this just a visual bug?

Steps to Reproduce

  1. clone to a folder with git clone https://github.com/nasa/openmct.git
  2. go to the folder (cd openmct)
  3. run command npm start
  4. Ends with error code 1 without a successful installation.

Environment

  • Open MCT Version: openmct@1.7.8-SNAPSHOT
  • Deployment Type:
  • OS: Ubuntu 21.04 (Pop_OS! 21.04) x86_64
  • Browser: Mozilla Firefox 92.0
  • NodeJs version: v12.21.0
  • NPM version: 7.20.5
  • Webpack: v5.55.1

Additional Information

2021-09-30T02_59_51_075Z-debug.log

@unlikelyzero unlikelyzero added bug:regression It used to work. Now it doesn't :( source:community Community contribution or request bug:platform specific to OS/Browser/Installation method severity:blocker labels Sep 30, 2021
@akhenry
Copy link
Contributor

akhenry commented Oct 5, 2021

@Manu-pardo Thanks for reporting this. Based on your provided log file it actually looks as though you are building in Node 16, rather than 12 as reported? eg.

0 verbose cli [
0 verbose cli   '/home/manu/.nvm/versions/node/v16.2.0/bin/node',
0 verbose cli   '/home/manu/.nvm/versions/node/v16.2.0/bin/npm',
0 verbose cli   'install'
0 verbose cli ]

Unfortunately we do have some issues building with Node 16 right now.

Could you try building with node 12?

@Manu-pardo
Copy link
Author

@Manu-pardo Thanks for reporting this. Based on your provided log file it actually looks as though you are building in Node 16, rather than 12 as reported? eg.

0 verbose cli [
0 verbose cli   '/home/manu/.nvm/versions/node/v16.2.0/bin/node',
0 verbose cli   '/home/manu/.nvm/versions/node/v16.2.0/bin/npm',
0 verbose cli   'install'
0 verbose cli ]

Unfortunately we do have some issues building with Node 16 right now.

Could you try building with node 12?

I changed the node version to the last LTS (14.18.0) using nvm and now I am able to install it and start it (with the typical warnings).

@akhenry
Copy link
Contributor

akhenry commented Oct 11, 2021

Glad it's working.

@akhenry akhenry closed this as completed Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug:platform specific to OS/Browser/Installation method bug:regression It used to work. Now it doesn't :( severity:blocker source:community Community contribution or request type:bug
Projects
None yet
Development

No branches or pull requests

3 participants