Giter VIP home page Giter VIP logo

Comments (5)

Jaserto avatar Jaserto commented on May 18, 2024 2

I'm facing the same issue on Windows, any solution?

from react-native-skia.

schiller-manuel avatar schiller-manuel commented on May 18, 2024

I get the same error on macOS, running yarn in package directory on 65a3c66 leads to:

[4/4] 🔨  Building fresh packages...
$ yarn node scripts/install-npm.js
yarn node v1.22.17
Updating symlinks for Android build...
Creating symlink to api /Users/foo/source/react-native-skia/package/scripts /Users/foo/source/react-native-skia/package
internal/fs/utils.js:332
    throw err;
    ^

Error: EEXIST: file already exists, symlink '/Users/foo/source/react-native-skia/package/cpp/api' -> '/Users/foo/source/react-native-skia/package/android/cpp/api'
    at Object.symlinkSync (fs.js:1214:3)
    at createSymlink (/Users/foo/source/react-native-skia/package/scripts/install-npm.js:8:6)
    at Object.<anonymous> (/Users/foo/source/react-native-skia/package/scripts/install-npm.js:16:1)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
    at internal/main/run_main_module.js:17:47 {
  errno: -17,
  syscall: 'symlink',
  code: 'EEXIST',
  path: '/Users/foo/source/react-native-skia/package/cpp/api',
  dest: '/Users/foo/source/react-native-skia/package/android/cpp/api'
}
error Command failed.
Exit code: 1

The symlinks are already in the git repo: https://github.com/Shopify/react-native-skia/tree/main/package/android/cpp
So should package/scripts/install-npm.js not be invoked when running yarn?

from react-native-skia.

wcandillon avatar wcandillon commented on May 18, 2024

These should be fixed now. Feel free to reopen if needed.

from react-native-skia.

rhalaly avatar rhalaly commented on May 18, 2024

Same issue here, on Windows. @wcandillon we can't reopen this ticket, can you please reopen it?

from react-native-skia.

wcandillon avatar wcandillon commented on May 18, 2024

fixed by #1527

from react-native-skia.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.