Re: Where can we find the source code for scatterD3.js
Hi again,
Am Tue, Aug 02, 2022 at 12:47:44PM +0200 schrieb Julien Barnier:
>
> There is a missing step in your instructions,
Ahhh, you mean `npm install`, right. I simply missed to write this down.
To be fully sure you get everything I tried - here is the script I'm
trying to run:
https://salsa.debian.org/r-pkg-team/r-cran-scatterd3/-/blob/master/debian/missing-sources/get
> and there were also some
> missing files in the repository, which should now be fixed.
Thanks for fixing the repository.
> So if you try again with :
>
> $ git clone https://github.com/juba/scatterD3
> $ cd scatterD3
> $ npm install
> $ LC_ALL=C R --no-save <<EOT
> > install.packages("packer")
> > packer::bundle_prod()
> > EOT
>
> I think it should work. You would need a working installation of nodejs and
> npm on your machine though, to be able to run the `npm install` command that
> will download the npm dependencies in a node_modules folder.
>
> Let me know if you encounter any other problems.
Now I get:
...
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (packer)
The downloaded source packages are in
'/tmp/RtmpAWd0yC/downloaded_packages'
> packer::bundle_prod()
! Command raised the warning below
running command ''/usr/bin/npm' run production 2>&1' had status 1
> scatterD3@1.0.0 production
> webpack --config webpack.prod.js
node:internal/crypto/hash:71
this[kHandle] = new _Hash(algorithm, xofLen);
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:71:19)
at Object.createHash (node:crypto:133:10)
at BulkUpdateDecorator.hashFactory (/home/andreas/debian-maintain/salsa/r-pkg-team/r-cran-scatterd3/debian/missing-sources/scatterD3/node_modules/webpack/lib/util/createHash.js:145:18)
at BulkUpdateDecorator.update (/home/andreas/debian-maintain/salsa/r-pkg-team/r-cran-scatterd3/debian/missing-sources/scatterD3/node_modules/webpack/lib/util/createHash.js:46:50)
at RawSource.updateHash (/home/andreas/debian-maintain/salsa/r-pkg-team/r-cran-scatterd3/debian/missing-sources/scatterD3/node_modules/webpack-sources/lib/RawSource.js:70:8)
at NormalModule._initBuildHash (/home/andreas/debian-maintain/salsa/r-pkg-team/r-cran-scatterd3/debian/missing-sources/scatterD3/node_modules/webpack/lib/NormalModule.js:874:17)
at handleParseResult (/home/andreas/debian-maintain/salsa/r-pkg-team/r-cran-scatterd3/debian/missing-sources/scatterD3/node_modules/webpack/lib/NormalModule.js:940:10)
at /home/andreas/debian-maintain/salsa/r-pkg-team/r-cran-scatterd3/debian/missing-sources/scatterD3/node_modules/webpack/lib/NormalModule.js:1032:4
at processResult (/home/andreas/debian-maintain/salsa/r-pkg-team/r-cran-scatterd3/debian/missing-sources/scatterD3/node_modules/webpack/lib/NormalModule.js:749:11)
at /home/andreas/debian-maintain/salsa/r-pkg-team/r-cran-scatterd3/debian/missing-sources/scatterD3/node_modules/webpack/lib/NormalModule.js:813:5 {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v18.6.0
x Failed to bundle files
I suspected that I need to install webpack as well and did so - but
this did not changed anything
Any further hints?
Kind regards
Andreas.
--
http://fam-tille.de
Reply to: