I downloaded the Omega theme and try to start on my MAC:
But i get this error:
Configuration file: /Users/rname/jekyll/hmfaysal-omega-theme-gh-pages/_config.yml
Source: /Users/rname/jekyll/hmfaysal-omega-theme-gh-pages
Destination: /Users/rname/jekyll/hmfaysal-omega-theme-gh-pages/_site
Generating...
Build Warning: Layout 'none' requested in feed.xml does not exist.
jekyll 2.5.3 | Error: Operation not permitted # unlink_internal - /Users/rnagaraj/jekyll/hmfaysal-omega-theme-gh-pages/_site/LICENSE
As per this and this, try deleting the license file.
Related
I have no idea why but I am unable to use conda within terminal. Conda command results in "ConfigurationLoadError"
ConfigurationLoadError: Unable to load configuration file.
path: /Users/kiranmarathe/.condarc
reason: invalid yaml at line 2, column 42
kiranmarathe$ cat /Users/kiranmarathe/.condarc
channels:
- defaults
- conda-forge
- bioconda
- http://conda.binstar.org/faircloth-lab
Go to the /Users/kiranmarathe/ path and delete the .condarc file. I think the issue will be resolved.
I am a beginner on jekyll. I am following the documentation advice to Build the site on the preview server.
Here is what a did :
- install the last version of ruby
$ruby -v -> ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
$ gem --version -> 2.6.14
- Install Jekyll
$gem install jekyll bundler -> Version of jekyll : jekyll-3.6.2
When I try to build the site on the preview server (bundle exec jekyll serve) there is the following error :
jekyll 3.6.2 | Error: (/Users/admin/Documents/Perso/Site-Internet/Jekyll/inger/_config.yml): did not find expected key while parsing a block mapping at line 16 column 1
the line 16 is the first line uncommented that shoul be processed. It is this one
title: Inger Hair at Home at Aix en Provence (line 16)
I don't see what can be wrong. Thank you in advance for your answers
Yaml files are sensitive to spaces, in your _config.yml you have:
# Exclude from processing.
# The following items will not be processed, by default. Create a custom list
# to override the default setting.
exclude:
- Gemfile
- Gemfile.lock
- node_modules
- vendor/bundle/
- vendor/cache/
- vendor/gems/
- vendor/ruby/
- Inger-Analytics-feb0aa8b73d1.json
- .gitignore
When it should be:
# Exclude from processing.
# The following items will not be processed, by default. Create a custom list
# to override the default setting.
exclude:
- Gemfile
- Gemfile.lock
- node_modules
- vendor/bundle/
- vendor/cache/
- vendor/gems/
- vendor/ruby/
- Inger-Analytics-feb0aa8b73d1.json
- .gitignore
Note the space before exclude:. Then it should work.
ng build --prod
Date: 2017-12-16T12:11:38.469Z
Hash: 9af9d0824b91129853ac
Time: 3766ms
chunk {0} (styles) [initial] [rendered]
chunk {1} polyfills.bf31271ed8358d9c1c6b.bundle.js (polyfills) 155 bytes [initial] [rendered]
chunk {2} main.a0f3445c4f3c97baab24.bundle.js (main) 149 bytes [initial] [rendered]
chunk {3} inline.c30c9795283a00740af2.bundle.js (inline) 1.45 kB [entry] [rendered]
ERROR in multi ./src/main.ts
Module not found: Error: Can't resolve '/Users/tyyiu/Documents/Code/IONIC/quorra/src/main.ts' in '/Users/tyyiu/Documents/Code/IONIC/quorra/node_modules/#angular/c
li/models/webpack-configs'
resolve '/Users/tyyiu/Documents/Code/IONIC/quorra/src/main.ts' in '/Users/tyyiu/Documents/Code/IONIC/quorra/node_modules/#angular/cli/models/webpack-configs'
using description file: /Users/tyyiu/Documents/Code/IONIC/quorra/node_modules/#angular/cli/package.json (relative path: ./models/webpack-configs)
Field 'browser' doesn't contain a valid alias configuration
after using description file: /Users/tyyiu/Documents/Code/IONIC/quorra/node_modules/#angular/cli/package.json (relative path: ./models/webpack-configs)
using description file: /Users/tyyiu/Documents/Code/IONIC/quorra/package.json (relative path: ./src/main.ts)
no extension
Field 'browser' doesn't contain a valid alias configuration
/Users/tyyiu/Documents/Code/IONIC/quorra/src/main.ts doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/Users/tyyiu/Documents/Code/IONIC/quorra/src/main.ts.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/Users/tyyiu/Documents/Code/IONIC/quorra/src/main.ts.js doesn't exist
as directory
/Users/tyyiu/Documents/Code/IONIC/quorra/src/main.ts doesn't exist
[/Users/tyyiu/Documents/Code/IONIC/quorra/src/main.ts]
[/Users/tyyiu/Documents/Code/IONIC/quorra/src/main.ts.ts]
[/Users/tyyiu/Documents/Code/IONIC/quorra/src/main.ts.js]
[/Users/tyyiu/Documents/Code/IONIC/quorra/src/main.ts]
# multi ./src/main.ts
ERROR in multi ./src/polyfills.ts
Module not found: Error: Can't resolve '/Users/tyyiu/Documents/Code/IONIC/quorra/src/polyfills.ts' in '/Users/tyyiu/Documents/Code/IONIC/quorra/node_modules/#angu
lar/cli/models/webpack-configs'
resolve '/Users/tyyiu/Documents/Code/IONIC/quorra/src/polyfills.ts' in '/Users/tyyiu/Documents/Code/IONIC/quorra/node_modules/#angular/cli/models/webpack-configs'
using description file: /Users/tyyiu/Documents/Code/IONIC/quorra/node_modules/#angular/cli/package.json (relative path: ./models/webpack-configs)
Field 'browser' doesn't contain a valid alias configuration
after using description file: /Users/tyyiu/Documents/Code/IONIC/quorra/node_modules/#angular/cli/package.json (relative path: ./models/webpack-configs)
using description file: /Users/tyyiu/Documents/Code/IONIC/quorra/package.json (relative path: ./src/polyfills.ts)
no extension
Field 'browser' doesn't contain a valid alias configuration
/Users/tyyiu/Documents/Code/IONIC/quorra/src/polyfills.ts doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/Users/tyyiu/Documents/Code/IONIC/quorra/src/polyfills.ts.ts doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/Users/tyyiu/Documents/Code/IONIC/quorra/src/polyfills.ts.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/Users/tyyiu/Documents/Code/IONIC/quorra/src/polyfills.ts.js doesn't exist
as directory
/Users/tyyiu/Documents/Code/IONIC/quorra/src/polyfills.ts doesn't exist
[/Users/tyyiu/Documents/Code/IONIC/quorra/src/polyfills.ts]
[/Users/tyyiu/Documents/Code/IONIC/quorra/src/polyfills.ts.ts]
[/Users/tyyiu/Documents/Code/IONIC/quorra/src/polyfills.ts.js]
[/Users/tyyiu/Documents/Code/IONIC/quorra/src/polyfills.ts]
# multi ./src/polyfills.ts
ERROR in multi ./src/styles.css
Module not found: Error: Can't resolve '/Users/tyyiu/Documents/Code/IONIC/quorra/src/styles.css' in '/Users/tyyiu/Documents/Code/IONIC/quorra/node_modules/#angula
r/cli/models/webpack-configs'
resolve '/Users/tyyiu/Documents/Code/IONIC/quorra/src/styles.css' in '/Users/tyyiu/Documents/Code/IONIC/quorra/node_modules/#angular/cli/models/webpack-configs'
using description file: /Users/tyyiu/Documents/Code/IONIC/quorra/node_modules/#angular/cli/package.json (relative path: ./models/webpack-configs)
Field 'browser' doesn't contain a valid alias configuration
after using description file: /Users/tyyiu/Documents/Code/IONIC/quorra/node_modules/#angular/cli/package.json (relative path: ./models/webpack-configs)
using description file: /Users/tyyiu/Documents/Code/IONIC/quorra/package.json (relative path: ./src/styles.css)
no extension
Field 'browser' doesn't contain a valid alias configuration
/Users/tyyiu/Documents/Code/IONIC/quorra/src/styles.css doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/Users/tyyiu/Documents/Code/IONIC/quorra/src/styles.css.ts doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/Users/tyyiu/Documents/Code/IONIC/quorra/src/styles.css.js doesn't exist
as directory
/Users/tyyiu/Documents/Code/IONIC/quorra/src/styles.css doesn't exist
[/Users/tyyiu/Documents/Code/IONIC/quorra/src/styles.css]
[/Users/tyyiu/Documents/Code/IONIC/quorra/src/styles.css.ts]
[/Users/tyyiu/Documents/Code/IONIC/quorra/src/styles.css.js]
[/Users/tyyiu/Documents/Code/IONIC/quorra/src/styles.css]
# multi ./src/styles.css
ERROR in TypeError: Cannot read property 'length' of undefined
at createSourceFile (/Users/tyyiu/Documents/Code/IONIC/quorra/node_modules/typescript/lib/typescript.js:16640:109)
at parseSourceFileWorker (/Users/tyyiu/Documents/Code/IONIC/quorra/node_modules/typescript/lib/typescript.js:16572:26)
at Object.parseSourceFile (/Users/tyyiu/Documents/Code/IONIC/quorra/node_modules/typescript/lib/typescript.js:16521:26)
at Object.createSourceFile (/Users/tyyiu/Documents/Code/IONIC/quorra/node_modules/typescript/lib/typescript.js:16371:29)
at new TypeScriptFileRefactor (/Users/tyyiu/Documents/Code/IONIC/quorra/node_modules/#ngtools/webpack/src/refactor.js:79:35)
at Object.resolveEntryModuleFromMain (/Users/tyyiu/Documents/Code/IONIC/quorra/node_modules/#ngtools/webpack/src/entry_resolver.js:108:20)
at Promise.resolve.then.then (/Users/tyyiu/Documents/Code/IONIC/quorra/node_modules/#ngtools/webpack/src/angular_compiler_plugin.js:240:54)
File Tree:
src/tsconfig.json; src/app; src/pages
-> I put the tsconfig.json into the src folder because otherwise, an error says it can't find it.
I would like to know where the error results in and why. if it is because I put the tsconfig.json in the src/folder, then why does then the error of not finding the file, even though it is right there?
My tsconfig.json is just from: https://github.com/kristofferandreasen/simple-ionic-3-app/blob/master/tsconfig.json
first run
npm i
then run the following command
ionic cordova build --release android --prod
That's how you build an angular project not Ionic project. Here's how, you can choose one of the following commands:
$ ionic build
$ ionic cordova build ios
$ ionic cordova build ios --prod --release
$ ionic cordova build ios --device --prod --release -- --developmentTeam="ABCD" --codeSignIdentity="iPhone Developer" --packageType="app-store"
$ ionic cordova build android
$ ionic cordova build android --prod --release -- -- --keystore=filename.keystore --alias=myalias
$ ionic cordova build android --prod --release -- -- --minSdkVersion=21
$ ionic cordova build android --prod --release -- -- --versionCode=55
But from what I see you may want $ ionic build
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.
I would like to ask, how can I load new module in Kamailio 4.1.2?
Actually, I have an issue, when I tried to compile my kamaiio.cfg
I've got error:
root#kamailio:/usr/local/# kamailio -c kamailio.cfg
loading modules under /usr/local/lib64/kamailio/modules/
0(25392) ERROR: <core> [sr_module.c:587]: load_module(): ERROR: load_module: could not find module <websocket> in </usr/local/lib64/kamailio/modules/>
0(25392) : <core> [cfg.y:3408]: yyerror_at(): parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 323, column 12-25: failed to load module
0(25392) ERROR: <core> [cfg.y:3272]: yyparse(): cfg. parser: failed to find command ws_handle_handshake
0(25392) : <core> [cfg.y:3411]: yyerror_at(): parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 1083, column 27: unknown command, missing loadmodule?
ERROR: bad config file (2 errors)
when I look physically to the /usr/local/lib64/kamailio/modules/ there is some modules, but websocket.so is missing.
So, how can I get and load module in Kamailio?
Thank you for help!
You haven't installed the module websocket. Edit modules.lst file in the source code directory and add websocket to include_modules variable. If you don't have modules.lst, just do:
make cfg
Alternative is to do:
make cfg include_modules="websocket"
By default, the build system for kamailio compiles and install only the modules that have the same dependencies as the core of the application. For websocket you need to install libunistring and openssl (libssl) devel packages.
Steps to load new module to Kamailio server. (Try if above answer is not working for you)
Check the modules is exist in the default module directly /usr/local/lib64/kamailio/modules.
If found, add loadmodule "module_name.so" in load module section in kamailio.cfg file.
If the module is not found in default module directory, you can check for the source code of that module in the default module source code directory /usr/local/src/kamailio-4.4/kamailio/modules.
If source code found, enter to the module directory. Then create modules' shared object file(.so) by following commands.
./configure
make
make test
make install
Then you will get a shared object file(.so). Copy that file into the default module directory. and load this module from the kamailio.cfg file as mentioned in step 1.
If module source code does not exist in the default source code directory, You need to download the source code from the web. And follow step 3 and 4.