svn commit: r450810 - head/www/yarn

Adam Weinberger adamw at adamw.org
Thu Sep 28 16:21:54 UTC 2017


> On 28 Sep, 2017, at 3:06, Luca Pizzamiglio <pizzamig at freebsd.org> wrote:
> 
> Author: pizzamig
> Date: Thu Sep 28 09:06:27 2017
> New Revision: 450810
> URL: https://svnweb.freebsd.org/changeset/ports/450810
> 
> Log:
>  www/yarn: Updating to version 1.0.2
> 
>  Adopting a more fine grained conflict type
>  Fixing a Linux incompatibility
> 
>  Approved by:	olivier (mentor)
>  Differential Revision:	https://reviews.freebsd.org/D12516
> 
> 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 at apnoea:/tmp # mkdir foo
root at apnoea:/tmp # cd foo
root at 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


-- 
Adam Weinberger
adamw at adamw.org
https://www.adamw.org


> 
> Modified: head/www/yarn/Makefile
> ==============================================================================
> --- 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 @@
> 
> PORTNAME=	yarn
> DISTVERSIONPREFIX=	v
> -DISTVERSION=	1.0.1
> +DISTVERSION=	1.0.2
> CATEGORIES=	www
> MASTER_SITES=	https://yarnpkg.com/downloads/${PORTVERSION}/
> 
> @@ -27,7 +27,7 @@ NODE_RUN_DEPENDS=	node>=0.8.0:www/node
> NODE6_RUN_DEPENDS=	node6>=0.8.0:www/node6
> NODE4_RUN_DEPENDS=	node4>=0.8.0:www/node4
> 
> -HADOOPCOMPAT_CONFLICTS_OFF=	hadoop2*
> +HADOOPCOMPAT_CONFLICTS_INSTALL_OFF=	hadoop2*
> 
> NO_ARCH=	yes
> NO_BUILD=	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
> 
> do-install:
> 	${MKDIR} ${STAGEDIR}${PREFIX}/lib/node_modules/yarn
> 
> Modified: head/www/yarn/distinfo
> ==============================================================================
> --- 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 = 1505124517
> -SHA256 (yarn-v1.0.1.tar.gz) = 6b00b5e0a7074a512d39d2d91ba6262dde911d452617939ca4be4a700dd77cf1
> -SIZE (yarn-v1.0.1.tar.gz) = 843398
> +TIMESTAMP = 1506246826
> +SHA256 (yarn-v1.0.2.tar.gz) = 8a31f8fa50ab6d5f8852025fb0ea4a50f2f8b82792f060fa99de0acc370b0698
> +SIZE (yarn-v1.0.2.tar.gz) = 843696
> 



More information about the svn-ports-all mailing list