# Problem with parcel build index.html

**URL:** <https://forum.codewithmosh.com/t/problem-with-parcel-build-index-html/6216>\
**Category:** HTML/CSS\
**Created:** [July 19, 2021, 7:42am UTC](https://forum.codewithmosh.com/t/problem-with-parcel-build-index-html/6216 "2021-07-19T07:42:18Z")\
**Posts on this page:** 15\
**Page:** 3

<div class="post-metadata">

**Author:** ![sufian.babri](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/sufian.babri/32/1028_2.png) [@sufian.babri](https://forum.codewithmosh.com/u/sufian.babri)\
**Post date:** [October 25, 2023, 6:23pm UTC](https://forum.codewithmosh.com/t/problem-with-parcel-build-index-html/6216/43 "2023-10-25T18:23:06Z")

</div>

Make sure haven’t changed anything other than what I pointed out.

If it still shows the same error, put the contents of the package.json file in the code block.

---

<div class="post-metadata">

**Author:** ![MPZ](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@MPZ](https://forum.codewithmosh.com/u/MPZ)\
**Post date:** [October 25, 2023, 6:24pm UTC](https://forum.codewithmosh.com/t/problem-with-parcel-build-index-html/6216/44 "2023-10-25T18:24:49Z")

</div>

I didn’t change anything else

```auto
{
  "name": "moshify",
  "version": "1.0.0",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "parcel-bundler": "^1.12.4"
  },
  "dependencies": {
    "abab": "^2.0.6",
    "acorn": "^7.4.1",
    "acorn-globals": "^4.3.4",
    "acorn-walk": "^6.2.0",
    "ajv": "^6.12.6",
    "alphanum-sort": "^1.0.2",
    "ansi-regex": "^3.0.1",
    "ansi-styles": "^3.2.1",
    "ansi-to-html": "^0.6.15",
    "anymatch": "^2.0.0",
    "argparse": "^1.0.10",
    "arr-diff": "^4.0.0",
    "arr-flatten": "^1.1.0",
    "arr-union": "^3.1.0",
    "array-buffer-byte-length": "^1.0.0",
    "array-equal": "^1.0.0",
    "array-unique": "^0.3.2",
    "array.prototype.reduce": "^1.0.6",
    "arraybuffer.prototype.slice": "^1.0.2",
    "asn1": "^0.2.6",
    "asn1.js": "^5.4.1",
    "assert": "^1.5.1",
    "assert-plus": "^1.0.0",
    "assign-symbols": "^1.0.0",
    "async-each": "^1.0.6",
    "async-limiter": "^1.0.1",
    "asynckit": "^0.4.0",
    "atob": "^2.1.2",
    "available-typed-arrays": "^1.0.5",
    "aws-sign2": "^0.7.0",
    "aws4": "^1.12.0",
    "babel-plugin-polyfill-corejs2": "^0.4.6",
    "babel-plugin-polyfill-corejs3": "^0.8.6",
    "babel-plugin-polyfill-regenerator": "^0.5.3",
    "babel-runtime": "^6.26.0",
    "babel-types": "^6.26.0",
    "babylon-walk": "^1.0.2",
    "balanced-match": "^1.0.2",
    "base": "^0.11.2",
    "base64-js": "^1.5.1",
    "bcrypt-pbkdf": "^1.0.2",
    "binary-extensions": "^1.13.1",
    "bindings": "^1.5.0",
    "bn.js": "^5.2.1",
    "boolbase": "^1.0.0",
    "brace-expansion": "^1.1.11",
    "braces": "^2.3.2",
    "brfs": "^1.6.1",
    "brorand": "^1.1.0",
    "browser-process-hrtime": "^1.0.0",
    "browserify-aes": "^1.2.0",
    "browserify-cipher": "^1.0.1",
    "browserify-des": "^1.0.2",
    "browserify-rsa": "^4.1.0",
    "browserify-sign": "^4.2.1",
    "browserify-zlib": "^0.2.0",
    "browserslist": "^4.22.1",
    "buffer": "^4.9.2",
    "buffer-equal": "^0.0.1",
    "buffer-from": "^1.1.2",
    "buffer-xor": "^1.0.3",
    "builtin-status-codes": "^3.0.0",
    "cache-base": "^1.0.1",
    "call-bind": "^1.0.5",
    "call-me-maybe": "^1.0.2",
    "caller-callsite": "^2.0.0",
    "caller-path": "^2.0.0",
    "callsites": "^2.0.0",
    "caniuse-api": "^3.0.0",
    "caniuse-lite": "^1.0.30001553",
    "caseless": "^0.12.0",
    "chalk": "^2.4.2",
    "chokidar": "^2.1.8",
    "cipher-base": "^1.0.4",
    "class-utils": "^0.3.6",
    "cli-cursor": "^2.1.0",
    "cli-spinners": "^1.3.1",
    "clone": "^2.1.2",
    "coa": "^2.0.2",
    "collection-visit": "^1.0.0",
    "color": "^3.2.1",
    "color-convert": "^1.9.3",
    "color-name": "^1.1.3",
    "color-string": "^1.9.1",
    "combined-stream": "^1.0.8",
    "command-exists": "^1.2.9",
    "commander": "^2.20.3",
    "component-emitter": "^1.3.0",
    "concat-map": "^0.0.1",
    "concat-stream": "^1.6.2",
    "console-browserify": "^1.2.0",
    "constants-browserify": "^1.0.0",
    "convert-source-map": "^2.0.0",
    "copy-descriptor": "^0.1.1",
    "core-js": "^2.6.12",
    "core-js-compat": "^3.33.1",
    "core-util-is": "^1.0.3",
    "cosmiconfig": "^5.2.1",
    "create-ecdh": "^4.0.4",
    "create-hash": "^1.2.0",
    "create-hmac": "^1.1.7",
    "cross-spawn": "^6.0.5",
    "crypto-browserify": "^3.12.0",
    "css-color-names": "^0.0.4",
    "css-declaration-sorter": "^7.1.1",
    "css-modules-loader-core": "^1.1.0",
    "css-select": "^5.1.0",
    "css-select-base-adapter": "^0.1.1",
    "css-selector-tokenizer": "^0.7.3",
    "css-tree": "^1.0.0-alpha.37",
    "css-what": "^3.4.2",
    "cssesc": "^3.0.0",
    "cssnano": "^6.0.1",
    "cssnano-preset-default": "^6.0.1",
    "cssnano-util-get-arguments": "^4.0.0",
    "cssnano-util-get-match": "^4.0.0",
    "cssnano-util-raw-cache": "^4.0.1",
    "cssnano-util-same-parent": "^4.0.1",
    "csso": "^4.2.0",
    "cssom": "^0.3.8",
    "cssstyle": "^1.4.0",
    "dashdash": "^1.14.1",
    "data-urls": "^1.1.0",
    "deasync": "^0.1.29",
    "debug": "^4.3.4",
    "decode-uri-component": "^0.2.2",
    "deep-is": "^0.1.4",
    "defaults": "^1.0.4",
    "define-data-property": "^1.1.1",
    "define-properties": "^1.2.1",
    "define-property": "^2.0.2",
    "delayed-stream": "^1.0.0",
    "depd": "^2.0.0",
    "des.js": "^1.1.0",
    "destroy": "^1.2.0",
    "diffie-hellman": "^5.0.3",
    "dom-serializer": "^0.2.2",
    "domain-browser": "^1.2.0",
    "domelementtype": "^1.3.1",
    "domexception": "^1.0.1",
    "domhandler": "^2.4.2",
    "domutils": "^1.7.0",
    "dot-prop": "^5.3.0",
    "dotenv": "^5.0.1",
    "dotenv-expand": "^5.1.0",
    "duplexer2": "^0.1.4",
    "ecc-jsbn": "^0.1.2",
    "ee-first": "^1.1.1",
    "electron-to-chromium": "^1.4.566",
    "elliptic": "^6.5.4",
    "encodeurl": "^1.0.2",
    "entities": "^2.2.0",
    "envinfo": "^7.10.0",
    "error-ex": "^1.3.2",
    "es-abstract": "^1.22.3",
    "es-array-method-boxes-properly": "^1.0.0",
    "es-set-tostringtag": "^2.0.2",
    "es-to-primitive": "^1.2.1",
    "escalade": "^3.1.1",
    "escape-html": "^1.0.3",
    "escape-string-regexp": "^1.0.5",
    "escodegen": "^1.9.1",
    "esprima": "^4.0.1",
    "estraverse": "^4.3.0",
    "esutils": "^2.0.3",
    "etag": "^1.8.1",
    "events": "^3.3.0",
    "evp_bytestokey": "^1.0.3",
    "expand-brackets": "^2.1.4",
    "extend": "^3.0.2",
    "extend-shallow": "^2.0.1",
    "extglob": "^2.0.4",
    "extsprintf": "^1.3.0",
    "falafel": "^2.2.5",
    "fast-deep-equal": "^3.1.3",
    "fast-glob": "^2.2.7",
    "fast-json-stable-stringify": "^2.1.0",
    "fast-levenshtein": "^2.0.6",
    "fastparse": "^1.1.2",
    "file-uri-to-path": "^1.0.0",
    "filesize": "^3.6.1",
    "fill-range": "^4.0.0",
    "for-each": "^0.3.3",
    "for-in": "^1.0.2",
    "forever-agent": "^0.6.1",
    "form-data": "^2.3.3",
    "fragment-cache": "^0.2.1",
    "fresh": "^0.5.2",
    "fs.realpath": "^1.0.0",
    "fsevents": "^1.2.13",
    "function-bind": "^1.1.2",
    "function.prototype.name": "^1.1.6",
    "functions-have-names": "^1.2.3",
    "gensync": "^1.0.0-beta.2",
    "get-intrinsic": "^1.2.2",
    "get-port": "^3.2.0",
    "get-symbol-description": "^1.0.0",
    "get-value": "^2.0.6",
    "getpass": "^0.1.7",
    "glob": "^7.2.3",
    "glob-parent": "^3.1.0",
    "glob-to-regexp": "^0.3.0",
    "globals": "^11.12.0",
    "globalthis": "^1.0.3",
    "gopd": "^1.0.1",
    "graceful-fs": "^4.2.11",
    "grapheme-breaker": "^0.3.2",
    "har-schema": "^2.0.0",
    "har-validator": "^5.1.5",
    "has": "^1.0.4",
    "has-ansi": "^2.0.0",
    "has-bigints": "^1.0.2",
    "has-flag": "^3.0.0",
    "has-property-descriptors": "^1.0.1",
    "has-proto": "^1.0.1",
    "has-symbols": "^1.0.3",
    "has-tostringtag": "^1.0.0",
    "has-value": "^1.0.0",
    "has-values": "^1.0.0",
    "hash-base": "^3.1.0",
    "hash.js": "^1.1.7",
    "hasown": "^2.0.0",
    "hex-color-regex": "^1.1.0",
    "hmac-drbg": "^1.0.1",
    "hsl-regex": "^1.0.0",
    "hsla-regex": "^1.0.0",
    "html-encoding-sniffer": "^1.0.2",
    "html-tags": "^1.2.0",
    "htmlnano": "^2.1.0",
    "htmlparser2": "^3.10.1",
    "http-errors": "^2.0.0",
    "http-signature": "^1.2.0",
    "https-browserify": "^1.0.0",
    "iconv-lite": "^0.4.24",
    "icss-replace-symbols": "^1.1.0",
    "ieee754": "^1.2.1",
    "import-fresh": "^2.0.0",
    "indexes-of": "^1.0.1",
    "inflight": "^1.0.6",
    "inherits": "^2.0.4",
    "internal-slot": "^1.0.6",
    "is-absolute-url": "^2.1.0",
    "is-accessor-descriptor": "^1.0.0",
    "is-array-buffer": "^3.0.2",
    "is-arrayish": "^0.2.1",
    "is-bigint": "^1.0.4",
    "is-binary-path": "^1.0.1",
    "is-boolean-object": "^1.1.2",
    "is-buffer": "^1.1.6",
    "is-callable": "^1.2.7",
    "is-color-stop": "^1.1.0",
    "is-core-module": "^2.13.1",
    "is-data-descriptor": "^1.0.0",
    "is-date-object": "^1.0.5",
    "is-descriptor": "^1.0.2",
    "is-directory": "^0.3.1",
    "is-extendable": "^0.1.1",
    "is-extglob": "^2.1.1",
    "is-glob": "^4.0.3",
    "is-html": "^1.1.0",
    "is-negative-zero": "^2.0.2",
    "is-number": "^3.0.0",
    "is-number-object": "^1.0.7",
    "is-obj": "^2.0.0",
    "is-plain-object": "^2.0.4",
    "is-regex": "^1.1.4",
    "is-resolvable": "^1.1.0",
    "is-shared-array-buffer": "^1.0.2",
    "is-string": "^1.0.7",
    "is-symbol": "^1.0.4",
    "is-typed-array": "^1.1.12",
    "is-typedarray": "^1.0.0",
    "is-url": "^1.2.4",
    "is-weakref": "^1.0.2",
    "is-windows": "^1.0.2",
    "is-wsl": "^1.1.0",
    "isarray": "^1.0.0",
    "isexe": "^2.0.0",
    "isobject": "^3.0.1",
    "isstream": "^0.1.2",
    "js-tokens": "^4.0.0",
    "js-yaml": "^3.14.1",
    "jsbn": "^0.1.1",
    "jsdom": "^22.1.0",
    "jsesc": "^2.5.2",
    "json-parse-better-errors": "^1.0.2",
    "json-schema": "^0.4.0",
    "json-schema-traverse": "^0.4.1",
    "json-stringify-safe": "^5.0.1",
    "json5": "^1.0.2",
    "jsprim": "^1.4.2",
    "kind-of": "^3.2.2",
    "levn": "^0.3.0",
    "lodash": "^4.17.21",
    "lodash.clone": "^4.5.0",
    "lodash.debounce": "^4.0.8",
    "lodash.memoize": "^4.1.2",
    "lodash.sortby": "^4.7.0",
    "lodash.uniq": "^4.5.0",
    "log-symbols": "^2.2.0",
    "lru-cache": "^5.1.1",
    "magic-string": "^0.22.5",
    "map-cache": "^0.2.2",
    "map-visit": "^1.0.0",
    "md5.js": "^1.3.5",
    "mdn-data": "^2.0.4",
    "merge-source-map": "^1.0.4",
    "merge2": "^1.4.1",
    "micromatch": "^3.1.10",
    "miller-rabin": "^4.0.1",
    "mime": "^1.6.0",
    "mime-db": "^1.52.0",
    "mime-types": "^2.1.35",
    "mimic-fn": "^1.2.0",
    "minimalistic-assert": "^1.0.1",
    "minimalistic-crypto-utils": "^1.0.1",
    "minimatch": "^3.1.2",
    "minimist": "^1.2.8",
    "mixin-deep": "^1.3.2",
    "mkdirp": "^0.5.6",
    "ms": "^2.1.2",
    "nan": "^2.18.0",
    "nanomatch": "^1.2.13",
    "nice-try": "^1.0.5",
    "node-addon-api": "^1.7.2",
    "node-forge": "^0.7.6",
    "node-libs-browser": "^2.2.1",
    "node-releases": "^2.0.13",
    "normalize-path": "^3.0.0",
    "normalize-url": "^3.3.0",
    "nth-check": "^2.1.1",
    "nwsapi": "^2.2.7",
    "oauth-sign": "^0.9.0",
    "object-copy": "^0.1.0",
    "object-inspect": "^1.4.1",
    "object-keys": "^1.1.1",
    "object-visit": "^1.0.1",
    "object.assign": "^4.1.4",
    "object.getownpropertydescriptors": "^2.1.7",
    "object.pick": "^1.3.0",
    "object.values": "^1.1.7",
    "on-finished": "^2.4.1",
    "once": "^1.4.0",
    "onetime": "^2.0.1",
    "opn": "^5.5.0",
    "optionator": "^0.8.3",
    "ora": "^2.1.0",
    "os-browserify": "^0.3.0",
    "pako": "^1.0.11",
    "parse-asn1": "^5.1.6",
    "parse-json": "^4.0.0",
    "parse5": "^5.1.0",
    "parseurl": "^1.3.3",
    "pascalcase": "^0.1.1",
    "path-browserify": "^0.0.1",
    "path-dirname": "^1.0.2",
    "path-is-absolute": "^1.0.1",
    "path-key": "^2.0.1",
    "path-parse": "^1.0.7",
    "pbkdf2": "^3.1.2",
    "performance-now": "^2.1.0",
    "physical-cpu-count": "^2.0.0",
    "picocolors": "^0.2.1",
    "pn": "^1.1.0",
    "posix-character-classes": "^0.1.1",
    "postcss": "^7.0.39",
    "postcss-calc": "^9.0.1",
    "postcss-colormin": "^6.0.0",
    "postcss-convert-values": "^6.0.0",
    "postcss-discard-comments": "^6.0.0",
    "postcss-discard-duplicates": "^6.0.0",
    "postcss-discard-empty": "^6.0.0",
    "postcss-discard-overridden": "^6.0.0",
    "postcss-merge-longhand": "^6.0.0",
    "postcss-merge-rules": "^6.0.1",
    "postcss-minify-font-values": "^6.0.0",
    "postcss-minify-gradients": "^6.0.0",
    "postcss-minify-params": "^6.0.0",
    "postcss-minify-selectors": "^6.0.0",
    "postcss-modules-extract-imports": "^3.0.0",
    "postcss-modules-local-by-default": "^4.0.3",
    "postcss-modules-scope": "^3.0.0",
    "postcss-modules-values": "^1.3.0",
    "postcss-normalize-charset": "^6.0.0",
    "postcss-normalize-display-values": "^6.0.0",
    "postcss-normalize-positions": "^6.0.0",
    "postcss-normalize-repeat-style": "^6.0.0",
    "postcss-normalize-string": "^6.0.0",
    "postcss-normalize-timing-functions": "^6.0.0",
    "postcss-normalize-unicode": "^6.0.0",
    "postcss-normalize-url": "^6.0.0",
    "postcss-normalize-whitespace": "^6.0.0",
    "postcss-ordered-values": "^6.0.0",
    "postcss-reduce-initial": "^6.0.0",
    "postcss-reduce-transforms": "^6.0.0",
    "postcss-selector-parser": "^6.0.13",
    "postcss-svgo": "^6.0.0",
    "postcss-unique-selectors": "^6.0.0",
    "postcss-value-parser": "^3.3.1",
    "posthtml": "^0.11.6",
    "posthtml-parser": "^0.4.2",
    "posthtml-render": "^1.4.0",
    "prelude-ls": "^1.1.2",
    "process": "^0.11.10",
    "process-nextick-args": "^2.0.1",
    "psl": "^1.9.0",
    "public-encrypt": "^4.0.3",
    "punycode": "^1.4.1",
    "purgecss": "^5.0.0",
    "q": "^1.5.1",
    "qs": "^6.5.3",
    "querystring-es3": "^0.2.1",
    "quote-stream": "^1.0.2",
    "randombytes": "^2.1.0",
    "randomfill": "^1.0.4",
    "range-parser": "^1.2.1",
    "readable-stream": "^2.3.8",
    "readdirp": "^2.2.1",
    "regenerate": "^1.4.2",
    "regenerate-unicode-properties": "^10.1.1",
    "regenerator-runtime": "^0.14.0",
    "regenerator-transform": "^0.15.2",
    "regex-not": "^1.0.2",
    "regexp.prototype.flags": "^1.5.1",
    "regexpu-core": "^5.3.2",
    "regjsparser": "^0.9.1",
    "relateurl": "^0.2.7",
    "remove-trailing-separator": "^1.1.0",
    "repeat-element": "^1.1.4",
    "repeat-string": "^1.6.1",
    "request": "^2.88.2",
    "request-promise-core": "^1.1.4",
    "request-promise-native": "^0.0.0",
    "resolve": "^1.22.8",
    "resolve-from": "^3.0.0",
    "resolve-url": "^0.2.1",
    "restore-cursor": "^2.0.0",
    "ret": "^0.1.15",
    "rgb-regex": "^1.0.1",
    "rgba-regex": "^1.0.0",
    "rimraf": "^2.7.1",
    "ripemd160": "^2.0.2",
    "safe-array-concat": "^1.0.1",
    "safe-buffer": "^5.2.1",
    "safe-regex": "^1.1.0",
    "safe-regex-test": "^1.0.0",
    "safer-buffer": "^2.1.2",
    "sax": "^1.2.4",
    "saxes": "^3.1.11",
    "semver": "^5.7.2",
    "send": "^0.18.0",
    "serialize-to-js": "^3.1.2",
    "serve-static": "^1.15.0",
    "set-function-length": "^1.1.1",
    "set-function-name": "^2.0.1",
    "set-value": "^2.0.1",
    "setimmediate": "^1.0.5",
    "setprototypeof": "^1.2.0",
    "sha.js": "^2.4.11",
    "shallow-copy": "^0.0.1",
    "shebang-command": "^1.2.0",
    "shebang-regex": "^1.0.0",
    "side-channel": "^1.0.4",
    "signal-exit": "^3.0.7",
    "simple-swizzle": "^0.2.2",
    "snapdragon": "^0.8.2",
    "snapdragon-node": "^2.1.1",
    "snapdragon-util": "^3.0.1",
    "source-map": "^0.6.1",
    "source-map-resolve": "^0.5.3",
    "source-map-support": "^0.5.21",
    "source-map-url": "^0.4.1",
    "split-string": "^3.1.0",
    "sprintf-js": "^1.0.3",
    "srcset": "^3.0.1",
    "sshpk": "^1.18.0",
    "stable": "^0.1.8",
    "static-eval": "^2.1.0",
    "static-extend": "^0.1.2",
    "static-module": "^2.2.5",
    "statuses": "^2.0.1",
    "stealthy-require": "^1.1.1",
    "stream-browserify": "^2.0.2",
    "stream-http": "^2.8.3",
    "string_decoder": "^1.3.0",
    "string.prototype.trim": "^1.2.8",
    "string.prototype.trimend": "^1.0.7",
    "string.prototype.trimstart": "^1.0.7",
    "strip-ansi": "^4.0.0",
    "stylehacks": "^6.0.0",
    "supports-color": "^5.5.0",
    "supports-preserve-symlinks-flag": "^1.0.0",
    "svgo": "^3.0.2",
    "symbol-tree": "^3.2.4",
    "terser": "^3.17.0",
    "through2": "^2.0.5",
    "timers-browserify": "^2.0.12",
    "timsort": "^0.3.0",
    "tiny-inflate": "^1.0.3",
    "to-arraybuffer": "^1.0.1",
    "to-fast-properties": "^2.0.0",
    "to-object-path": "^0.3.0",
    "to-regex": "^3.0.2",
    "to-regex-range": "^2.1.1",
    "toidentifier": "^1.0.1",
    "tough-cookie": "^4.1.3",
    "tr46": "^1.0.1",
    "tty-browserify": "^0.0.0",
    "tunnel-agent": "^0.6.0",
    "tweetnacl": "^0.14.5",
    "type-check": "^0.3.2",
    "typed-array-buffer": "^1.0.0",
    "typed-array-byte-length": "^1.0.0",
    "typed-array-byte-offset": "^1.0.0",
    "typed-array-length": "^1.0.4",
    "typedarray": "^0.0.6",
    "unbox-primitive": "^1.0.2",
    "uncss": "^0.13.0",
    "unicode-canonical-property-names-ecmascript": "^2.0.0",
    "unicode-match-property-ecmascript": "^2.0.0",
    "unicode-match-property-value-ecmascript": "^2.1.0",
    "unicode-property-aliases-ecmascript": "^2.1.0",
    "unicode-trie": "^0.3.1",
    "union-value": "^1.0.1",
    "uniq": "^1.0.1",
    "uniqs": "^2.0.0",
    "unquote": "^1.1.1",
    "unset-value": "^1.0.0",
    "upath": "^1.2.0",
    "update-browserslist-db": "^1.0.13",
    "uri-js": "^4.4.1",
    "urix": "^0.1.0",
    "url": "^0.11.3",
    "use": "^3.1.1",
    "util": "^0.11.1",
    "util-deprecate": "^1.0.2",
    "util.promisify": "^1.0.1",
    "uuid": "^3.4.0",
    "v8-compile-cache": "^2.4.0",
    "vendors": "^1.0.4",
    "verror": "^1.10.0",
    "vlq": "^0.2.3",
    "vm-browserify": "^1.1.2",
    "w3c-hr-time": "^1.0.2",
    "w3c-xmlserializer": "^1.1.2",
    "wcwidth": "^1.0.1",
    "webidl-conversions": "^4.0.2",
    "whatwg-encoding": "^1.0.5",
    "whatwg-mimetype": "^2.3.0",
    "whatwg-url": "^7.1.0",
    "which": "^1.3.1",
    "which-boxed-primitive": "^1.0.2",
    "which-typed-array": "^1.1.13",
    "word-wrap": "^1.2.5",
    "wrappy": "^1.0.2",
    "ws": "^5.2.3",
    "xml-name-validator": "^3.0.0",
    "xmlchars": "^2.2.0",
    "xtend": "^4.0.2",
    "yallist": "^3.1.1"
  },
  "description": ""
}

```

---

<div class="post-metadata">

**Author:** ![sufian.babri](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/sufian.babri/32/1028_2.png) [@sufian.babri](https://forum.codewithmosh.com/u/sufian.babri)\
**Post date:** [October 25, 2023, 6:45pm UTC](https://forum.codewithmosh.com/t/problem-with-parcel-build-index-html/6216/45 "2023-10-25T18:45:17Z")

</div>

Are you sure you’re using all these packages? According to [this thread](https://github.com/parcel-bundler/parcel/discussions/6699), the error that you are getting is due to using babel plugins of different versions together.

My package.json looks pretty small:

```auto
{
	"name": "MyDomain",
	"version": "1.0.0",
	"description": "",
	"main": "index.js",
	"scripts": {
		"test": "echo \"Error: no test specified\" && exit 1"
	},
	"keywords": [],
	"author": "",
	"license": "ISC",
	"devDependencies": {
		"parcel-bundler": "^1.12.5"
	},
	"dependencies": {
		"parcel-plugin-ogimage": "^1.2.0"
	}
}

```

Try using this content (unless you know why you have such a big package.json file),  
then you need to run the following:

```auto
npm install

```

---

<div class="post-metadata">

**Author:** ![MPZ](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@MPZ](https://forum.codewithmosh.com/u/MPZ)\
**Post date:** [October 25, 2023, 6:53pm UTC](https://forum.codewithmosh.com/t/problem-with-parcel-build-index-html/6216/46 "2023-10-25T18:53:28Z")

</div>

Wooooooooow it was solved after restarting VS Code it was giving me some other errors about logo.svg, then I tried to run node\_modules/.bin/parcel index.html and it was fixed

then i tried to reinstall parcel-bundler globally and all works perfectly well…

a very huge thank you to you dear friend, my week would go crazy if it wasn’t you. thank you again and again… i am grateful for the time you put apart to help an unknown.

look forward to seeing how the next steps will go and keep you posted.

---

<div class="post-metadata">

**Author:** ![sufian.babri](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/sufian.babri/32/1028_2.png) [@sufian.babri](https://forum.codewithmosh.com/u/sufian.babri)\
**Post date:** [October 25, 2023, 7:06pm UTC](https://forum.codewithmosh.com/t/problem-with-parcel-build-index-html/6216/47 "2023-10-25T19:06:58Z")

</div>

Haha. I guess the support guys aren’t always in the wrong when they ask “Have you tried restarting your computer?”

My pleasure. You’re welcome.

---

<div class="post-metadata">

**Author:** ![MPZ](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@MPZ](https://forum.codewithmosh.com/u/MPZ)\
**Post date:** [October 26, 2023, 12:31am UTC](https://forum.codewithmosh.com/t/problem-with-parcel-build-index-html/6216/48 "2023-10-26T00:31:44Z")

</div>

Now, when I run parcel build index.html I get this error:

 ![normalize.ss error](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/8/83cfccbc6e3e90dd56693bd6b06eb0a735c38ae1.png)

---

<div class="post-metadata">

**Author:** ![sufian.babri](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/sufian.babri/32/1028_2.png) [@sufian.babri](https://forum.codewithmosh.com/u/sufian.babri)\
**Post date:** [October 26, 2023, 7:00am UTC](https://forum.codewithmosh.com/t/problem-with-parcel-build-index-html/6216/49 "2023-10-26T07:00:45Z")

</div>

It seems that you’re using some additional dependencies than what Mosh has used in the course.

Upon Googling the error message, this StackOverflow link shows up:

> <https://stackoverflow.com/questions/64057023/error-postcss-plugin-autoprefixer-requires-postcss-8-update-postcss-or-downgra>

You may need to run `npm install` or run it after removing package-lock.json (take a backup of this file before deleting it).

I’d highly recommend you remove the unused dependencies as there is no point in keeping them, besides they are only causing errors.

---

<div class="post-metadata">

**Author:** ![MPZ](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@MPZ](https://forum.codewithmosh.com/u/MPZ)\
**Post date:** [October 26, 2023, 7:05am UTC](https://forum.codewithmosh.com/t/problem-with-parcel-build-index-html/6216/50 "2023-10-26T07:05:01Z")

</div>

Thank for your answer, would you mean i have to remove all the additional than what Mosh has in the lesson?

do you mean

1-remove package-lock.json

2-then run nmp install

---

<div class="post-metadata">

**Author:** ![sufian.babri](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/sufian.babri/32/1028_2.png) [@sufian.babri](https://forum.codewithmosh.com/u/sufian.babri)\
**Post date:** [October 26, 2023, 7:40am UTC](https://forum.codewithmosh.com/t/problem-with-parcel-build-index-html/6216/51 "2023-10-26T07:40:20Z")

</div>

Yes. It is `npm install` btw.

---

<div class="post-metadata">

**Author:** ![MPZ](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@MPZ](https://forum.codewithmosh.com/u/MPZ)\
**Post date:** [October 26, 2023, 8:00am UTC](https://forum.codewithmosh.com/t/problem-with-parcel-build-index-html/6216/52 "2023-10-26T08:00:58Z")

</div>

great I ill do that… and let you know

---

<div class="post-metadata">

**Author:** ![MPZ](https://avatars.discourse-cdn.com/v4/letter/m/b4bc9f/32.png) [@MPZ](https://forum.codewithmosh.com/u/MPZ)\
**Post date:** [October 26, 2023, 8:40am UTC](https://forum.codewithmosh.com/t/problem-with-parcel-build-index-html/6216/53 "2023-10-26T08:40:26Z")

</div>

yeah this step works yaaaaay… you won’t believe me, i did all that you said but my package.json still looks ugly I don’t know what happened to it now I don’t even see the parcel version information however it’s there on the computer.

I did some researches and I uninstalle the postcss and then reinstalled everything from step 1 as Mosh said in the video I ended up getting the postcss version 8.

then it gives me an error about the same **one Somdhendup** had previously saying that **tree.render is not a function** then i saw the steps that they adviced to creat the **.htmlnanorc.js** file with the following content

module.exports = {  
minifySvg: false  
}

then i restart my VS Code then run **parcel build index.hmtl**

then booommmmmm everything works without any error.

I can’t thank you enough for you time and patients and all the work you did to help me out…by the way if anyone has this problem in the future just read this too (just copy the link and paste in a browser)

> **[PostCSS 8.0: Plugin migration guide—Martian Chronicles, Evil Martians’ team blog](https://evilmartians.com/chronicles/postcss-8-plugin-migration)**
>
> How to migrate your plugins to use the new API in PostCSS 8.0 for better performance and smaller node\_modules

I didn’t take all the steps but it may help.

---

<div class="post-metadata">

**Author:** ![Lizyada](https://avatars.discourse-cdn.com/v4/letter/l/aeb1de/32.png) [@Lizyada](https://forum.codewithmosh.com/u/Lizyada)\
**Post date:** [February 10, 2024, 10:45pm UTC](https://forum.codewithmosh.com/t/problem-with-parcel-build-index-html/6216/54 "2024-02-10T22:45:12Z")

</div>

Thank you. This worked. But what does it mean?

---

<div class="post-metadata">

**Author:** ![procoder](https://avatars.discourse-cdn.com/v4/letter/p/9de0a6/32.png) [@procoder](https://forum.codewithmosh.com/u/procoder)\
**Post date:** [February 25, 2024, 5:55pm UTC](https://forum.codewithmosh.com/t/problem-with-parcel-build-index-html/6216/55 "2024-02-25T17:55:21Z")

</div>

**Update Parcel to the latest version using `npm install -g parcel-bundler` and then run `parcel build index.html` again. If the problem continues, check your project structure and ensure all dependencies are correctly installed using `npm install` .**

---

<div class="post-metadata">

**Author:** ![Millat\_Hakem](https://avatars.discourse-cdn.com/v4/letter/m/6de8d8/32.png) [@Millat\_Hakem](https://forum.codewithmosh.com/u/Millat_Hakem)\
**Post date:** [July 7, 2024, 9:57pm UTC](https://forum.codewithmosh.com/t/problem-with-parcel-build-index-html/6216/56 "2024-07-07T21:57:51Z")

</div>

“Simply move `sprite.svg` out of the `css` folder and place it in the main `moshify` directory. Although this response is a bit late, it might help others who encounter the same issue.”

---

<div class="post-metadata">

**Author:** ![Frost](https://avatars.discourse-cdn.com/v4/letter/f/90db22/32.png) [@Frost](https://forum.codewithmosh.com/u/Frost)\
**Post date:** [July 8, 2024, 10:30am UTC](https://forum.codewithmosh.com/t/problem-with-parcel-build-index-html/6216/57 "2024-07-08T10:30:32Z")

</div>

Hello Orazbek,  
I found a solution to this problem. First open PowerShell as an administrator in windows. Then type this in it “Set-ExecutionPolicy -ExecutionPolicy Unrestricted CurrentUser” (without the “”)

After that it will ask for confirmation and all you have to do is press Y. This will remove the restriction placed on the folder and you will be able to run scripts on it. Then re-run the command in VS code Terminal and you are all set ! 👍

[Previous page](https://forum.codewithmosh.com/t/problem-with-parcel-build-index-html/6216.md?page=2)
