Code Monkey home page Code Monkey logo

Comments (10)

gconsidine avatar gconsidine commented on May 13, 2024 2

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.

uriinf avatar uriinf commented on May 13, 2024 1

Same for Fedora26 and Ubuntu
$ node -v
v6.11.2
$ npm -v
3.10.10

from awx.

szibis avatar szibis commented on May 13, 2024 1

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.

hanjh1986 avatar hanjh1986 commented on May 13, 2024

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.

jains99 avatar jains99 commented on May 13, 2024

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.

fsidnenko avatar fsidnenko commented on May 13, 2024

@jains99
It seems that the version of npm is not 3.x
Try to do so: npm install [email protected] -g

from awx.

jains99 avatar jains99 commented on May 13, 2024

@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.

 avatar commented on May 13, 2024

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 during image_build : Build AWX distribution, remove $HOME/.node-gyp

from awx.

gconsidine avatar gconsidine commented on May 13, 2024

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.

gconsidine avatar gconsidine commented on May 13, 2024

Fixed in #49

from awx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.