I install Gatsbyjs using:
npm install -g gatsby-cli
It installs and then when I try to create a new site it shows some error.
I have tried gastsby new gatsby-site but it shows some errors:
PS C:\Users\Klawnny\Dropbox\ecommerce with react> npm install -g gatsby-cli C:\Users\Klawnny\AppData\Roaming\npm\gatsby -> C:\Users\Klawnny\AppData\Roaming\npm\node_modules\gatsby-cli\lib\index.js
> [email protected] postinstall C:\Users\Klawnny\AppData\Roaming\npm\node_modules\gatsby-cli > node scripts/postinstall.js
+ [email protected] updated 1 package in 46.004s PS C:\Users\Klawnny\Dropbox\ecommerce with react> gatsby new lcoproject
File C:\Users\Klawnny\AppData\Roaming\npm\gatsby.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help about_signing" for more details. At line:1 char:7 + gatsby <<<< new lcoproject + CategoryInfo : NotSpecified: (:) [], PSSecurityException + FullyQualifiedErrorId : RuntimeException
I expected it to create the project but it shows this.