Comments (3)
Why in the world are you trying to install React as a Linux package?
Also, the React team is definitely not responsible for any repackaging of React into a Linux package - they only publish to NPM.
from react.
Checked on Debian12. Content of the file is same after install from source.
Some output:
$ cat /usr/share/nodejs/react-is/index.js
'use strict';
if (process.env.NODE_ENV === 'production') {
module.exports = require('./cjs/react-is.production.min.js');
} else {
module.exports = require('./cjs/react-is.development.js');
}
$ sudo dpkg -i ./node-react_18.2.0+dfsg+~cs87.31.26-4_all.deb
[sudo] password for user:
(Reading database ... 354612 files and directories currently installed.)
Preparing to unpack .../node-react_18.2.0+dfsg+~cs87.31.26-4_all.deb ...
Unpacking node-react (18.2.0+dfsg+~cs87.31.26-4) over (18.2.0+dfsg+~cs87.31.26-4) ...
Setting up node-react (18.2.0+dfsg+~cs87.31.26-4) ...
$ cat /usr/share/nodejs/react-is/index.js
'use strict';
if (process.env.NODE_ENV === 'production') {
module.exports = require('./cjs/react-is.production.min.js');
} else {
module.exports = require('./cjs/react-is.development.js');
}
from react.
Thank you for answering.
I install it as a package because in Ubuntu it comes as a *.deb file and therefore it is possible to install it separately as a package and build from source.
I see contacts of maintainers of the package. So I'll write them.
Maintainer: Debian Javascript Maintainers [email protected]
Uploaders: Pirate Praveen [email protected]
Thank you.
from react.
Related Issues (20)
- [ReadToPipeableStream] Support { end: false } Options as second param
- [DevTools Bug] Could not find node with id "24823" in commit tree HOT 1
- Bug: Infinite loop with useState and useEffect hooks HOT 9
- Bug:
- feature request: Pass HTML tag attributes as single object HOT 8
- Bug: useEffect Hook Does Not Recognize Passed Prop as Function in Child Component HOT 1
- 18.2.0/umd/react.development.js not export use method HOT 1
- Bug: Canary version unexpectedly removes markup rendered by a component in Strict Mode HOT 3
- Bug: onKeyUp Handler fired out of order HOT 2
- Bug: react got runtime error when user breaks the rules of hooks, instead of telling user what to do HOT 4
- Bug: eslint-plugin-react-hooks hangs on function with many conditionals
- Bug: typescript can't determine well useMemo value HOT 3
- Bug: Removal of custom element property sets it to `null` rather than `undefined` HOT 2
- [feat] I hope react supports two instructions r-if and r-for HOT 2
- Name property is not defined for option in the animation color dropdown. HOT 2
- Bug: StrictMode is causing issue when value is calculated using ref value HOT 9
- Updated the README.md file
- [DevTools Bug]: Big Memory Leak HOT 2
- Bug: hot-reload not working with express HOT 3
- Input value leak in chrome browser heap memory HOT 1
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 react.