[MacPorts] #31315: npm: ENOENT, No such file or directory 'ronn.js'
MacPorts
noreply at macports.org
Mon Sep 19 12:15:45 PDT 2011
#31315: npm: ENOENT, No such file or directory 'ronn.js'
-------------------------------+--------------------------------------------
Reporter: matt@… | Owner: ciserlohn@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: npm
-------------------------------+--------------------------------------------
Comment(by ryandesign@…):
Replying to [comment:12 matt@…]:
> I tried patching the file a second time and still errored out.
Recommendations?
It is at least a different error than you were seeing initially, but I
still don't know why it builds for me but not for you.
> MacPorts worked fine for npm 0.26 on Snow Leopard about a month ago.
Something must have changed.
You mean 1.0.26, but yes, the port's build process was changed when it was
updated to version 1.0.30; you would not have seen this error with an
earlier version.
> I see a port called rb19-ronn that is used for building manuals and this
errors is related to a ronn.js file. Is ronn a dependency that isn't
getting installed and is what's erroring out the MacPorts build process?
As I understand it, ronn is used to build the documentation. rb19-ronn is
presumably a Ruby 1.9 version of ronn. npm understandably needs a
JavaScript version of ronn. npm tries to install this using itself. This
succeeds for me and fails for you.
I suggest you wait until the maintainer has a chance to update the port to
fetch from a distfile instead of fetching from git, since the distfile
includes prebuilt documentation so we will no longer have to try to build
it ourselves. (Or the maintainer will explain why he doesn't want to do it
that way.)
If you can't wait, install the previous version 1.0.28 using instructions
from [wiki:howto/InstallingOlderPort]. (We never had 1.0.29 in MacPorts.)
--
Ticket URL: <https://trac.macports.org/ticket/31315#comment:13>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list