Comments (7)
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.
@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.
@ladifire I forked latest commit and run yarn, node 12.4.0 >= 12.0.0 check the logs above
from stylex.
@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.
@phamthanhtrungg You can use nvm
and install 12.18.3, then switch between versions.
from stylex.
@ladifire I know but it �does not cause error with npm only with yarn
from stylex.
@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)
- Improve type definition HOT 2
- New ideas, improve project HOT 2
- pseudo in media query not working
- CRA example request HOT 7
- Cannot use child selector with stylex HOT 1
- Cannot find module '@babel/core' when build with webpack + typescript(ts-loader)
- Allow nested objects within stylex.create for importing purposes
- xstyle of 'undefined' not supported in typescript
- Are you using your yourself? HOT 2
- SWC Support for stylex and Next > 13.4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stylex.