Skip to content

Instantly share code, notes, and snippets.

{
"dependencies": {
"check-source-formatting": "^2.0.2",
"clay": "2.0.0-alpha.7",
"liferay-amd-loader": "2.3.0",
"metal-modal": "^2.0.5",
"svg4everybody": "^2.1.8"
},
"devDependencies": {
"babel-preset-env": "^1.6.0",
> npm run csf
> frontend-js-web@1.0.68 csf C:\zen\projects\liferay\master\portal\modules\apps\foundation\frontend-js\frontend-js-web
> csf src/**/*.es.js test/**/*.es.js
The system cannot find the path specified.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! frontend-js-web@1.0.68 csf: `csf src/**/*.es.js test/**/*.es.js`
npm ERR! Exit status 1
> npm install
> eslint-config-liferay@2.0.7 postinstall C:\zen\projects\liferay\master\portal\modules\apps\foundation\frontend-js\frontend-js-web\node_modules\eslint-config-liferay
> node scripts/postinstall.js
npm WARN frontend-js-web@1.0.68 No description
npm WARN frontend-js-web@1.0.68 No repository field.
npm WARN frontend-js-web@1.0.68 No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.2 (node_modules\metal-cli\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
@IF EXIST "%~dp0\/bin/sh.exe" (
"%~dp0\/bin/sh.exe" "%~dp0\..\check-source-formatting\bin\index.js" %*
) ELSE (
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
/bin/sh "%~dp0\..\check-source-formatting\bin\index.js" %*
)
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\eslint\bin\eslint.js" %*
) ELSE (
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\eslint\bin\eslint.js" %*
)
> npm run csf
> frontend-js-web@1.0.68 csf C:\zen\projects\liferay\master\portal\modules\apps\foundation\frontend-js\frontend-js-web
> csf src/**/*.es.js test/**/*.es.js
'sh' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! frontend-js-web@1.0.68 csf: `csf src/**/*.es.js test/**/*.es.js`
<?xml version="1.0"?>
<suppressions>
<source-check>
<suppress checks="BNDExportsCheck" files=".*" />
</source-check>
</suppressions>
<?xml version="1.0"?>
<suppressions>
<source-check>
<suppress checks="BNDExportsCheck" files=".*" />
</source-check>
</suppressions>
P:/project/lfeemp/portal/modules/private/apps/commerce/commerce-theme-customer-portal (11:41:19) [lfeemp]
> lfeemp-gradlew clean npmInstall
Download https://cdn.lfrs.sl/repository.liferay.com/nexus/content/groups/public/com/liferay/com.liferay.gradle.plugins.defaults/5.3.37/com.liferay.gradle.plugins.defaults-5.3.37.pom
Download https://cdn.lfrs.sl/repository.liferay.com/nexus/content/groups/public/com/liferay/com.liferay.gradle.plugins/3.9.4/com.liferay.gradle.plugins-3.9.4.pom
Download https://cdn.lfrs.sl/repository.liferay.com/nexus/content/groups/public/com/liferay/com.liferay.gradle.plugins.jsdoc/2.0.2/com.liferay.gradle.plugins.jsdoc-2.0.2.pom
Download https://cdn.lfrs.sl/repository.liferay.com/nexus/content/groups/public/commons-io/commons-io/1.4/commons-io-1.4.pom
Download https://cdn.lfrs.sl/repository.liferay.com/nexus/content/groups/public/org/apache/commons/commons-parent/7/commons-parent-7.pom
Download https://cdn.lfrs.sl/repository.liferay.com/nexus/content/groups/public/com/liferay/com.liferay.
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS