Categories
Mastering Development

ERROR in Entry module not found: Error: Can’t resolve ‘index.js’ in ‘C:\Users\dell\Desktop\projet_folder_js’

I am facing path issue and not understanding it package.json file { “name”: “projet_folder_js”, “version”: “1.0.0”, “description”: “”, “main”: “index.js”, “scripts”: { “dev”: “webpack” }, “author”: “”, “license”: “ISC”, “devDependencies”: { “webpack”: “^4.43.0”, “webpack-cli”: “^3.3.11” } } webpack.config.js file const path = require(“path”); module.exports = { entry: “index.js”, output: { path: path.resolve(__dirname), filename: “output.js”, }, […]