After updating the gitlab version to 8.16.3, the error will be reported:
Configuration file: none
Cannot figure out why.
Thanks
Related
So I've been following the official documentation to upgrade from Angular 5.2 to Angular 6.0 (I'm migrating an app to Angular 13).
When I run the command NG_DISABLE_VERSION_CHECK=1 npx #angular/cli#6 update #angular/cli#6 I've got no errors whatsoever:
$ NG_DISABLE_VERSION_CHECK=1 npx #angular/cli#6 update #angular/cli#6
npx : 336 installé(s) en 36.906s
Using package manager: 'npm'
Collecting installed dependencies...
Found 100 dependencies.
Fetching dependency metadata from registry...
UPDATE package.json (4717 bytes)
✔ Packages successfully installed.
This command is supposed to replace/migrate the angular-cli.json file to a new file called angular.json but when I look at my files I still have the old angular-cli.json file and not the new one.
I've tried a lot of suggestions found here and there on the internet and SO such as installing/reinstalling angular-cli, cleaning my cache, I tried to revert to a working commit, I tried the ng update #angular/cli --from={blah} --migrate-only command but nothing seems to work...
Any ideas?
Found a solution in the end by emptying my .npmrc file and running the command again
I have a Jekyll website running on Gitlab Pages, and one of my pages contained an error.
This error is found and reported by Jekyll, but the website is still deployed, just without that page.
In Gitlab's job output I see the following:
$ jekyll build -d public
...
Bundle complete! 5 Gemfile dependencies, 29 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux-musl]
Configuration file: /builds/TheOddler/mjb/_config.yml
Source: /builds/TheOddler/mjb
Destination: /builds/TheOddler/mjb/public
Incremental build: disabled. Enable with --incremental
Generating...
Error: YAML Exception reading /builds/TheOddler/mjb/_work/immaculate.md: (<unknown>): did not find expected key while parsing a block mapping at line 2 column 1
Jekyll Feed: Generating feed for posts
done in 1.104 seconds.
Auto-regeneration: disabled. Use --watch to enable.
Uploading artifacts for successful job 00:09
Uploading artifacts...
So it shows Error: YAML Exception ... but then still continues as if everything is OK.
The job in my .gitlab-ci.yml file looks like this:
build-jekyll:
stage: build
image: jekyll/jekyll:4.2.0
script:
- jekyll build -d public
artifacts:
paths:
- public
only:
- master
Why does this happen? And is there a way to make the process fail, or at least report this as a warning so I know something went wrong?
Thanks!
This happens because Jekyll, dispite the error in the output, returns with exit code 0. You could try to add the --strict_front_matter option to let Jekyll return a non-zero exit code.
I am currently trying to open an already created website made through Jekyll. I use the cd command through the terminal to get to the website file that I pulled from Github. Once I get to the file, I run bundle exec Jekyll serve and it shows this error message:
Dependency Error: Yikes! It looks like you don't have Jekyll-include-cache or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. The full error message from Ruby is: 'cannot load such file -- Jekyll-include-cache' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/!
Jekyll 3.8.5 | Error: Jekyll-include-cache
So I then do gem install Jekyll-include-cache and the issue remains. Does anyone know how to fix this??
The error message means that Jekyll couldn't load the plugin properly.
Ensure that you have listed the plugin in your Gemfile:
# Gemfile
gem "jekyll-include-cache"
I have cloned one of my local project to another folder. I faced some mysql issues. So, I am trying to install mysql in my meteor app, but it always throwing me a error as 'couldn't install npm mysql package'. I have googled related to this issue, but none of them get resolved. I appreciate if anyone help me.
meteor npm install mysql
As mentioned in the comment:
Try:
npm config set strict-ssl false
and then
npm config set registry http://registry.npmjs.org/
I cloned a site on github, and i had an error with the vendor folder because it wasn't be installed with composer install or update so i've copied the vendor folder from a fresh laravel project and i don't have anymore the followed error :
bootstrap/../vendor/autoload.php. Failed to open stream: No such file or directory. The "vendor" folder does not exist.
but when i'm going to the public folder of laravel, i've this error again:
Fatal error: Class 'Patchwork\Utf8\Bootup' not found in C:\Program Files (x86)\EasyPHP-Devserver-16.1\eds-www\hguitare\laravel\bootstrap\autoload.php on line 46
I've tried to dump-autoload and composer update but nothing is working
I've also tried to add this line on the composer.json into required
"patchwork/utf8": "1.1.*"
Anyone can help me?
Try removing/commenting the 'Patchwork\Utf8\Utf8ServiceProvider' or the service provider related to this in config/app.php and then try installing by composer install