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
Electrode explorer in docker problems #8
Comments
Thank you for checking out explorer. I was unable to reproduce the issue. The file which is invoked by method Basically the file should exist after |
Looks like your latest commit fixed my problem. Thanks for the great work, this whole project is awesome. |
OK, my mistake..
Looks like it is not even getting to When I attach to the running container and run : /usr/src/app/scripts/info-module.sh gulp it works just fine. Running docker on mac - Docker version 1.12.3, build 6b644ec This is my Dockerfile
Sorry to reopen.. Still a great project! |
As a follow up I commented out the stderr check ignoring the whole block and it worked. |
Glad to know you like it. You may want to check why |
Yes.. That worked. Not sure why |
When I build and deploy to Docker and when I hit
http://localhost:3000/api/update/REPO/component
I get an error :
Error encountered: ENOENT: no such file or directory, open '/usr/src/app/data/REPO/component.json'
as a response.
I added a bit of logging and I see that update handlers fetchRepo is trying to read :
/usr/src/app/data/REPO/component.json and is complaining because it does not exist.
I dump out my meta data from the github call and that looks complete.
The message after these logs are
module info stderr npm info it worked if it ends with ok
npm info using npm@3.10.9
npm info using node@v4.6.2
npm info attempt registry request try #1 at 7:00:44 PM
npm http request GET https://registry.npmjs.org/react-intl
npm http 304 https://registry.npmjs.org/react-intl
npm info ok
Pretty sure my env variables are correct and that all my github tokens and npmrc file is there.
Also, this works fine running on my local machine not in a Docker container.
Any ideas?
Thanks,
Lee.
The text was updated successfully, but these errors were encountered: