We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15cfeb4 commit c466d32Copy full SHA for c466d32
1 file changed
index.js
@@ -1,4 +1,4 @@
1
-if (typeof process !== 'undefined' && parseInt(process.versions.node.split('.')[0]) < 18) {
+if (typeof process !== 'undefined' && !process.browser && process.platform !== 'browser' && parseInt(process.versions.node.split('.')[0]) < 18) {
2
console.error('Your node version is currently', process.versions.node)
3
console.error('Please update it to a version >= 18.x.x from https://nodejs.org/')
4
process.exit(1)
0 commit comments