I have faced below error when I am trying to create Oracle JET application using yeoman generator
yo oraclejet JETWebApp --template=basic
bower requirejs#2.1.16 ETIMEDOUT Request to https://bower.herokuapp.com/packages/requirejs failed: connect ETIMEDO
Solution : we need to add proxy to bower using “ .bowerrc” file.
the content of the “.bowerrc” files is as follows
{
"proxy": "http://www-proxy.us.test.com:80",
"https-proxy": "http://www-proxy.us.test.com:80",
"strict-ssl": false
}
provide your proxy value for proxy as shown above.
It should be in JSON format
And this files needs to be placed in the root directory where you create Oracle JET application. For example, say you have chosen, d:JET/Example to create your Oracle JET application then .bowerrc file needs to be under Example folder
Hope this helps!
No comments:
Post a Comment