TAMULib / weaver-components

Custom Web Components for the Weaver UI
MIT License
0 stars 1 forks source link

Node 16.x deprecations and problems. #478

Open kaladay opened 3 years ago

kaladay commented 3 years ago

I've recently upgraded my node to a 16.x version and I now get this warning.

(node:5029) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead

Check if fs.rm(path, { recursive: true }) can be used on older versions of node as well to ensure compatibility. If it is possible to make this change without breaking not too old releases (node 14.x and node 12.x), then it may be worth making this change.

(node:7704) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at weaver-components/node_modules/tslib/package.json.
Update this package.json to use a subpath pattern like "./*".

Installing to local npm (Verdaccio) errors with:

npm ERR! code ENEEDAUTH
npm ERR! need auth This command requires you to be logged in.
npm ERR! need auth You need to authorize this machine using `npm adduser`
kaladay commented 2 years ago

This might be resolved with this PR:

I think this should be reviewed to see if it is solved or not, so I am moving this into needs review.

kaladay commented 2 years ago

Still happens, despite the changes in the above referenced PR.