MetaException(message:Error(s) were found while auto-creating/validating the datastore for classes.

点击查看另一篇文章
博客内容仅提供了另一篇文章的链接,为https://blog.youkuaiyun.com/data_curd/article/details/110490387 。

在这里插入图片描述
点击我的另一篇文章: https://blog.youkuaiyun.com/data_curd/article/details/110490387

yarn install v1.22.22 [1/5] Validating package.json... error frappe-framework@: The engine "node" is incompatible with this module. Expected version ">=18". Got "14.21.3" error Found incompatible module. info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. subprocess.CalledProcessError: Command 'yarn install --check-files' returned non-zero exit status 1. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/bench/commands/make.py", line 75, in init init( File "/usr/local/lib/python3.10/dist-packages/bench/utils/render.py", line 105, in wrapper_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/bench/utils/system.py", line 87, in init get_app( File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 781, in get_app app.install(verbose=verbose, skip_assets=skip_assets, restart_bench=restart_bench) File "/usr/local/lib/python3.10/dist-packages/bench/utils/render.py", line 126, in wrapper_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 253, in install install_app( File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 943, in install_app bench.run(yarn_install, cwd=app_path) File "/usr/local/lib/python3.10/dist-packages/bench/bench.py", line 49, in run return exec_cmd(cmd, cwd=cwd or self.cwd, _raise=_raise, env=env) File "/usr/local/lib/python3.10/dist-packages/bench/utils/__init__.py", line 184, in exec_cmd raise CommandFailedError(cmd) from subprocess.CalledProcessError(return_code, cmd) bench.exceptions.CommandFailedError: yarn install --check-files ERROR: There was a problem while creating frappe-bench
08-10
那你覺得我這七個設計可以嗎? ````yaml # repo-root/kustomization.yaml # 全域入口:聚合平台治理與命名空間層 apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - platform-governance - namespaces # 全域通用標籤,利於觀測/審計 commonLabels: root.io/repo: repo-root root.io/entry: global # 可選:全域 namePrefix/nameSuffix,預設不加以避免資源名漂移 # namePrefix: "" # nameSuffix: "" # 可選:全域生成 ConfigMap/Secret(目前無) # configMapGenerator: [] # secretGenerator: [] # 可選:全域 patches(目前無) # patches: [] ```` ````yaml # repo-root/platform-governance/kustomization.yaml # 平台治理頂層,聚合控制器、政策、觀測稽核 apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - 10-controllers - 20-clusterpolicies - 99-observability commonLabels: app.kubernetes.io/part-of: platform-governance result.io/owner: platform-team root.io/repo: repo-root # 可選:針對治理層單獨定義 namePrefix # namePrefix: "gov-" ```` ````yaml # repo-root/platform-governance/10-controllers/kustomization.yaml # 控制器層:Kyverno 或原生 VAP/VAC 相關控制面資源 # 預設部署至 kyverno 命名空間(Kyverno Chart 安裝時會建立) apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: kyverno resources: # 若以 Manifest 方式安裝 Kyverno(或改為 HelmRelease 由 Flux/Helm Operator 管理) - kyverno/install.yaml # 原生 ValidatingAdmissionPolicy/PolicyBinding(K8s 1.30+ 穩定) - validating-admission-policy/prevent-foundation-namespace-deletion.yaml # 建議額外補強(選用,視您是否同時採用 VAP/VAC 與 Kyverno): # - validating-admission-policy/base-constraints.yaml # - validating-admission-policy/labels-required.yaml # - validating-admission-policy/psa-enforce.yaml # - validating-admission-policy/require-immutable-annotations.yaml # - validating-admission-policy/require-signed-images-binding.yaml # 以上檔案可先留空/分階段引入;若您確認要加,我可一併提供模板。 commonLabels: app.kubernetes.io/part-of: platform-governance app.kubernetes.io/component: controllers root.io/repo: repo-root # 可選:避免 CRD 尚未註冊導致順序問題,可將 CRD 類資源放在 install.yaml 內最前段 # patches: [] ```` ````yaml # repo-root/platform-governance/20-clusterpolicies/kustomization.yaml # 政策層(以 Kyverno 為例);若採 VAP/VAC,對應轉為 ValidatingAdmissionPolicy 套件 apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - immutable-namespace-meta.yaml - restrict-pod-security.yaml - require-signed-images.yaml commonLabels: app.kubernetes.io/part-of: platform-governance app.kubernetes.io/component: policies root.io/repo: repo-root # 可選:針對不同環境的覆寫(dev/stage/prod) # patches: [] ```` ````yaml # repo-root/platform-governance/99-observability/kustomization.yaml # 觀測稽核層:政策指標與審計日誌轉送 apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - policy-metrics-scrape.yaml - audit-log-forwarding.yaml commonLabels: app.kubernetes.io/part-of: platform-governance app.kubernetes.io/component: observability root.io/repo: repo-root # 若階段性關閉觀測,resources 可改為 [] ```` ````yaml # repo-root/namespaces/kustomization.yaml # 命名空間聚合入口;可加入其他 domain/team 的命名空間資料夾 apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - foundation commonLabels: app.kubernetes.io/part-of: result-namespaces root.io/repo: repo-root # 可選:針對所有 namespaces 子樹套用 namePrefix # namePrefix: "ns-" ```` ````yaml # repo-root/namespaces/foundation/kustomization.yaml # foundation 命名空間基線:Namespace/Quota/LimitRange/NetworkPolicy apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - 00-namespace.yaml - 10-resourcequota.yaml - 20-limitrange.yaml - 30-networkpolicy-deny-all.yaml - 31-networkpolicy-allow-internal.yaml commonLabels: app.kubernetes.io/name: result-foundation app.kubernetes.io/part-of: result-namespaces root.io/repo: repo-root # 可選:針對 foundation 命名空間單點補丁 # patches: [] ````
最新发布
10-30
root@ubuntu:/home/uu/go/src/github.com/hyperledger/fabric-samples/test-network# cd ../asset-transfer-basic/chaincode-go root@ubuntu:/home/uu/go/src/github.com/hyperledger/fabric-samples/asset-transfer-basic/chaincode-go# sed -i 's/go 1.23/go 1.20/' go.mod root@ubuntu:/home/uu/go/src/github.com/hyperledger/fabric-samples/asset-transfer-basic/chaincode-go# cd /home/uu/go/src/github.com/hyperledger/fabric-samples/test-network/ root@ubuntu:/home/uu/go/src/github.com/hyperledger/fabric-samples/test-network# rm -f basic.tar.gz root@ubuntu:/home/uu/go/src/github.com/hyperledger/fabric-samples/test-network# sudo env GOPROXY=https://goproxy.cn,direct ./network.sh deployCC Using docker and docker-compose deploying chaincode on channel 'mychannel' executing with the following - CHANNEL_NAME: mychannel - CC_NAME: basic - CC_SRC_PATH: ../asset-transfer-basic/chaincode-go - CC_SRC_LANGUAGE: go - CC_VERSION: 1.0 - CC_SEQUENCE: auto - CC_END_POLICY: NA - CC_COLL_CONFIG: NA - CC_INIT_FCN: NA - DELAY: 3 - MAX_RETRY: 5 - VERBOSE: false executing with the following - CC_NAME: basic - CC_SRC_PATH: ../asset-transfer-basic/chaincode-go - CC_SRC_LANGUAGE: go - CC_VERSION: 1.0 Vendoring Go dependencies at ../asset-transfer-basic/chaincode-go /home/uu/go/src/github.com/hyperledger/fabric-samples/asset-transfer-basic/chaincode-go /home/uu/go/src/github.com/hyperledger/fabric-samples/test-network go: updates to go.mod needed; to update it: go mod tidy /home/uu/go/src/github.com/hyperledger/fabric-samples/test-network Finished vendoring Go dependencies + '[' false = true ']' + peer lifecycle chaincode package basic.tar.gz --path ../asset-transfer-basic/chaincode-go --lang golang --label basic_1.0 + res=0 Chaincode is packaged Installing chaincode on peer0.org1... Using organization 1 + jq -r 'try (.installed_chaincodes[].package_id)' + peer lifecycle chaincode queryinstalled --output json + grep '^Perform chaincode operations: package|install|queryinstalled|getinstalledpackage|approveformyorg|queryapproved|checkcommitreadiness|commit|querycommitted Usage: peer lifecycle chaincode [command] Available Commands: approveformyorg Approve the chaincode definition for my org. checkcommitreadiness Check whether a chaincode definition is ready to be committed on a channel. commit Commit the chaincode definition on the channel. getinstalledpackage Get an installed chaincode package from a peer. install Install a chaincode. package Package a chaincode queryapproved Query an org'\''s approved chaincode definition from its peer. querycommitted Query the committed chaincode definitions by channel on a peer. queryinstalled Query the installed chaincodes on a peer. Flags: --cafile string Path to file containing PEM-encoded trusted certificate(s) for the ordering endpoint --certfile string Path to file containing PEM-encoded X509 public key to use for mutual TLS communication with the orderer endpoint --clientauth Use mutual TLS when communicating with the orderer endpoint --connTimeout duration Timeout for client to connect (default 3s) -h, --help help for chaincode --keyfile string Path to file containing PEM-encoded private key to use for mutual TLS communication with the orderer endpoint -o, --orderer string Ordering service endpoint --ordererTLSHostnameOverride string The hostname override to use when validating the TLS connection to the orderer --tls Use TLS when communicating with the orderer endpoint --tlsHandshakeTimeShift duration The amount of time to shift backwards for certificate expiration checks during TLS handshakes with the orderer endpoint Use "peer lifecycle chaincode [command] --help" for more information about a command.$' + test 1 -ne 0 + peer lifecycle chaincode install basic.tar.gz + res=1 Error: chaincode install failed with status: 500 - failed to invoke backing implementation of 'InstallChaincode': could not build chaincode: docker build failed: docker image build failed: docker build failed: Error returned from build: 1 "go: errors parsing go.mod: /chaincode/input/src/go.mod:3: usage: go 1.23 " Chaincode installation on peer0.org1 has failed Deploying chaincode failed发生了什么
06-10
[File Watcher (node.js)] Request to start watching: /home/SENSETIME/leisiquan.vendor/.config/Code/User (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>),/home/SENSETIME/leisiquan.vendor/.config/Code/User/settings.json (excludes: <none>, includes: <all>, filter: <none>, correlationId: <none>) [main 2025-08-01T12:47:02.252Z] [File Watcher (node.js)] ignoring a path for watching who's stat info failed to resolve: /home/SENSETIME/leisiquan.vendor/.config/Code/User/settings.json (error: Error: ENOENT: no such file or directory, stat '/home/SENSETIME/leisiquan.vendor/.config/Code/User/settings.json') [main 2025-08-01T12:47:02.253Z] [File Watcher (node.js)] starting fs.watchFile() on /home/SENSETIME/leisiquan.vendor/.config/Code/User/settings.json (correlationId: undefined) [main 2025-08-01T12:47:02.256Z] Starting VS Code [main 2025-08-01T12:47:02.256Z] from: /usr/share/code/resources/app [main 2025-08-01T12:47:02.256Z] args: { _: [], diff: false, merge: false, add: false, remove: false, goto: false, 'new-window': false, 'reuse-window': false, wait: false, help: false, 'list-extensions': false, 'show-versions': false, 'pre-release': false, 'update-extensions': false, version: false, verbose: true, status: false, 'prof-startup': false, 'no-cached-data': false, 'prof-v8-extensions': false, 'disable-extensions': false, 'disable-lcd-text': false, 'disable-gpu': true, 'disable-chromium-sandbox': false, sandbox: false, telemetry: false, debugRenderer: false, 'enable-smoke-test-driver': false, logExtensionHostCommunication: false, 'skip-release-notes': false, 'skip-welcome': false, 'disable-telemetry': false, 'disable-updates': false, 'use-inmemory-secretstorage': false, 'disable-workspace-trust': false, 'disable-crash-reporter': false, 'crash-reporter-id': '9bc59030-b82d-49d9-9051-898bbb437304', 'skip-add-to-recently-opened': false, 'open-url': false, 'file-write': false, 'file-chmod': false, force: false, 'do-not-sync': false, 'do-not-include-pack-dependencies': false, trace: false, 'trace-memory-infra': false, 'preserve-env': false, 'force-user-env': false, 'force-disable-user-env': false, 'open-devtools': false, 'disable-gpu-sandbox': false, '__enable-file-policy': false, 'enable-coi': false, 'enable-rdp-display-tracking': false, 'disable-layout-restore': false, 'no-proxy-server': false, 'no-sandbox': false, nolazy: false, 'force-renderer-accessibility': false, 'ignore-certificate-errors': false, 'allow-insecure-localhost': false, 'disable-dev-shm-usage': false, 'profile-temp': false, logsPath: '/home/SENSETIME/leisiquan.vendor/.config/Code/logs/20250801T204702' } [main 2025-08-01T12:47:02.258Z] Resolving machine identifier... [main 2025-08-01T12:47:02.262Z] [File Watcher (node.js)] Started watching: '/home/SENSETIME/leisiquan.vendor/.config/Code/User' [49295:0801/204702.266343:WARNING:vaapi_wrapper.cc(1534)] Skipping nVidia device named: nvidia-drm [49295:0801/204702.268231:WARNING:sandbox_linux.cc(420)] InitializeSandbox() called with multiple threads in process gpu-process. [49295:0801/204702.269007:WARNING:viz_main_impl.cc(85)] VizNullHypothesis is disabled (not a warning) [main 2025-08-01T12:47:02.298Z] Resolved machine identifier: 3777bd569b947d43ea914eabe3a61f5de17708a4d53a88839111bf818a20a675 [main 2025-08-01T12:47:02.298Z] Main->SharedProcess#connect [main 2025-08-01T12:47:02.302Z] StorageMainService: creating application storage [main 2025-08-01T12:47:02.306Z] ElectronURLListener: waiting for window to be ready to handle URLs... [main 2025-08-01T12:47:02.306Z] lifecycle (main): phase changed (value: 2) [main 2025-08-01T12:47:02.306Z] windowsManager#open [main 2025-08-01T12:47:02.307Z] windowsManager#open pathsToOpen [ [Object: null prototype] {} ] [main 2025-08-01T12:47:02.307Z] windowsManager#doOpenEmpty { restore: false, remoteAuthority: undefined, filesToOpen: undefined, forceNewWindow: false } [main 2025-08-01T12:47:02.309Z] IPC Object URL: Registered new channel vscode:dc0454f3-919f-4e9a-999c-dc2a526cc059. [main 2025-08-01T12:47:02.309Z] window#validateWindowState: validating window state on 1 display(s) { width: 1200, height: 800, mode: 1, x: 360, y: 140, hasDefaultState: true } [main 2025-08-01T12:47:02.309Z] window#validateWindowState: single monitor working area { x: 72, y: 27, width: 1848, height: 1053 } [main 2025-08-01T12:47:02.309Z] window#ctor: using window state { width: 1200, height: 800, mode: 1, x: 360, y: 140, hasDefaultState: true } [main 2025-08-01T12:47:02.356Z] window#load: attempt to load window (id: 1) [main 2025-08-01T12:47:02.364Z] windowsManager#open used window count 1 (workspacesToOpen: 0, foldersToOpen: 0, emptyToRestore: 0, maybeOpenEmptyWindow: true) [main 2025-08-01T12:47:02.364Z] lifecycle (main): phase changed (value: 3) [main 2025-08-01T12:47:02.364Z] resolveShellEnv(): skipped (VSCODE_CLI is set) [main 2025-08-01T12:47:02.365Z] update#setState idle [main 2025-08-01T12:47:02.407Z] resolveShellEnv(): skipped (VSCODE_CLI is set) [49253:0801/204702.419375:INFO:CONSOLE(3)] "[uncaught exception]: TypeError: Failed to fetch dynamically imported module: vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js", source: vscode-file://vscode-app/usr/share/code/resources/app/out/vs/code/electron-browser/workbench/workbench.js (3) [49253:0801/204702.419453:INFO:CONSOLE(3)] "TypeError: Failed to fetch dynamically imported module: vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js", source: vscode-file://vscode-app/usr/share/code/resources/app/out/vs/code/electron-browser/workbench/workbench.js (3) [49253:0801/204702.419556:INFO:CONSOLE(4)] "Uncaught (in promise) TypeError: Failed to fetch dynamically imported module: vscode-file://vscode-app/usr/share/code/resources/app/out/vs/workbench/workbench.desktop.main.js", source: vscode-file://vscode-app/usr/share/code/resources/app/out/vs/code/electron-browser/workbench/workbench.js (4) [49253:0801/204702.445759:ERROR:nss_util.cc(227)] Error initializing NSS with a persistent database (sql:/home/SENSETIME/leisiquan.vendor/.pki/nssdb): libsoftokn3.so: 无法打开共享对象文件: 没有那个文件或目录 [49253:0801/204702.445798:ERROR:nss_util.cc(112)] Error initializing NSS without a persistent database: NSS error code: -5925 [49253:0801/204702.445805:FATAL:nss_util.cc(114)] nss_error=-5925, os_error=0 [0801/204702.482445:ERROR:directory_reader_posix.cc(43)] opendir /home/SENSETIME/leisiquan.vendor/.config/Code/Crashpad/attachments/63a4640e-035f-4f73-ac78-2ede9b09a5b9: No such file or directory (2) [49299:0801/204708.716049:ERROR:ssl_client_socket_impl.cc(877)] handshake failed; returned -1, SSL error code 1, net_error -3
08-02
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值