Global Installation error
See original GitHub issueGeneral Information
- Usage
- Development
- Documentation
- Feature Request
Specific generator
- Addons
- HandlebarsJS
What Version you are running?
- NodeJS: 10.9.0
- NPM: 6.2.0
####Getting a Global installation error
Error: ENOENT: no such file or directory, mkdir ‘…\AppData\Roaming\npm\node_modules@pnp\node_modules@microsoft\generator-sharepoint\lib\generators\applicationCustomizer\templates\react’ at Object.mkdirSync (fs.js:757:3) at Object.<anonymous> (…\AppData\Roaming\npm\node_modules@pnp\generator-spfx\lib\patch.js:175:8) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions…js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Function.Module.runMain (internal/modules/cjs/loader.js:831:12) at startup (internal/bootstrap/node.js:283:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3) npm WARN notsup Unsupported engine for got@5.7.1: wanted: {“node”:“>=0.10.0 <7”} (current: {“node”:“10.18.0”,“npm”:“6.13.4”}) npm WARN notsup Not compatible with your version of node/npm: got@5.7.1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @pnp/generator-spfx@1.10.3-alpha10 postinstall: node lib/patch.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @pnp/generator-spfx@1.10.3-alpha10 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:12 (4 by maintainers)

Top Related StackOverflow Question
Great! working fine
Downgrading to 1.10.2 worked for me