Got internal server error on the homepage during initial load. error log within the vue-storefront.log reports as follows:
[search] Can not connect the vue-storefront-api / ElasticSearch instance! Error: {"code":500,"result":{"diagnosticText":"src/processor/default.ts(25,48): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'string | Query | (string | Query)[] | ((searchString: string, position?: number) => number) | ((searchElement: string | Query, fromIndex?: number) => number)' has no compatible call signatures.\n","diagnosticCodes":[2349]}}
at SearchAdapter.exports.modules../core/lib/search/adapter/api/searchAdapter.ts.SearchAdapter.handleResult (vsf-search-adapter-0.server-bundle.js:519:23)
a similar bug seems to have been reported earlier: https://github.com/DivanteLtd/vue-storefront/issues/3259
Has someone else encountered anything similar and has a solution for this?
While installing vue storefront, I got this error log within in the vue-storefront.log (i chose not to use the demo.vuestorefront.io as the backend) :
ERROR in ./src/themes/default/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
Error: Cannot find module '#babel/compat-data/corejs3-shipped-proposals'
OS: Mac OS Mojave 10.14.6
Node: v 14.1.0
Yarn: v 1.22.4
I deleted the yarn.lock file as well as the node_modules directory, repeated the process and the installation succeeded. I just wanted to mention this along just in case.
Related
OS
Plesk Obsidian Web Pro Edition
SilverStripe
PHP
MariaDB
Ubuntu 20.04.4 LTS
v. 18.0.44
v. 4.10
v. 7.4.30
v. 10.3.34
I state it is a clean installation
The frontend works perfectly, instead calling /admin
"Server error there was a problem handling your request."
Error log extract:
Error 500 GET /Security/login?BackURL=%2Fadmin%2Fpages%2F HTTP/1.0
Warning (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
Error End of script output before headers: index.php
Has anyone encountered this problem?
Thank you
I made other tests on other environments always plesk and the scenario is similar, in one case the following "Emergency" occurred in the creation of the following table:
Error log extract:
[Emergency] Uncaught SilverStripe\ORM\Connect\DatabaseException: Couldn't run query:
CREATE TABLE "File" ( "ID" int(11) not null auto_increment
...
ENGINE=InnoDB Index column size too large. The maximum column size is 767 bytes.
GET /dev/build
Line 64 in /var/www/vhosts/.../vendor/silverstripe/framework/src/ORM/Connect/DBConnector.php
For this I found an explanation in the documentation that might be useful to someone
go mod tidy in goland
*bitbucket.org/xxxproject/db_proxy_api_model/models/v1 : cannot find module providing package.
reading https://goproxy.io/bitbucket.org/xxxproject/db_proxy_api_model/models/#v/list: 404 Not Found
server response:
not found: module bitbucket.org/xxxproject/db_proxy_api_model/models: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/cf011ef4494e04c40886924c664c719ff30fb53c96bff1250e26ef05478bbd13: exit status 128:
fatal: could not read Username for 'https://bitbucket.org': terminal prompts disabled.
Confirm the import path was entered correctly.If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.*
enter image description here
I set goproxy=https://goproxy.io,but its not the point, the problem is also appear in the case of dont use proxy.
what can i do solving the problem
The project seems to be a private one and you should specify GOPRIVATE variable (https://go.dev/ref/mod#private-module-proxy-direct) via Preferences/Settings | Go | Go Modules | Environment. GoLand will be able to pick up the environment.
I have recently installed R ver. 2.11.1 and RStudio ver. 1.0.143 and tcl/tk ver. 8.5.9 on my Mac (Mac OS 10.7).
When RStudio is launched I get the following "warning" message (in RED font):
"WARNING: You are configured to use the CRAN mirror at https://cran.rstudio.com/. This mirror supports secure (HTTPS) downloads however your system is unable to communicate securely with the server (possibly due to out of date certificate files on your system). Falling back to using insecure URL for this mirror."
When I try to install a package using the GUI Install -> Package , I get the following Error message:
a. Error in read.dcf(file = tmpf) :
Line starting '
When I try to use the Console (by double-clicking on the previous command executed (in the "History" pane) and hitting Enter [the Console shows the command "install.packages("")], the following error message is received:
a. Error in install.packages : Line starting '
If the same command is manually entered (i.e. install.packages(""), I get an error as follows:
a. R code execution error
b. Error in normalizePath(dir, winslash = "/", mustWork = TRUE) :
unused argument(s) (winslash = "/", mustWork = TRUE)
As suggested in the opening "warning" message (No. 1 above), I have tried the following (after each action rebooted system and tried RStudio):
A. Check if the date and time is set properly. Found correct. Also check box "Set date time automatically" is checked TRUE.
B. Checked firewall setting. Deleted (actually renamed) file "com.apple.alf.plist". On rebooting and starting internet, found that a new file with the same name is created by the system (which I assume is the correct behavior).
C. Created / rebuilt network connections (with a new location name).
D.Cleared certificate management database caches with command (sudo rm /var/db/crls/*cache.db).
E. Turned off OCSP and CRL services in keychain access utility preferences.
F. Checked root certificates in system roots keychain and everything was found ok (apparently so as I did not find any item withthe Blue Plus sign).
Even after the above mentioned steps the situation remains the same as at step 1.
Kindly suggest a way around or possible reason so that I may explore further.
Thanks
Kavi
I'm developing a web application with Meteor and TypeScript. I'm also using the Nitrous.io cloud development environment.
I installed the TypeScript compiler and added TypeScript libraries from here: https://github.com/meteor-typescript.
I am trying to use Iron Router in my app.
The error I'm getting is:
/lib/package_defs/ironrouter.d.ts(80,56): error TS1005: ',' expected.
/lib/package_defs/ironrouter.d.ts(80,92): error TS1005: ',' expected.
Error: Unspecified error
I get the same error with other packages, whenever the '|' character is used. For example, line 80 of ironrouter.d.ts is:
export function onBeforeAction(hookOrFunc?: string | Function, funcOrParams?: Function | any, params?: any): void;
I tried changing all '|' to ',' like the error message suggests, but then I get another error message:
/lib/package_defs/ironrouter.d.ts(80,58): error TS1016: Required parameter cannot follow optional parameter.
Error: Unspecified error
I'm no expert and I'm new to TypeScript and Meteor.
What could be causing this error? Please help.
Thank you.
Union types were added in version 1.4 of TypeScript and are used in the definition file you mention:
export function onBeforeAction(hookOrFunc?: string | Function, funcOrParams?: Function | any, params?: any): void;
If you have already installed version 1.4 or above, make sure your project is using it (view you project file):
<TypeScriptToolsVersion>1.4</TypeScriptToolsVersion>
If you are still certain that you are using version 1.4, check that you can use the new features using this snippet:
type example = string | number;
You can track support for TypeScript 1.4 in WebStorm here.
I keep getting this error when trying to run riak commands.
The nodetool file does not exist in that directory. When I copy the nodetool file from 5.8.4 I start getting this error:
{"init terminating in do_boot",{'cannot get bootfile','start_clean.boot'}}
EDIT
I followed this great advice here: http://onerlang.blogspot.co.uk/2009/10/fighting-with-riak.html. Now when I run riak start I get:
Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
Crash dump was written to: erl_crash.dump
init terminating in do_boot ()
Error reading /abc/def/otp_src_R14B03/riak-1.1.2/dev/dev1/etc/app.config
{"init terminating in do_boot",{'cannot get bootfile','start_clean.boot'}}
EDIT 2
I seem to be getting this problem http://lists.basho.com/pipermail/riak-users_lists.basho.com/2011-November/006436.html.
Whenever I build from source (required for multiple nodes on the same machine) riak tries to user erts-5.8.5 whereas riak requires(?) erts-5.8.4.
Is it possible for me to tell to not use 5.8.5 and use 5.8.4 maybe?