You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
X [ERROR] A request to the Cloudflare API (/accounts/0d969c14a060ee9242ee242924c962fc/workers/scripts/fruitslots/versions) failed.
Uncaught ReferenceError: __dirname is not defined
at null.
(file:///C:/Cludflare/fruitslots/node_modules/@deno/shim-deno/dist/deno/stable/variables/mainModule.js:8:173)
in node_modules/@deno/shim-deno/dist/deno/stable/variables/mainModule.js
at null. (index.js:32:50) in __require2
at null.
(file:///C:/Cludflare/fruitslots/node_modules/@deno/shim-deno/dist/deno/stable/variables.js:37:23)
in node_modules/@deno/shim-deno/dist/deno/stable/variables.js
at null. (index.js:32:50) in __require2
at null.
(file:///C:/Cludflare/fruitslots/node_modules/@deno/shim-deno/dist/deno/stable/functions.js:10:24)
in node_modules/@deno/shim-deno/dist/deno/stable/functions.js
at null. (index.js:32:50) in __require2
at null.
(file:///C:/Cludflare/fruitslots/node_modules/@deno/shim-deno/dist/deno/stable/main.js:19:14) in
node_modules/@deno/shim-deno/dist/deno/stable/main.js
at null. (index.js:32:50) in __require2
at null.
(file:///C:/Cludflare/fruitslots/node_modules/@deno/shim-deno/dist/deno.js:17:14) in
node_modules/@deno/shim-deno/dist/deno.js
at null. (index.js:32:50) in __require2
[code: 10021]
The text was updated successfully, but these errors were encountered:
This is caused by Node support. You actually need to use the Deno version instead. This requires a new build process which we are going to introduce to all plugins anyway. It will take some time.
Temp workaround for me:
Delete @deno folder from node_modules and package.json dependencies
and comment out all code in _dnt.shims.js
Coz don't wanna harden my project with heavy unnecessary extra large code-base.
Cloudflare workers count every extra ram and cpu usage.
Thank You for file You sent but it miss I18nFlavor so i decide to go this way.
Need a version without Deno support:
npx wrangler deploy
⛅️ wrangler 3.90.0
Total Upload: 724.11 KiB / gzip: 114.80 KiB
X [ERROR] A request to the Cloudflare API (/accounts/0d969c14a060ee9242ee242924c962fc/workers/scripts/fruitslots/versions) failed.
Uncaught ReferenceError: __dirname is not defined
at null.
(file:///C:/Cludflare/fruitslots/node_modules/@deno/shim-deno/dist/deno/stable/variables/mainModule.js:8:173)
in node_modules/@deno/shim-deno/dist/deno/stable/variables/mainModule.js
at null. (index.js:32:50) in __require2
at null.
(file:///C:/Cludflare/fruitslots/node_modules/@deno/shim-deno/dist/deno/stable/variables.js:37:23)
in node_modules/@deno/shim-deno/dist/deno/stable/variables.js
at null. (index.js:32:50) in __require2
at null.
(file:///C:/Cludflare/fruitslots/node_modules/@deno/shim-deno/dist/deno/stable/functions.js:10:24)
in node_modules/@deno/shim-deno/dist/deno/stable/functions.js
at null. (index.js:32:50) in __require2
at null.
(file:///C:/Cludflare/fruitslots/node_modules/@deno/shim-deno/dist/deno/stable/main.js:19:14) in
node_modules/@deno/shim-deno/dist/deno/stable/main.js
at null. (index.js:32:50) in __require2
at null.
(file:///C:/Cludflare/fruitslots/node_modules/@deno/shim-deno/dist/deno.js:17:14) in
node_modules/@deno/shim-deno/dist/deno.js
at null. (index.js:32:50) in __require2
[code: 10021]
The text was updated successfully, but these errors were encountered: