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

bower install error on running jenkins/build_image.sh #715

Open
yifeiwang2012 opened this issue Jun 20, 2023 · 0 comments
Open

bower install error on running jenkins/build_image.sh #715

yifeiwang2012 opened this issue Jun 20, 2023 · 0 comments

Comments

@yifeiwang2012
Copy link

When running jenkins/build_image.sh, we see this error coming up:
ECMDERR Failed to execute "git ls-remote --tags --heads https://github.com/ember-cli/ember-cli-shims.git", exit code of #128 that keeps the static files from being built:
cp dist/assets/dr-elephant.css /dr-elephant/public/assets/ember/
cp: cannot stat 'dist/assets/dr-elephant.css': No such file or directory

  • cp dist/assets/dr-elephant.js /dr-elephant/public/assets/ember/
    cp: cannot stat 'dist/assets/dr-elephant.js': No such file or directory
  • cp dist/assets/vendor.js /dr-elephant/public/assets/ember/
    cp: cannot stat 'dist/assets/vendor.js': No such file or directory
  • cp dist/assets/vendor.css /dr-elephant/public/assets/ember/
    cp: cannot stat 'dist/assets/vendor.css': No such file or directory
  • cp -r dist/fonts /dr-elephant/public/assets/
    cp: cannot stat 'dist/fonts': No such file or directory

this error can be fixed manually by calling
sudo npm install -g bower
cd web; bower install; cd ..
and adding SSL disabling configuration to web/.bowerrc file before running the script. but if I put this web/.bowerrc file into the directory before running the script and hoping for the compile.sh to pick it up. it doesn't work.
{
"directory": "bower_components",
"registry": "https://registry.bower.io/",
"strict-ssl": false
}

does anyone know what's wrong and how I can fix the issue here?

npm install

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

1 participant