Я пытаюсь запустить yarn, запустить скрипт webpack: dev-> в моем package.json.Терминал возвращает эту ошибку: [Errno 2] Нет такого файла или каталога: сценарий 'run'
в package.json:
"scripts": {
"lint": "tslint 'src/main/webapp/app/**/*.ts'",
"lint:fix": "tslint 'src/main/webapp/app/**/*.ts' --fix",
"tsc": "tsc",
"tsc:w": "tsc -w",
"ngc": "ngc -p tsconfig-aot.json",
"cleanup": "rimraf target/",
"start": "yarn run webpack:dev",
"webpack:build": "yarn run ngc && webpack --config webpack/webpack.vendor.js && webpack --config webpack/webpack.dev.js",
"webpack:build:dev": "webpack --config webpack/webpack.dev.js",
"webpack:build:vendor": "webpack --config webpack/webpack.vendor.js",
"webpack:dev": "webpack-dev-server --config webpack/webpack.dev.js --progress --inline --hot --profile --port=9060",
"webpack:test": "yarn run ngc && yarn run test",
"webpack:prod": "yarn run ngc && webpack -p --config webpack/webpack.vendor.js && webpack -p --config webpack/webpack.prod.js",
"test": "yarn run lint && karma start src/test/javascript/karma.conf.js",
"test:watch": "karma start --watch",
"postinstall": "yarn run webpack:build"
}
Я запускаю эту команду на своей машине .
Я пишу в терминале: yarn --version -> 0.27
ОС: Linuxmint 18.3