掲示板

Issue in theme creation for Liferay 7

8年前 に Paramita Nandi によって更新されました。

Issue in theme creation for Liferay 7

New Member 投稿: 23 参加年月日: 12/03/05 最新の投稿
Failed to execute the command : npm install -g generator-liferay-theme

The error is:
npm WARN deprecated CSSselect@0.4.1: the module is now available as 'css-select'
npm WARN deprecated CSSwhat@0.4.7: the module is now available as 'css-what'
npm WARN deprecated lodash@1.0.2: lodash@<2.0.0 is no longer maintained. Upgrade to lodash@^3.0.0

> buffertools@2.1.3 install C:\Users\474192\AppData\Roaming\npm\node_modules\generator-liferay-theme\node_modules\buffertools
> node-gyp rebuild

C:\Users\474192\AppData\Roaming\npm\node_modules\generator-liferay-theme\node_modules\buffertools>if not defined npm_config_node_gyp (node "C:\Users\474192\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gy
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: self signed certificate in certificate chain
gyp ERR! stack at Error (native)
gyp ERR! stack at TLSSocket.<anonymous> (_tls_wrap.js:1003:38)
gyp ERR! stack at emitNone (events.js:67:13)
gyp ERR! stack at TLSSocket.emit (events.js:166:7)
gyp ERR! stack at TLSSocket._finishInit (_tls_wrap.js:570:8)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "D:\\Program Files\\nodejs\\node.exe" "C:\\Users\\474192\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\474192\AppData\Roaming\npm\node_modules\generator-liferay-theme\node_modules\buffertools
gyp ERR! node -v v4.2.2
gyp ERR! node-gyp -v v3.2.1
gyp ERR! not ok
npm WARN install:buffertools@2.1.3 buffertools@2.1.3 install: `node-gyp rebuild`
npm WARN install:buffertools@2.1.3 Exit status 1

> unicode@0.6.1 postinstall C:\Users\474192\AppData\Roaming\npm\node_modules\generator-liferay-theme\node_modules\unicode
> node install.js

try to read file /usr/share/unicode/UnicodeData.txt .
Warning: using slow naiv Buffer.indexOf function!
`npm install buffertools` to speed things up.
/usr/share/unicode/UnicodeData.txt not found.
try to read file /usr/share/unicode-data/UnicodeData.txt .
/usr/share/unicode-data/UnicodeData.txt not found.
try to read file UnicodeData.txt .
UnicodeData.txt not found.
try to download .
GET unicode.org:80/Public/UNIDATA/UnicodeData.txt
Error while downloading UnicodeData.txt: Error: connect ECONNREFUSED 216.97.88.9:80
Please download file manually, put it next to the install.js file and run `node install.js` again.
C:\Users\474192\AppData\Roaming\npm
└── (empty)

npm WARN generator-liferay-theme@7.0.19 requires a peer of gulp@>=3.5.0 but none was installed.
npm WARN generator-liferay-theme@7.0.19 requires a peer of yo@>=1.0.0 but none was installed.
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "D:\\Program Files\\nodejs\\node.exe" "C:\\Users\\474192\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "generator-liferay-theme"
npm ERR! node v4.2.2
npm ERR! npm v3.5.3
npm ERR! code ELIFECYCLE

npm ERR! unicode@0.6.1 postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the unicode@0.6.1 postinstall script 'node install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the unicode package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs unicode
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls unicode
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\474192\npm-debug.log
npm ERR! code 1


Any idea?
thumbnail
8年前 に Juan Gonzalez によって更新されました。

Move to more appropiate category

Liferay Legend 投稿: 3089 参加年月日: 08/10/28 最新の投稿
Move to more appropiate category
thumbnail
8年前 に Wouter Vernaillen によって更新されました。

RE: Issue in theme creation for Liferay 7

Junior Member 投稿: 80 参加年月日: 09/06/06 最新の投稿
I also had issues installing it on Windows, and still wasn't able to fix it. The big problem is that node-gyp requires Python and Visual Studio to be installed, but even after I installed doesn't work emoticon

I had no issues on my Mac though emoticon
thumbnail
8年前 に Wouter Vernaillen によって更新されました。

RE: Issue in theme creation for Liferay 7

Junior Member 投稿: 80 参加年月日: 09/06/06 最新の投稿
You migth want to check out the links on the github page under usage on windows.