breejs / later

*Maintained fork of Later.* A javascript library for defining recurring schedules and calculating future (or past) occurrences for them. Includes support for using English phrases and Cron schedules. Works in Node and in the browser.
https://breejs.github.io/later/
MIT License
134 stars 13 forks source link

npm install for 4.1.0 not working on macOS #19

Closed nanoamp closed 2 years ago

nanoamp commented 2 years ago

Installing via npm i @breejs/later on macOS Monterey, after some time, it completes without error, but I get a _nodemodules/@breejs/later folder which only has three files - licence, package.json and readme.

If I install with npm i @breejs/later@4.0.2 then I get a dist and lib folder created as well.

Is this something awry with packaging of latest on the npmjs repo, or is this something client-side that I can provide more info to debug? I'm running npm 8.2.0 at the moment.

nanoamp commented 2 years ago

For info, I've tried it on a Pi 3 running npm 6.11.3 as well as npm 8.2.0, and latest installed correctly.

niftylettuce commented 2 years ago

I'm unable to reproduce and I'm guessing something was cached on your machine? What version only had 3 files?

❯ npm i @breejs/later

+ @breejs/later@4.1.0
added 1 package from 2 contributors and audited 47 packages in 1.388s

4 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

❯ cd node_modules/@breejs/later
❯ ls
dist  lib  LICENSE  package.json  README.md
nanoamp commented 2 years ago

Sorry, I've changed jobs since I raised this, and don't have access to that Mac any more, so I can't test. I think it's unlikely to have been down to caching though, as it was a first-time install.