Professional Documents
Culture Documents
FAQ'S
FAQ'S
Questions Answers
1. Getting error when run the backend Steps to resolve this error:
application
1) Create a database in MySQL using the
java.sql.SQLException: Access denied command: create database upgradpg
for user 'root'@'localhost' (using
password: YES) 2)Navigate to
Error starting ApplicationContext. To upstac-api-stub\src\main\resources\applic
display the conditions report re-run ation.properties.
your application with 'debug' enabled.
3)Change the value of username and
password according to MySQL
workbench.
3. Getting error in installing yarn via This error happens due to a security policy
power shell that won't let scripts be executed on your
system without you having approved of it.
error ; You can do so by opening up a
PowerShell window with administrative
PS C:\Users\LENOVO> yarn install rights (search for PowerShell in the main
menu and select Run as administrator
yarn : File from the context menu) and run command:
C:\Users\LENOVO\AppData\Roaming\
npm\yarn.ps1 cannot be loaded set-executionpolicy remotesigned
because running scripts is disabled on
this
system. For more information, see
about_Execution_Policies at
https:/go.microsoft.com/fwlink/?LinkID=
135170.
At line:1 char:1
+ yarn install
+ ~~~~
+ CategoryInfo : SecurityError:
(:) [], PSSecurityException
+ FullyQualifiedErrorId :
UnauthorizedAccess
https://learn.upgrad.com/v/course/1128/se
ssion/131211/segment/717550
5. Failed to compile.
./src/items.scss Could you try the following
(./node_modules/css-loader/dist/cjs.js? 1. Delete the package-lock.json file in
?ref--6-oneOf-5-1!./node_modules/post your UI folder
css-loader/src??postcss!./node_modul 2. Run the command yarn install
es/resolve-url-loader??ref--6-oneOf-5- 3. Run the UI application yarn start
3!./node_modules/sass-loader/dist/cjs.j
s??ref--6-oneOf-5-4!./src/items.scss)
Error: Cannot find module
'E:\upg\upstac-ui\node_modules\d\inde
x.js'. Please verify that the
package.json has a valid "main" entry