I,m trying to run 'npm run build' but always get error, 'npm run start' command is run correcly,but build command not run.:(
{
"name": "films",
"version": "1.0.0",
"description": "contain about films",
"default": "index.html",
"scripts": {
"start": "parcel index.html",
"build": "parcel build index.html --dist-dir ./dist "
},
"author": "chathura priyashan",
"license": "ISC",
"devDependencies": {
"parcel": "^2.3.2"
},
"dependencies": {
"node-sass": "^7.0.1"
}
}
err--------------------------------------------------
npm ERR! code ELIFECYCLE
npm ERR! errno 3221225501
npm ERR! films@1.0.0 build: `parcel build index.html `
npm ERR! Exit status 3221225501
npm ERR!
npm ERR! Failed at the films@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\chathura\AppData\Roaming\npm-cache\_logs\2022-03-28T14_56_48_033Z-debug.log
PS G:\java script sites\Asynchronus\films> npm run build