Upon executing npm run prefix:css, the following error message is displayed:
Error: Patterns must be a string or an array of strings
{
"name": "natours",
"version": "1.0.0",
"description": "A project for natours",
"main": "index.js",
"scripts": {
"watch:sass": "node-sass sass/main.scss css/style.css -w",
"compile:sass": "node-sass sass/main.scss css/style.comp.css",
"concat:css": "concat -o css/style.concat.css css/icon-font.css
css/style.comp.css",
"prefix:css": "postcss --use autoprefixer -b 'last 10 versions'
css/style.concat.css -o css/style.prefix.css"
},
"author": "Rahmat",
"license": "ISC",
"devDependencies": {
"autoprefixer": "^9.6.1",
"concat": "^1.0.3",
"node-sass": "^4.12.0",
"postcss-cli": "^6.1.3"
}
}
This file is my packge.json.
Here is a snapshot of the error: https://i.sstatic.net/sd2e3.png
Any suggestions on how to resolve this issue?