No files matching the pattern "**/*.{css,scss}" were found - github-actions

I am using Github and linters and with style linters its showing me this error:
Error: No files matching the pattern "**/*.{css,scss}" were found.
at /home/runner/work/Microverse-Airline/Microverse-Airline/node_modules/stylelint/lib/standalone.js:212:12
at processTicksAndRejections (internal/process/task_queues.js:97:5)
Error: Process completed with exit code 1.
Here is the link to my github repository: https://github.com/saqibjavaiddev/Microverse-Airline/pull/24

Related

Quarto not compiling: "file 'filepath' does not exist. problem with GDrive

I am currently exploring and have been using RMarkdown before that for quite some time. Today, working in the office - after working with the file with computer at home yesterday - the qmd file does not compile any more. I get the following message:
Error in tools::file_path_as_absolute(cwd) :
file 'G:\My Drive\etc' does not exist
Calls: .main -> execute -> <Anonymous>
Execution halted
It appears to be a problem with gdrive. when I save the file elsewhere, it does compile.
I was expecting compilation.
I tried updating all related packages.

firebase functions deploy got an error with file path that contains "\"

When I tried to deploy firebase functions, the process of loading credential file occurs an error:
Detailed stack trace: Error: Failed to read credentials from file C:\Users\kracc\Desktop\code\glint-server\firebase-account.json: Error: ENOENT: no such file or directory, open 'C:\Users\kracc\Desktop\code\glint-server\firebase-account.json'
Initialization code:
private connectFireStore(): void {
initializeApp({
credential: applicationDefault(),
databaseURL: process.env.FIRESTORE_URL,
})
}
folder structure:
and value of GOOGLE_APPLICATION_CREDENTIALS in .env.prod is ../../firebase-account.json
I can open C:\Users\kracc\Desktop\code\glint-server\firebase-account.json and it works well when I use emulator and local server
reason why I think the backslash matters is I saw it couldn't understand backslash included path in require function (require('./lib\\foo') got an error).
how can I deal with this situation?

dependabot: Error : .github#L1 No event triggers defined in `on`

I'm trying to setup dependabot on a Github repo.
Here's my config file:
version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 10
I'm getting the following error:
Annotations
1 error
Error : .github#L1
No event triggers defined in `on`
This error can occur in case of parsing error. But I adapted this file from a copy-paste of an example in the docs. Besides, I validated the yaml file with a validation tool.
Any idea what I'm doing wrong?
GitHub parses dependabot.yml as an action file because I put it in .github/workflows/ by mistake.
It should be .github/dependabot.yml.

I am getting following error when running ng serve

