Coder Social home page Coder Social logo

Comments (7)

adamward459 avatar adamward459 commented on August 11, 2024

Also i cannot install depencies in styles-reactjs-examples:

Steps:

** cd packages/styles-reactjs-examples
** run yarn || npm i

Result

  • yarn
ASUS@DevPham MSYS /d/github.com/stylex/packages/stylex-reactjs-examples (main)
$ yarn
yarn install v1.22.10
[1/4] Resolving packages...
Couldn't find any versions for "@ladifire-opensource/stylex" that matches "0.0.1-beta1"
? Please choose a version of "@ladifire-opensource/stylex
" from this list: (Use arrow keys)
Couldn't find any versions for "@ladifire-opensource/babel-plugin-transform-stylex" that matches "0.0.1-beta1"
? Please choose a version of "@ladifire-opensource/babel-
plugin-transform-stylex" from this list: (Use arrow keys)
Couldn't find any versions for "@ladifire-opensource/stylex-webpack-plugin" that matches "0.0.1-beta1"
? Please choose a version of "@ladifire-opensource/stylex
-webpack-plugin" from this list: (Use arrow keys)
> 0.0.1-beta.0 (node:14120) MaxListenersExceededWarning: ? Please choose a version of "@ladifire-opensource/stylex
-webpack-plugin" from this list: 0.0.1-beta.0
[2/4] Fetching packages...
info [email protected]: The platform "win32" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
error @parcel/[email protected]: The engine "node" is incompatible with this module. Expected version "^10 || ^12.18.3 || >=14". Got "12.4.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
  • npm
ASUS@DevPham MSYS /d/github.com/stylex/packages/stylex-reactjs-examples (main)
$ npm i
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @ladifire-opensource/[email protected]
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'stylex-reactjs-examples'
npm ERR! notarget

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\ASUS\AppData\Roaming\npm-cache\_logs\2021-01-21T16_48_55_273Z-debug.log

from stylex.

ladifire avatar ladifire commented on August 11, 2024

@phamthanhtrungg Try to delete node_modules, yarn.lock and re-install. In the latest commit, I've rename the version from "0.0.1-beta1" => "0.0.1.beta.0" (0.0.1.beta1 is wrong version name ruler).

Also, we're using parcel for bundler, and it's require node version ">= 12.0.0". Let's check your node version too.

from stylex.

adamward459 avatar adamward459 commented on August 11, 2024

@ladifire I forked latest commit and run yarn, node 12.4.0 >= 12.0.0 check the logs above

from stylex.

ladifire avatar ladifire commented on August 11, 2024

@phamthanhtrungg sorry, your error logs say:

error @parcel/[email protected]: The engine "node" is incompatible with this module. Expected version "^10 || ^12.18.3 || >=14". Got "12.4.0"

Install node ^12.18.3 will fix this issue!

from stylex.

ladifire avatar ladifire commented on August 11, 2024

@phamthanhtrungg You can use nvm and install 12.18.3, then switch between versions.

from stylex.

adamward459 avatar adamward459 commented on August 11, 2024

@ladifire I know but it �does not cause error with npm only with yarn

from stylex.

ladifire avatar ladifire commented on August 11, 2024

@phamthanhtrungg sorry, please delete these lines in package.json of "packages/stylex-reactjs-examples":

  "dependencies": {
    "@ladifire-opensource/babel-plugin-transform-stylex": "0.0.1-beta1",
    "@ladifire-opensource/stylex": "0.0.1-beta1",
    "@ladifire-opensource/stylex-webpack-plugin": "0.0.1-beta1",

Also, delete yarn.lock, node_modules and try re-install.

Thanks you!

from stylex.

Related Issues (11)

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.