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

Error with node and/or Angular #258

Closed
waynevillars opened this issue Jan 5, 2021 · 6 comments
Closed

Error with node and/or Angular #258

waynevillars opened this issue Jan 5, 2021 · 6 comments
Assignees
Labels
bug Something isn't working priority/high High priority Issue timescale/imminent Ready to be assigned to developers
Milestone

Comments

@waynevillars
Copy link

I tried following the instructions to install navigator via Docker on an Ubuntu EC2 instance, but something involving node and/or angular failed. I apologize for lack of detail, but I know nothing about either one of those things. I've attached a terminal transcript so you can see the errors, as well as a screenshot of what I see when I try to browse to the navigator.

attack navigator install failure log.txt

Screenshot 2021-01-05 070907

@beerMT
Copy link

beerMT commented Jan 6, 2021

Bumping - getting the same issue doing the docker install.

Numerous *Module errors are reported and then StdOut shows - ** Angular Live Development Server is listening on 0.0.0.0:4200, open your browser on http://localhost:4200/ **

When you navigate to localhost:4200 it has the error as shown in the screen shot above. Port (-p) passed to container on startup is the same.

@isaisabel isaisabel added bug Something isn't working priority/high High priority Issue timescale/imminent Ready to be assigned to developers labels Jan 6, 2021
@isaisabel
Copy link
Contributor

Hi all,

We've observed a similar (or possibly parallel) issue when building the Navigator outside of docker, but with outdated versions of Angular installed (we upgraded Angular from v7 to v11 in the v4.1 release). The solution in that case is to remove node_modules and reinstall to ensure the correct version of Angular is installed.

Have either of you used the Navigator through docker previously? I'm wondering if a previous install may be affecting the new build.

@waynevillars
Copy link
Author

Yes, we had previously built Navigator through docker and it worked fine. We were trying to upgrade, which is what brought this all about. We initially tried to just build a new Navigator docker image on the original machine. When that failed, we thought the same thing as you (that a previous installation was causing problems), so we blew the old machine away (meaning the entire VM/EC2 instance) and started with a new one, but we ran into the same issue.

@isaisabel
Copy link
Contributor

isaisabel commented Jan 7, 2021

Good to know, thanks. We are prioritizing #254/#251 since that affects the live instance, but we'll look into this afterwards.

@jberry777
Copy link

jberry777 commented Jan 15, 2021

I haven't updated since December 15th 2020. That dockerized Navigator is still operational.
However, today I tried to build Navigator locally through docker to test new layers and encountered the same errors as described in the initial post. The first error prompted me to update to the newest npm version (7.3.0 -> 7.4.1) but when rebuilding I encountered the same errors.

@clemiller clemiller self-assigned this Jan 28, 2021
clemiller added a commit that referenced this issue Jan 28, 2021
@isaisabel isaisabel added this to the Version 4.2 milestone Feb 1, 2021
@isaisabel
Copy link
Contributor

isaisabel commented Feb 1, 2021

Hi all,

This issue has been addressed in #257 and docker is now working on the develop branch. We'll be releasing Navigator v4.2 (which includes this fix) later this week, but you're welcome to use the develop branch until then if desired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority/high High priority Issue timescale/imminent Ready to be assigned to developers
Projects
None yet
Development

No branches or pull requests

5 participants