question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Global Installation error

See original GitHub issue

General 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:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
fussionlabcommented, Jan 20, 2020

Should be fixed in v1.11.0 can someone of you confirm please? Thank you.

Great! working fine

1reaction
govinddk4444commented, Jan 17, 2020

Downgrading to 1.10.2 worked for me

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error using create-react-app. We no longer support global ...
We no longer support global installation of Create React App. I tried npx create-react-app@5.0.1 React-app , but it didnt work as well. I ......
Read more >
Create React App cannot create new applications: No longer ...
Learn how to resolve We no longer support global installation of Create React App error.
Read more >
We no longer support global installation of Create React App
Get above error, app not created. Try removing global install as per the given instructions with npm uninstall -g create-react-app; Has no ...
Read more >
Resolving EACCES permissions errors when installing ...
If you see an EACCES error when you try to install a package globally, you can either: Reinstall npm with a node version...
Read more >
[Solved] We no longer support global installation of Create ...
How This Error Occurs ? · How To Solve We no longer support global installation of Create React App Error ? · Solution...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found