As a developer, I want to generate scaffolding for a Sitecore site so that i can develop a new site
Expected behavior
When i run yo helix i expect the scaffolding of the site to generate
Actual behavior
Throws error
Steps to reproduce the behavior
run yo helix
I am using
node v 16.13.2
npm v 8.3.2
yo v 4.3.0
When i run the generator selecting
What type of solution do you want to create? Helix solution with Pentia tools
? Would you like to auto-install Pentia tools? Yes
? Name of your Helix solution testHelix
? Source code folder name src
? Choose target .net framework version? .net 4.7.2
I get an error:
npm ERR! code 1
npm ERR! path C:\temp\sitcore\nodemodules\@pentia\sitecore-package-manager
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node ./copy-config.js
npm ERR! fs.js:47
npm ERR! } = primordials;
npm ERR! ^
npm ERR!
npm ERR! ReferenceError: primordials is not defined
npm ERR! at fs.js:47:5
npm ERR! at req (C:\temp\sitcore\node_modules\natives\index.js:143:24)
npm ERR! at Object.req [as require] (C:\temp\sitcore\node_modules\natives\index.js:55:10)
npm ERR! at Object. (C:\temp\sitcore\node_modules\vinyl-fs\node_modules\graceful-fs\fs.js:1:37)
npm ERR! at Module._compile (node:internal/modules/cjs/loader:1101:14)
npm ERR! at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
npm ERR! at Module.load (node:internal/modules/cjs/loader:981:32)
npm ERR! at Function.Module._load (node:internal/modules/cjs/loader:822:12)
npm ERR! at Module.require (node:internal/modules/cjs/loader:1005:19)
npm ERR! at require (node:internal/modules/cjs/helpers:102:18)
npm ERR! A complete log of this run can be found in:
User story
As a developer, I want to generate scaffolding for a Sitecore site so that i can develop a new site
Expected behavior
When i run yo helix i expect the scaffolding of the site to generate
Actual behavior
Throws error
Steps to reproduce the behavior
run yo helix
I am using node v 16.13.2 npm v 8.3.2 yo v 4.3.0 When i run the generator selecting What type of solution do you want to create? Helix solution with Pentia tools ? Would you like to auto-install Pentia tools? Yes ? Name of your Helix solution testHelix ? Source code folder name src ? Choose target .net framework version? .net 4.7.2
I get an error: npm ERR! code 1 npm ERR! path C:\temp\sitcore\nodemodules\@pentia\sitecore-package-manager npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node ./copy-config.js npm ERR! fs.js:47 npm ERR! } = primordials; npm ERR! ^ npm ERR! npm ERR! ReferenceError: primordials is not defined npm ERR! at fs.js:47:5 npm ERR! at req (C:\temp\sitcore\node_modules\natives\index.js:143:24) npm ERR! at Object.req [as require] (C:\temp\sitcore\node_modules\natives\index.js:55:10) npm ERR! at Object. (C:\temp\sitcore\node_modules\vinyl-fs\node_modules\graceful-fs\fs.js:1:37)
npm ERR! at Module._compile (node:internal/modules/cjs/loader:1101:14)
npm ERR! at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
npm ERR! at Module.load (node:internal/modules/cjs/loader:981:32)
npm ERR! at Function.Module._load (node:internal/modules/cjs/loader:822:12)
npm ERR! at Module.require (node:internal/modules/cjs/loader:1005:19)
npm ERR! at require (node:internal/modules/cjs/helpers:102:18)
npm ERR! A complete log of this run can be found in:
I have attached the error log
Thank you
2022-02-04T15_51_56_325Z-debug-0.log