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
Waiting for the debugger to disconnect...
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^
[Failed to load PostCSS config: Failed to load PostCSS config (searchPath: C:/Users/srini/OneDrive/Desktop/block_chain/project/web3.o/test): [ReferenceError] require is not defined in ES module scope, you can use import instead
This file is being treated as an ES module because it has a '.js' file extension and 'C:\Users\srini\OneDrive\Desktop\block_chain\project\web3.o\test\package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.
ReferenceError: require is not defined in ES module scope, you can use import instead
This file is being treated as an ES module because it has a '.js' file extension and 'C:\Users\srini\OneDrive\Desktop\block_chain\project\web3.o\test\package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.
at file:///C:/Users/srini/OneDrive/Desktop/block_chain/project/web3.o/test/postcss.config.js:1:21
at ModuleJob.run (node:internal/modules/esm/module_job:217:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
at async importDefault (file:///C:/Users/srini/OneDrive/Desktop/block_chain/project/web3.o/test/node_modules/vite/dist/node/chunks/dep-ErEj4WmL.js:35961:18)
at async Object.search (file:///C:/Users/srini/OneDrive/Desktop/block_chain/project/web3.o/test/node_modules/vite/dist/node/chunks/dep-ErEj4WmL.js:28397:38)]
Node.js v20.9.0
Waiting for the debugger to disconnect...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Waiting for the debugger to disconnect...
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^
[Failed to load PostCSS config: Failed to load PostCSS config (searchPath: C:/Users/srini/OneDrive/Desktop/block_chain/project/web3.o/test): [ReferenceError] require is not defined in ES module scope, you can use import instead
This file is being treated as an ES module because it has a '.js' file extension and 'C:\Users\srini\OneDrive\Desktop\block_chain\project\web3.o\test\package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.
ReferenceError: require is not defined in ES module scope, you can use import instead
This file is being treated as an ES module because it has a '.js' file extension and 'C:\Users\srini\OneDrive\Desktop\block_chain\project\web3.o\test\package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.
at file:///C:/Users/srini/OneDrive/Desktop/block_chain/project/web3.o/test/postcss.config.js:1:21
at ModuleJob.run (node:internal/modules/esm/module_job:217:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
at async importDefault (file:///C:/Users/srini/OneDrive/Desktop/block_chain/project/web3.o/test/node_modules/vite/dist/node/chunks/dep-ErEj4WmL.js:35961:18)
at async Object.search (file:///C:/Users/srini/OneDrive/Desktop/block_chain/project/web3.o/test/node_modules/vite/dist/node/chunks/dep-ErEj4WmL.js:28397:38)]
Node.js v20.9.0
Waiting for the debugger to disconnect...
probably due to the postcss.config.js
Beta Was this translation helpful? Give feedback.
All reactions