ChatGPT icon indicating copy to clipboard operation
ChatGPT copied to clipboard

[Build Error] I want to build it by myself,but occuring errors

Open Leslie-Tsui opened this issue 2 years ago • 2 comments

Error message

PS D:\vscodeworkplace\ChatGPT-main\ChatGPT-main> yarn dev yarn run v1.22.19 $ tauri dev D:\vscodeworkplace\ChatGPT-main\ChatGPT-main\node_modules@tauri-apps\cli\index.js:234 throw loadError ^

at Function.Module._load (node:internal/modules/cjs/loader:868:12)
at Module.require (node:internal/modules/cjs/loader:1057:19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object.<anonymous> (D:\vscodeworkplace\ChatGPT-main\ChatGPT-main\node_modules\@tauri-apps\cli\index.js:65:29)
at Module._compile (node:internal/modules/cjs/loader:1155:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
at Module.load (node:internal/modules/cjs/loader:1033:32)
at Function.Module._load (node:internal/modules/cjs/loader:868:12) {

code: 'ERR_DLOPEN_FAILED' } error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

OS

win11

Environment

No response

Leslie-Tsui avatar Mar 07 '23 02:03 Leslie-Tsui

Error: The specified module could not be found. \?\D:\vscodeworkplace\ChatGPT-main\ChatGPT-main\node_modules@tauri-apps\cli-win32-x64-msvc\cli.win32-x64-msvc.node at Object.Module._extensions..node (node:internal/modules/cjs/loader:1239:18) at Module.load (node:internal/modules/cjs/loader:1033:32) at Function.Module._load (node:internal/modules/cjs/loader:868:12) at Module.require (node:internal/modules/cjs/loader:1057:19) at require (node:internal/modules/cjs/helpers:103:18) at Object. (D:\vscodeworkplace\ChatGPT-main\ChatGPT-main\node_modules@tauri-apps\cli\index.js:65:29) at Module._compile (node:internal/modules/cjs/loader:1155:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10) at Module.load (node:internal/modules/cjs/loader:1033:32) at Function.Module._load (node:internal/modules/cjs/loader:868:12) { code: 'ERR_DLOPEN_FAILED' } error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Leslie-Tsui avatar Mar 07 '23 03:03 Leslie-Tsui

You can refer to the tauri documentation at https://tauri.app

lencx avatar Mar 07 '23 06:03 lencx