Node 12+ required to run the extension locally
See original GitHub issueHello there,
just noticed that a recent change from https://github.com/sindresorhus/refined-github/pull/3171 is making the extension runable only on Node 12+.
I reckon this is coming from the use of Object.fromEntries in webpack.config.ts
(i.e. https://github.com/sindresorhus/refined-github/blame/fe806803b0a6cc6e473e5e10d00a00fb5571a178/webpack.config.ts#L51 or https://github.com/sindresorhus/refined-github/blame/fe806803b0a6cc6e473e5e10d00a00fb5571a178/webpack.config.ts#L98).
I couldn’t see any mention of that requirement anywhere, so I wondered if it had been done on purpose? If it wasn’t, maybe it’s worth a note somewhere (or we could add an engines
property in the package.json
for example)?
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Visual Studio Code to use node version specified by NVM
I have 6.9.2 installed locally. Even after switching to another version, from the OS X terminal (not the VS Code terminal), restarting VS...
Read more >Install Node.js, npm, and VS Code - IBM Developer
This tutorial shows you 3 different ways to install the Node.js runtime and the Node.js package manager, npm: from the Node.js download page ......
Read more >Extension Host - Visual Studio Code
Node.js - Extensions are running in a Node.js runtime. Used by the local and remote extension hosts. Extensions need a main entry file...
Read more >CommonJS modules | Node.js v19.3.0 Documentation
When a file is run directly from Node.js, require.main is set to its module . That means that it is possible to determine...
Read more >Extensions — JupyterLab 3.6.0b0 documentation
Source extensions require Node.js to rebuild JupyterLab and activate the extension. If you use conda with conda-forge packages, you can get Node.js with:....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
To me, a simple
Requirements
section or notice somewhere on thecontributing.md
file would be enough. It’s just so people who’d like to contribute don’t get stuck because of that error. Maybe just beforeNotions
?I’m happy to open up a PR if you’re ok with that.
https://github.com/sindresorhus/refined-github/blob/master/.github/workflows/test.yml#L25