Comments (10)
For issues fetching npm packages via GitHub, you might try setting this configuration option as a short-term solution: git config --global url."https://".insteadOf git://
I'm going to experiment with changing dependencies in package.json
from this format:
"angular-breadcrumb": "github:ansible/angular-breadcrumb#0.4.1"
to:
"angular-breadcrumb":"git+https://[email protected]:ansible/angular-breadcrumb.git#0.4.1"
I'll report back in a bit.
from awx.
Same for Fedora26 and Ubuntu
$ node -v
v6.11.2
$ npm -v
3.10.10
from awx.
I have this error
"",
"Traceback (most recent call last):",
" File \"tools/scripts/compilemessages.py\", line 154, in <module>",
" output, errors, status = popen_wrapper(args)",
" File \"tools/scripts/compilemessages.py\", line 44, in popen_wrapper",
" (args[0], strerror)), sys.exc_info()[2])",
"Exception: (<type 'exceptions.StandardError'>, StandardError('Error executing msgfmt: No such file or directory',), <traceback object at 0x101a6b680>)",
"make: *** [.i18n_built] Error 1"
from awx.
I found something.
This error like this
.....git://github.com/ansible/angular-codemirror....
...git://github.com/ansible/angular-drag-and-drop-lists.git...
git?? I tried this url to my chrome and fail.
but, chang git to https, success
git://github.com/ansible/angular-drag-and-drop-lists.git -> https://github.com/ansible/angular-drag-and-drop-lists.git
maybe there *.git has dependency, but, that, git://github.com/ansi~, url is wrong I think
from awx.
I am also facing issues in same step,but in my case errors are different. I am running it as root user.
TASK [image_build : Build AWX distribution] ********************************************************************************************************** fatal: [localhost -> localhost]: FAILED! => {"changed": true, "cmd": "make sdist", "delta": "0:00:12.254391", "end": "2017-09-08 15:53:47.653031", "failed": true, "rc": 2, "start": "2017-09-08 15:53:35.398640", "stderr": "npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but npm-shrinkwrap.json was generated for lockfileVersion@0. I'll try to do my best with it!\nnpm ERR! Error while executing:\nnpm ERR! /bin/git ls-remote -h -t git://github.com/ansible/angular-breadcrumb.git\nnpm ERR! \nnpm ERR! fatal: Could not change back to '/root/awx': Permission denied\nnpm ERR! \nnpm ERR! exited with error code: 128\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR! /root/.npm/_logs/2017-09-08T10_23_47_598Z-debug.log\nmake: *** [awx/ui/.deps_built] Error 1", "stderr_lines": ["npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but npm-shrinkwrap.json was generated for lockfileVersion@0. I'll try to do my best with it!", "npm ERR! Error while executing:", "npm ERR! /bin/git ls-remote -h -t git://github.com/ansible/angular-breadcrumb.git", "npm ERR! ", "npm ERR! fatal: Could not change back to '/root/awx': Permission denied", "npm ERR! ", "npm ERR! exited with error code: 128", "", "npm ERR! A complete log of this run can be found in:", "npm ERR! /root/.npm/_logs/2017-09-08T10_23_47_598Z-debug.log", "make: *** [awx/ui/.deps_built] Error 1"], "stdout": "npm --unsafe-perm --prefix awx/ui install awx/ui", "stdout_lines": ["npm --unsafe-perm --prefix awx/ui install awx/ui"]}
from awx.
@jains99
It seems that the version of npm is not 3.x
Try to do so: npm install [email protected] -g
from awx.
@fsidnenko yes it was 5.4.1 , later I tried with 3.0 but getting below error -
TASK [image_build : Build AWX distribution] ********************************************************************************************************** fatal: [localhost -> localhost]: FAILED! => {"changed": true, "cmd": "make sdist", "delta": "0:00:48.794235", "end": "2017-09-08 18:26:21.591053", "failed": true, "rc": 2, "start": "2017-09-08 18:25:32.796818", "stderr": "(node:3014) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.\nnpm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/ansible/angular-tz-extensions.git /root/.npm/_git-remotes/git-github-com-ansible-angular-tz-extensions-git-33caaa9ccf5dfe29a95962c17c3c9e6b9775be35-302f09e35af3690ce351391cd3028601: Cloning into bare repository '/root/.npm/_git-remotes/git-github-com-ansible-angular-tz-extensions-git-33caaa9ccf5dfe29a95962c17c3c9e6b9775be35-302f09e35af3690ce351391cd3028601'...\nnpm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/ansible/angular-tz-extensions.git /root/.npm/_git-remotes/git-github-com-ansible-angular-tz-extensions-git-33caaa9ccf5dfe29a95962c17c3c9e6b9775be35-302f09e35af3690ce351391cd3028601: \nnpm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/ansible/angular-tz-extensions.git /root/.npm/_git-remotes/git-github-com-ansible-angular-tz-extensions-git-33caaa9ccf5dfe29a95962c17c3c9e6b9775be35-302f09e35af3690ce351391cd3028601: fatal: unable to connect to github.com:\nnpm ERR! git clone --template=/root/.npm/_git-remotes/_templates --mirror git://github.com/ansible/angular-tz-extensions.git /root/.npm/_git-remotes/git-github-com-ansibl.......
from awx.
Some things I've found:
- For CentOS 7 minimal install you need to install bzip2
- If you get
[email protected] install: node-gyp rebuild
error duringimage_build : Build AWX distribution
, remove $HOME/.node-gyp
from awx.
Can anyone verify #68 as a fix for this issue? Thanks!
As a note, the correct versions of npm and Node.js to build the UI are:
- Node.js 6.x LTS (currently v6.11.3)
- npm 3.x (currently v3.10.10 -- comes bundled with Node.js v6.11.3)
from awx.
Fixed in #49
from awx.
Related Issues (20)
- ARM64 system - AWX image pull failing HOT 3
- Are `ghcr.io/ansible/awx_devel` Docker images supported? HOT 1
- Build of 24.2.0 image failed HOT 9
- AWX Job Output showing Pod Running HOT 1
- AWX Community Meeting Agenda - May 2024 HOT 2
- awx workflow_job_templates launch --wait command fails with ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) HOT 4
- Job failure as minikube logs rotate HOT 3
- GCP Job Template Runs HOT 1
- Correct documentation regarding scheduling HOT 1
- Task Pod In Separate Instance Group HOT 1
- Tags in OpenApi schema are missing
- Ansible awx.awx collection tasks altering configuration for a pre-existing inventory should be organization scope aware HOT 1
- Can't specify Limit while using awx.awx.inventory module
- New UI_Next "Page Not Found" HOT 2
- Failed to JSON parse a line from worker stream HOT 2
- RFE: Implement Maximum Execution Limit for Scheduled Jobs
- RFE: Implement Maximum Execution Limit for Scheduled Successful Jobs HOT 1
- Add PS256 and EdDSA signature algorithms to AWX when using OIDC
- AWX v24.3.0 update breaks deployment (psycopg connection issue?) HOT 15
- awx-migration-24.3.0 failing HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awx.