jan icon indicating copy to clipboard operation
jan copied to clipboard

bug: [When I downloaded the project, it couldn't start up normally.]

Open IOLOII opened this issue 1 year ago • 5 comments

Describe the bug just clone this repo, and then run make dev

Steps to reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

all step:

nvm use 20 # set node version 20
npm I make -g
make dev
# after run make dev. but couldn't run successful

# cancel make dev
yarn dev
# get electron app show but blank

Error 1: by run make dev

~/Desktop/repos/jan (v0.4.3 ✔) ᐅ make dev
cd uikit && yarn install && yarn build
yarn install v1.22.21
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
warning Pattern ["@janhq/core@link:./web/core"] is trying to unpack in the same destination "/Users/localuser/Library/Caches/Yarn/v6/[email protected]/node_modules/@janhq/core" as pattern ["@janhq/core@link:./electron/core"]. This could result in non-deterministic behavior, skipping.
warning [email protected]: The engine "pnpm" appears to be invalid.
[3/4] 🔗  Linking dependencies...
warning "workspace-aggregator-48d554d2-deb2-4354-a68c-5b192870df1b > jan > @uiball/[email protected]" has unmet peer dependency "react@>=16.8.0".
warning "workspace-aggregator-48d554d2-deb2-4354-a68c-5b192870df1b > jan > @uiball/[email protected]" has unmet peer dependency "react-dom@>=16.8.0".
warning "workspace-aggregator-48d554d2-deb2-4354-a68c-5b192870df1b > jan > [email protected]" has unmet peer dependency "react@>=16.8.0".
warning "workspace-aggregator-48d554d2-deb2-4354-a68c-5b192870df1b > jan > @typescript-eslint/[email protected]" has unmet peer dependency "eslint@^7.0.0 || ^8.0.0".
warning "workspace-aggregator-48d554d2-deb2-4354-a68c-5b192870df1b > jan > @typescript-eslint/[email protected]" has unmet peer dependency "eslint@^7.0.0 || ^8.0.0".
warning "workspace-aggregator-48d554d2-deb2-4354-a68c-5b192870df1b > jan > [email protected]" has unmet peer dependency "eslint@^3 || ^4 || ^5 || ^6 || ^7 || ^8".
warning "workspace-aggregator-48d554d2-deb2-4354-a68c-5b192870df1b > jan > @typescript-eslint/eslint-plugin > @typescript-eslint/[email protected]" has unmet peer dependency "eslint@^7.0.0 || ^8.0.0".
warning "workspace-aggregator-48d554d2-deb2-4354-a68c-5b192870df1b > jan > @typescript-eslint/eslint-plugin > @typescript-eslint/[email protected]" has unmet peer dependency "eslint@^7.0.0 || ^8.0.0".
warning "workspace-aggregator-48d554d2-deb2-4354-a68c-5b192870df1b > jan > @typescript-eslint/eslint-plugin > [email protected]" has unmet peer dependency "typescript@>=4.2.0".
warning "workspace-aggregator-48d554d2-deb2-4354-a68c-5b192870df1b > jan-web > react-hot-toast > [email protected]" has unmet peer dependency "csstype@^3.0.10".
[4/4] 🔨  Building fresh packages...
[-/7] ⠄ waiting...
[2/7] ⠄ fsevents
[3/7] ⠄ deasync
[-/7] ⠄ waiting...
error /Users/localuser/Desktop/repos/jan/node_modules/deasync: Command failed.
Exit code: 1
Command: node ./build.js
Arguments: 
Directory: /Users/localuser/Desktop/repos/jan/node_modules/deasync
Output:
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | arm64
gyp info find Python using Python version 3.9.6 found at "/Applications/Xcode.app/Contents/Developer/usr/bin/python3"

gyp info spawn /Applications/Xcode.app/Contents/Developer/usr/bin/python3
gyp info spawn args [
gyp info spawn args '/Users/localuser/Desktop/repos/jan/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/localuser/Desktop/repos/jan/node_modules/deasync/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/localuser/Desktop/repos/jan/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/localuser/Library/Caches/node-gyp/20.10.0/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/localuser/Library/Caches/node-gyp/20.10.0',
gyp info spawn args '-Dnode_gyp_dir=/Users/localuser/Desktop/repos/jan/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/localuser/Library/Caches/node-gyp/20.10.0/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/localuser/Desktop/repos/jan/node_modules/deasync',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make ✖ ERR  Missing Makefile / Bakefile 




make: *** [build-uikit] Error 1

Error 2: by run yarn dev

~/Desktop/repos/jan (v0.4.4 ✔) ᐅ yarn dev
yarn run v1.22.21
$ concurrently --kill-others "yarn dev:web" "wait-on http://localhost:3000 && yarn dev:electron"
$ yarn workspace jan-web dev
$ next dev
[0]    ▲ Next.js 14.0.1
[0]    - Local:        http://localhost:3000
[0] 
[0]  ✓ Ready in 3s
[0]  ○ Compiling /page ...
[0]  ⨯ ./styles/main.scss
[0] Module not found: Can't resolve '../../node_modules/@janhq/uikit/dist/index.css'
[0] 
[0] https://nextjs.org/docs/messages/module-not-found
[0] 
[0] Import trace for requested module:
[0] ./styles/main.scss
[0]  ⨯ ./styles/main.scss
[0] Module not found: Can't resolve '../../node_modules/@janhq/uikit/dist/index.css'
[0] 
[0] https://nextjs.org/docs/messages/module-not-found
[0] 
[0] Import trace for requested module:
[0] ./styles/main.scss
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0] <w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz_' -> '/Users/localuser/Desktop/repos/jan/web/.next/cache/webpack/client-development-fallback/0.pack.gz'
[0]  ⨯ ./styles/main.scss
[0] Module not found: Can't resolve '../../node_modules/@janhq/uikit/dist/index.css'
[0] 
[0] https://nextjs.org/docs/messages/module-not-found
[0] 
[0] Import trace for requested module:
[0] ./styles/main.scss

Expected behavior run successful

Screenshots

Environment details

  • Operating System: macOS Monterey 12.7.2
  • Jan Version: 0.4.4
  • Processor: Apple M1
  • RAM: 8GB
  • Any additional relevant hardware specifics: SSD

Additional context en-US: I looked through a lot of problem sessions on the issue of discord and github and didn't find a suitable solution, so I asked the problem and hoped it could be solved.

There is no problem for me to install the official downloaded application package directly locally.

I have never been exposed to this kind of project before. I can't start the project quickly and successfully through a simple description on the start-up document of this project. I hope that the official can improve and enrich the project start-up process so that people who are new to this type of project can learn.

For example, I haven't learned about make in readme before. After checking it, I know that it is related to the c language, but I'm not completely sure that I installed the official 'make' through "npm install make -g".

zh-CN: 我在discord和github的issue上翻了很多问题会话,没有找到合适的解决方法,所以提出问题希望能够得到解决。 我本地直接安装官方下载的应用软件包没有问题。

我之前没有接触过这类,仅仅通过对这个项目的启动文档上的简单描述无法快速成功启动项目,希望官方能够完善丰富项目启动流程,以便于给到刚接触这种类型项目的人去学习。

就比如说,readme中的make,我之前都没有了解过,查阅了一下才知道是和c语言有关的内容,但是我通过"npm install make -g" 也不是完全肯定安装的是官方所指的’make‘

IOLOII avatar Jan 09 '24 18:01 IOLOII

Thanks for your patience on this - we're triaging a few things to get to a release at the moment.

@hiento09 can you take a look later today or this week?

freelerobot avatar Jan 10 '24 02:01 freelerobot

Thanks for your patience on this - we're triaging a few things to get to a release at the moment.

@hiento09 can you take a look later today or this week?

Tks, Hope to have an easy-to-understand and complete project script startup document for this project.

IOLOII avatar Jan 11 '24 02:01 IOLOII

Hi @IOLOII , can you fetch the latest main branch of Jan and try make clean and make dev to see if the error still happend or not? Thank you.

hiento09 avatar Jan 15 '24 16:01 hiento09

Hi @IOLOII , can you fetch the latest main branch of Jan and try make clean and make dev to see if the error still happend or not? Thank you.

👌, I will try. So are my above steps correct? I mean download and install make by use script 'npm install make -g' .

IOLOII avatar Jan 15 '24 16:01 IOLOII

@IOLOII , for gnu make we tested with make installed by brew (brew install make) which is offical gnu make version 4.4.1. I have checked, make provide by npm install -g make is outdated and not an offical one. Can you try again with gnu make installed by brew. Thank you.

hiento09 avatar Jan 16 '24 01:01 hiento09