Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2017 10:21:49 -0600
From:      Adam Weinberger <adamw@adamw.org>
To:        Luca Pizzamiglio <pizzamig@freebsd.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r450810 - head/www/yarn
Message-ID:  <426BBCF9-012D-4483-BFC0-9A32C6645536@adamw.org>
In-Reply-To: <201709280906.v8S96RT9051986@repo.freebsd.org>
References:  <201709280906.v8S96RT9051986@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> On 28 Sep, 2017, at 3:06, Luca Pizzamiglio <pizzamig@freebsd.org> =
wrote:
>=20
> Author: pizzamig
> Date: Thu Sep 28 09:06:27 2017
> New Revision: 450810
> URL: https://svnweb.freebsd.org/changeset/ports/450810
>=20
> Log:
>  www/yarn: Updating to version 1.0.2
>=20
>  Adopting a more fine grained conflict type
>  Fixing a Linux incompatibility
>=20
>  Approved by:	olivier (mentor)
>  Differential Revision:	https://reviews.freebsd.org/D12516
>=20
> Modified:
>  head/www/yarn/Makefile
>  head/www/yarn/distinfo

Hi Luca,

Yarn has stopped working for me with this release. This is in a =
poudriere jail with just yarn installed:

root@apnoea:/tmp # mkdir foo
root@apnoea:/tmp # cd foo
root@apnoea:/tmp/foo # yarn init
module.js:473
      throw err;
      ^

Error: Cannot find module '/tmp/lib/node_modules/yarn/bin/yarn.js'
    at Function.Module._resolveFilename (module.js:527:15)
    at Function.Module._load (module.js:453:25)
    at Function.Module.runMain (module.js:665:10)
    at startup (bootstrap_node.js:201:16)
    at bootstrap_node.js:626:3


--=20
Adam Weinberger
adamw@adamw.org
https://www.adamw.org


>=20
> Modified: head/www/yarn/Makefile
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> --- head/www/yarn/Makefile	Thu Sep 28 09:02:02 2017	=
(r450809)
> +++ head/www/yarn/Makefile	Thu Sep 28 09:06:27 2017	=
(r450810)
> @@ -2,7 +2,7 @@
>=20
> PORTNAME=3D	yarn
> DISTVERSIONPREFIX=3D	v
> -DISTVERSION=3D	1.0.1
> +DISTVERSION=3D	1.0.2
> CATEGORIES=3D	www
> MASTER_SITES=3D	https://yarnpkg.com/downloads/${PORTVERSION}/
>=20
> @@ -27,7 +27,7 @@ NODE_RUN_DEPENDS=3D	node>=3D0.8.0:www/node
> NODE6_RUN_DEPENDS=3D	node6>=3D0.8.0:www/node6
> NODE4_RUN_DEPENDS=3D	node4>=3D0.8.0:www/node4
>=20
> -HADOOPCOMPAT_CONFLICTS_OFF=3D	hadoop2*
> +HADOOPCOMPAT_CONFLICTS_INSTALL_OFF=3D	hadoop2*
>=20
> NO_ARCH=3D	yes
> NO_BUILD=3D	yes
> @@ -37,8 +37,6 @@ post-patch:
> 	@${REINPLACE_CMD} -i '' \
> 		-e 's|"installationMethod": "tar"|"installationMethod": =
"pkg"|g' \
> 		${WRKSRC}/package.json
> -	@${REINPLACE_CMD} -i '' -e 's%Linux)%Linux|FreeBSD)%g' \
> -		${WRKSRC}/bin/yarn
>=20
> do-install:
> 	${MKDIR} ${STAGEDIR}${PREFIX}/lib/node_modules/yarn
>=20
> Modified: head/www/yarn/distinfo
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> --- head/www/yarn/distinfo	Thu Sep 28 09:02:02 2017	=
(r450809)
> +++ head/www/yarn/distinfo	Thu Sep 28 09:06:27 2017	=
(r450810)
> @@ -1,3 +1,3 @@
> -TIMESTAMP =3D 1505124517
> -SHA256 (yarn-v1.0.1.tar.gz) =3D =
6b00b5e0a7074a512d39d2d91ba6262dde911d452617939ca4be4a700dd77cf1
> -SIZE (yarn-v1.0.1.tar.gz) =3D 843398
> +TIMESTAMP =3D 1506246826
> +SHA256 (yarn-v1.0.2.tar.gz) =3D =
8a31f8fa50ab6d5f8852025fb0ea4a50f2f8b82792f060fa99de0acc370b0698
> +SIZE (yarn-v1.0.2.tar.gz) =3D 843696
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?426BBCF9-012D-4483-BFC0-9A32C6645536>