electron-react-boilerplate: yarn command fails in 3.0.1 on Windows network drives

Prerequisites

  • Using yarn
  • Using an up-to-date main branch
  • Using latest version of devtools. Check the docs for how to update
  • Tried solutions mentioned in #400
  • For issue in production release, add devtools output of DEBUG_PROD=true yarn build && yarn start

Expected Behavior

yarn command completes succesfully.

Current Behavior

yarn command shows an error, looks like it can’t create symlinks

Steps to Reproduce

  1. git clone --depth 1 --branch main https://github.com/electron-react-boilerplate/electron-react-boilerplate.git your-project-name

  2. cd your-project-name

  3. yarn

Stacktrace: https://gist.github.com/denexapp/d8d9ba6001d503ad601073f7f9af4dcc

Possible Solution (Not obligatory)

I have no idea how to fix it. Update: yarn command should be run in an elevated command line

Context

I was trying to use this boilerplate. It doenst work.

Your Environment

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 17 (3 by maintainers)

Most upvoted comments

@LarryKlugerDS linking is actually very common amongst package managers and build infrastructure. ERB should be able to symlink without any issues. I’ll investigate this further to see how npm does this

Update: I’ve found a workaround. yarn command should be run in an elevated command line. I’ve updated the original post

I’ve tried to use yarn install instead of yarn, I’ve got the same error

I’m not sure this is the case, the stacktrace I attached above (link) shows that it does install dependencies.

Anyway I will try to use the yarn install command and I’ll post results here