Different file (/usr/share/nodejs/react-is/index.js ) contents when installing via "apt install" and build from source, install package node-react 17.0.2+dfsg+~cs106.66.62-1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
node-react (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hello.
Please help.
I have a problem with package node-react on Ubuntu 22.04.
node-react 17.0.2+
Different file (/usr/share/
Maybe there is a patch for this problem? It will be good for me.
Sequence of testing:
1. sudo apt-get install node-react
output of command:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
node-prop-types
The following NEW packages will be installed:
node-prop-types node-react
0 upgraded, 2 newly installed, 0 to remove and 54 not upgraded.
Need to get 0 B/528 kB of archives.
After this operation, 13,8 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Selecting previously unselected package node-react.
(Reading database ... 206340 files and directories currently installed.)
Preparing to unpack .../node-
Unpacking node-react (17.0.2+
Selecting previously unselected package node-prop-types.
Preparing to unpack .../node-
Unpacking node-prop-types (15.7.2+~15.7.4-2) ...
Setting up node-react (17.0.2+
Setting up node-prop-types (15.7.2+~15.7.4-2) ...
2. cat /usr/share/
output:
'use strict';
if (process.
module.exports = require(
} else {
module.exports = require(
}
3. apt-get source -b node-react maybe required to call "sudo apt-get build-dep node-react" before.
some output:
dpkg-source: info: extracting node-react in node-react-
dpkg-source: info: unpacking node-react_
dpkg-source: info: unpacking node-react_
dpkg-source: info: unpacking node-react_
dpkg-source: info: unpacking node-react_
dpkg-source: info: unpacking node-react_
dpkg-source: info: unpacking node-react_
dpkg-source: info: unpacking node-react_
dpkg-source: info: unpacking node-react_
dpkg-source: info: unpacking node-react_
dpkg-source: info: unpacking node-react_
dpkg-source: info: unpacking node-react_
dpkg-source: info: unpacking node-react_
dpkg-source: info: unpacking node-react_
dpkg-source: info: using patch list from debian/
....
dpkg-deb: building package 'node-react' in '../node-
dpkg-genbuildinfo --build=binary -O../node-
dpkg-genchanges --build=binary -O../node-
dpkg-genchanges: info: binary-only upload (no source code included)
dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)
3. sudo dpkg -i ./node-
output:
(Reading database ... 206652 files and directories currently installed.)
Preparing to unpack .../node-
Unpacking node-react (17.0.2+
Setting up node-react (17.0.2+
4. cat /usr/share/
output:
/**
Copyright (c) Facebook, Inc. and its affiliates.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
@flow
*/
'use strict';
export * from './src/ReactIs';
Hello.
Additional Information. The difference is not just in the one file. If you unpack a deb files with the -x from repository and built from source, the contents of the directories will be very very different.
I hope the problem will be solved. Ubuntu 22.04 has label LTS (long term support)