I get an error when running the npx command

Hi…when I run this command…

npx @mondaydotcomorg/monday-cli@latest scaffold run ./ quickstart-react -t item-view-10086528

I get this error…

internal/modules/cjs/loader.js:883
[1]   throw err;
[1]   ^
[1]
[1] Error: Cannot find module 'node:net'
[1] Require stack:
[1] - /Users/me/code/quickstart-react/node_modules/@mondaydotcomorg/tunnel/src/lib/TunnelCluster.js
[1] - /Users/me/code/quickstart-react/node_modules/@mondaydotcomorg/tunnel/src/lib/TunnelConnection.js
[1] - /Users/me/code/quickstart-react/node_modules/@mondaydotcomorg/tunnel/src/lib/createTunnel.js
[1] - /Users/me/code/quickstart-react/node_modules/@mondaydotcomorg/tunnel/src/cli.js
[1]     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
[1]     at Function.Module._load (internal/modules/cjs/loader.js:725:27)
[1]     at Module.require (internal/modules/cjs/loader.js:952:19)
[1]     at require (internal/modules/cjs/helpers.js:88:18)
[1]     at Object.<anonymous> (/Users/me/code/quickstart-react/node_modules/@mondaydotcomorg/tunnel/src/lib/TunnelCluster.js:5:44)
[1]     at Module._compile (internal/modules/cjs/loader.js:1063:30)
[1]     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
[1]     at Module.load (internal/modules/cjs/loader.js:928:32)
[1]     at Function.Module._load (internal/modules/cjs/loader.js:769:14)
[1]     at Module.require (internal/modules/cjs/loader.js:952:19) {
[1]   code: 'MODULE_NOT_FOUND',
[1]   requireStack: [
[1]     '/Users/me/code/quickstart-react/node_modules/@mondaydotcomorg/tunnel/src/lib/TunnelCluster.js',
[1]     '/Users/me/code/quickstart-react/node_modules/@mondaydotcomorg/tunnel/src/lib/TunnelConnection.js',
[1]     '/Users/me/code/quickstart-react/node_modules/@mondaydotcomorg/tunnel/src/lib/createTunnel.js',
[1]     '/Users/me/code/quickstart-react/node_modules/@mondaydotcomorg/tunnel/src/cli.js'
[1]   ]
[1] }

I’m running npm v9.7.1. Any suggestions on how to resolve this?

Hello there @pbergmans,

This looks like an environment issue.

I have not seen it before but I found a few links that might have an insight on how to tackle this:

Please let me know if that helps!

Cheers,
Matias