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

Compatible node version? #246

Closed
sdevilliers opened this issue Mar 17, 2019 · 4 comments
Closed

Compatible node version? #246

sdevilliers opened this issue Mar 17, 2019 · 4 comments

Comments

@sdevilliers
Copy link

[ x] bug report => search github for a similar issue or PR before submitting

Current behavior
Download the current version of seed, do the npm install

  • npm run build.prod
  • npm run serve.prod
    Currently the webpage opens with the page "Loading..."
    No errors but the bootstrapping does not appear to be working.

Expected behavior
The sample page with the scientists should come up.

Minimal reproduction of the problem with instructions
As above

Please tell us about your environment:
Mac OS 10.14.2
Webstorm 18.3
npm 6.9.0

  • Angular Seed Version: ea47591
  • Node: node --version = I have tried multiple versions here with different behavior.
    I have tried 6.9.0 & 10.15.3 & 11.12.0 to name a few.
    Does not want to work for me.
    Would welcome a pointer in the right direction.
    Thanks!
@vyakymenko
Copy link
Owner

Hello @sdevilliers ,

My config:
Screenshot at Mar 17 09-38-33

After $ npm install I ran $ npm start and everything works fine.

Screenshot at Mar 17 09-41-31

Thanks!

@sdevilliers
Copy link
Author

Um, Yes. I did manage to get the dev mode working also.
But I was referring to the prod mode setup.

I followed your steps as closely as possible as follows:
Used "n" to install V10.15.0 of node - to match your version.
Downloaded a fresh copy of the code - git clone http: vyakymenko etc
(npm version 6.9.0 one minor higher) was used to "npm install"
Followed by an npm start - This works as you suggested above.

npm run serve.prod still does not work for me. No errors in the console.
image

image

@vyakymenko
Copy link
Owner

Hello @sdevilliers , the issue was in a production builds that I have fixed. Please get the latest code version and everything will be fine on any node.js version. Thanks!

@sdevilliers
Copy link
Author

Thank you much!!

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