but when I run npx patch-package ros3d I see that it does not pull that same version of the dependency:
❯ npx patch-package ros3d
patch-package 6.4.7
• Creating temporary folder
• Installing ros3d@1.0.1 with npm <-------------------- HERE
• Diffing your files with clean files
Error: ENOENT: no such file or directory, scandir '/tmp/tmp-7683832GWujDmdU1h7/node_modules/ros3d'
at Object.readdirSync (fs.js:1021:3)
...
It should copy "ros3d": "trusktr/ros3djs#1abbdc840ac7c72ec39f695a5edc8284a06bf363" over into the temporary directory's package.json, or it should be using a command like npm install ros3d@trusktr/ros3djs#1abbdc840ac7c72ec39f695a5edc8284a06bf363.
For example, my package.json has this:
but when I run
npx patch-package ros3d
I see that it does not pull that same version of the dependency:It should copy
"ros3d": "trusktr/ros3djs#1abbdc840ac7c72ec39f695a5edc8284a06bf363"
over into the temporary directory's package.json, or it should be using a command likenpm install ros3d@trusktr/ros3djs#1abbdc840ac7c72ec39f695a5edc8284a06bf363
.