Failed to run yarn dev
AlexHladin opened this issue · 7 comments
Description
I've tried the most recent version of the Xplorer and was faced with a building issue when I run yarn dev
command.
The issue displayed below
My Node.js version is v16.13.1
OS: macOS Monterey 12.0.1
I guess, with the Tauri package some additional steps are required and they should be displayed in the installation section
Steps To Reproduce
- git clone git@github.com:kimlimjustin/xplorer.git
- yarn install
- yarn dev
Expected behavior
After running yarn dev
application should appear
Xplorer Version
0.2.0
Operating System Version
macOS Monterey 12.0.1
Additional Information
No response
Under tauri.bundle.macOS
section on the src/tauri.conf.json
file, try removing the license
section, it seems like the bug of Tauri.
@kimlimjustin solution does not work for me :(
Could you please attach the output of yarn run tauri info
?
I wonder if @AlexHladin got the Tauri dependencies on his computer.
I wonder if @AlexHladin got the Tauri dependencies on his computer.
He/she got it, the error will be something saying tauri is not recognized
if the dependencies is not installed.
@kimlimjustin the yarn run tauri info
returns next information
Download Complete
Operating System - Mac OS, version 12.1.0 X64
Node.js environment
Node.js - 16.13.1
@tauri-apps/cli - 1.0.0-beta.10
@tauri-apps/api - 1.0.0-beta.8
Global packages
npm - 8.1.2
yarn - 1.19.1
Rust environment
rustc - Not installed
cargo - Not installed
App directory structure
/.husky
/out
/example
/node_modules
/docs
/scripts
/packages
/.github
/src-tauri
/lib
/api
/.git
/.vscode
/.idea
/src
App
tauri.rs - 1.0.0-beta.8
build-type - bundle
CSP - default-src asset: blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'
distDir - ../out/src
devPath - http://localhost:8080
bundler - Webpack
✨ Done in 10.84s.
I guess the main issue with running yarn dev
because I don't have installed Rust
Yes, please follow this guide as I mentioned in point number 3 of this section