I'm new and I have a problem with VSCode. I am getting the following error when running ng serve:
PS C:\Windows\System32\x-app> ng serve --configuration=it
An unhandled exception occurred: Workspace config file cannot le loaded: C:\Windows\System32\x-app\angular.json
Invalid JSON character: "\"" at 73:7.
See "C:\Users\C-PROJ~1\AppData\Local\Temp\ng-LpcKJr\angular-errors.log" for further details
[error] Error: Workspace config file cannot le loaded: C:\Windows\System32\x-app\angular.json
Invalid JSON character: "\"" at 73:7.
at Object.getWorkspace (C:\Windows\System32\x-app\node_modules\#angular\cli\utilities\config.js:59:15)
at ServeCommand.validateScope (C:\Windows\System32\x-app\node_modules\#angular\cli\models\command.js:97:60)
at ServeCommand.validateAndRun (C:\Windows\System32\x-app\node_modules\#angular\cli\models\command.js:122:24)
at Object.runCommand (C:\Windows\System32\x-app\node_modules\#angular\cli\models\command-runner.js:185:38)
at process._tickCallback (internal/process/next_tick.js:68:7)
at Function.Module.runMain (internal/modules/cjs/loader.js:834:11)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
I use prettier, in fa,ct I noticed that there was an oversight about internalization. I fixed the json file, and returned the command ng serve --configuration=it, but the result is another error.
PS C:\Windows\System32\x-app> ng serve --configuration=it
An unhandled exception occurred: Project does not exist.
See "C:\Users\C-PROJ~1\AppData\Local\Temp\ng-IomfPN\angular-errors.log" for further details.
[error] Error: Project does not exist.
at WorkspaceNodeModulesArchitectHost.findProjectTarget (C:\Windows\System32\x-app\node_modules\#angular-devkit\architect\node\node-modules-architect-host.js:94:23)
at WorkspaceNodeModulesArchitectHost.getOptionsForTarget (C:\Windows\System32\x-app\node_modules\#angular-devkit\architect\node\node-modules-architect-host.js:66:33)
at core_1.experimental.jobs.createJobHandler.target (C:\Windows\System32\x-app\node_modules\#angular-devkit\architect\src\architect.js:171:21)
at Observable.rxjs_1.Observable.subject [as _subscribe] (C:\Windows\System32\x-app\node_modules\#angular-devkit\core\src\experimental\jobs\create-job-handler.js:91:26)
at Observable._trySubscribe (C:\Windows\System32\x-app\node_modules\rxjs\internal\Observable.js:44:25)
at Observable.subscribe (C:\Windows\System32\x-app\node_modules\rxjs\internal\Observable.js:30:22)
at C:\Windows\System32\x-app\node_modules\rxjs\internal\util\subscribeTo.js:22:31
at Object.subscribeToResult (C:\Windows\System32\x-app\node_modules\rxjs\internal\util\subscribeToResult.js:10:45)
at SwitchMapSubscriber._innerSub (C:\Windows\System32\x-app\node_modules\rxjs\internal\operators\switchMap.js:65:54)
at SwitchMapSubscriber._next (C:\Windows\System32\x-app\node_modules\rxjs\internal\operators\switchMap.js:55:14)
at SwitchMapSubscriber.Subscriber.next (C:\Windows\System32\x-app\node_modules\rxjs\internal\Subscriber.js:66:18)
at SwitchMapSubscriber.notifyNext (C:\Windows\System32\x-app\node_modules\rxjs\internal\operators\switchMap.js:86:26)
at InnerSubscriber._next (C:\Windows\System32\x-app\node_modules\rxjs\internal\InnerSubscriber.js:28:21)
at InnerSubscriber.Subscriber.next (C:\Windows\System32\x-app\node_modules\rxjs\internal\Subscriber.js:66:18)
at MapSubscriber._next (C:\Windows\System32\x-app\node_modules\rxjs\internal\operators\map.js:55:26)
at MapSubscriber.Subscriber.next (C:\Windows\System32\x-app\node_modules\rxjs\internal\Subscriber.js:66:18)
your angular.json is probably malformed. please check if the file complies to the json standard. you may use tools like prettier to format the json.

Jekyll: ERROR files not found

I just setup a local jekyll instance for github pages. After following all the instructions on GitHub and getting all the files into the local repository, I ran jekyll (sudo bundle exec jekyll serve).
I get the following errors:
^CSeans-MacBook-Air:docs-gh-pages seanmcintyre$ sudo bundle exec jekyll serve
Password:
Configuration file: none
Configuration file: none
Source: /Users/SnapRouteDocs/docs-gh-pages
Destination: /Users/SnapRouteDocs/docs-gh-pages/_site
Incremental build: disabled. Enable with --incremental
Generating...
done in 0.82 seconds.
Auto-regeneration: enabled for '/Users/SnapRouteDocs/docs-gh-pages'
Configuration file: none
Server address: http://127.0.0.1:4000/
Server running... press ctrl-c to stop.
[2017-04-13 13:35:12] ERROR `/_static/js/modernizr.min.js' not found.
[2017-04-13 13:35:12] ERROR `/_static/js/theme.js' not found.
[2017-04-13 13:35:12] ERROR `/_static/doctools.js' not found.
[2017-04-13 13:35:12] ERROR `/_static/jquery.js' not found.
[2017-04-13 13:35:12] ERROR `/_static/underscore.js' not found.
[2017-04-13 13:35:17] ERROR `/_static/css/theme.css' not found.
[2017-04-13 13:35:17] ERROR `/_static/jquery.js' not found.
[2017-04-13 13:35:17] ERROR `/_static/underscore.js' not found.
[2017-04-13 13:35:17] ERROR `/_static/doctools.js' not found.
[2017-04-13 13:35:17] ERROR `/_static/js/theme.js' not found.
I've checked and all the files are actually there.
How do I go about fixing this?
Prob because Jekyll doesn't know about them, so they're not compiling into the build folder, _site. Try adding this in the _config.yml file:
include:
- _static
If that doesn't work, just remove the underscore and Jekyll will automatically include in the build. That's prob best way anyway.
In addition to #keruilin's answer, Jekyll errors such as
ERROR `/resources/biokdd-review-nlp.htm' not found.
are sometimes simply due to a malformed web URL, in one of your Jekyll-built site pages that are open in your browser. Check the open webpages, and reload.
In my case (for instance) if I manually / erroneously open the malformed URL
127.0.0.1:4000/resources/biokdd-review-nlp. html
(note the space before .html I get that Jekyll error, until I correct the URL and reload the page.