node-threadpool icon indicating copy to clipboard operation
node-threadpool copied to clipboard

No dist folder in published package

Open mattolson opened this issue 7 years ago • 3 comments

It appears there is a problem with the package published to npm. When I install with npm install [email protected], I get the error referred to in #2. When I install with npm install [email protected] --ignore-scripts (as recommended in the comments in that issue), it will install, but I can't actually use it. Looking at the package contents, package.json refers to dist/lib/node-threadpool.umd.js as the main file, but there is no dist folder. Can you publish a new version that has a full build? Really eager to try this package. Thanks!

mattolson avatar Sep 28 '18 01:09 mattolson

When I go into node_modules/node-threadpool and run npm i && npm build, then I am able to load it in my project, but this should be done prior to publishing the package.

mattolson avatar Sep 28 '18 01:09 mattolson

This is still an issue.

arcman7 avatar May 28 '20 05:05 arcman7

Same issue here. Error: Cannot find module '/homes/hhu8/tserver/node_modules/node-threadpool/dist/lib/node-threadpool.umd.js'. Please verify that the package.json has a valid "main" entry

hhu8 avatar Sep 07 '23 17:09 hhu8