Раньше я работал над личным проектом, используя jhipster 5.8.2. В прошлом году, когда я пытался запустить mvn -Pprod clean package
, это работало нормально.
Теперь я клонировал этот проект, но когда я пытаюсь запустить mvn -Pprod clean package
, у меня появляется такая ошибка:
yarn run v1.22.4
$ npm run cleanup && npm run webpack:prod:main && npm run clean-www
> craft-beer-store@0.0.0 cleanup D:\Proyectos\Propios\craft-beer-store
> rimraf target/{aot,www}
> craft-beer-store@0.0.0 webpack:prod:main D:\Proyectos\Propios\craft-beer-store
> npm run webpack -- --config webpack/webpack.prod.js --profile
> craft-beer-store@0.0.0 webpack D:\Proyectos\Propios\craft-beer-store
> node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js "--config" "webpack/webpack.prod.js" "--profile"
D:\Proyectos\Propios\craft-beer-store\node_modules\webpack-cli\bin\cli.js:231
throw err;
^
TypeError: Object prototype may only be an Object or null: undefined
at setPrototypeOf (<anonymous>)
at Object.__extends (D:\Proyectos\Propios\craft-beer-store\node_modules\tslib\tslib.js:64:9)
at D:\Proyectos\Propios\craft-beer-store\node_modules\@angular\compiler-cli\src\ngtsc\indexer\src\template.js:115:17
at D:\Proyectos\Propios\craft-beer-store\node_modules\@angular\compiler-cli\src\ngtsc\indexer\src\template.js:314:6
at D:\Proyectos\Propios\craft-beer-store\node_modules\@angular\compiler-cli\src\ngtsc\indexer\src\template.js:3:17
at Object.<anonymous> (D:\Proyectos\Propios\craft-beer-store\node_modules\@angular\compiler-cli\src\ngtsc\indexer\src\template.js:9:3)
at Module._compile (D:\Proyectos\Propios\craft-beer-store\node_modules\v8-compile-cache\v8-compile-cache.js:178:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (D:\Proyectos\Propios\craft-beer-store\node_modules\v8-compile-cache\v8-compile-cache.js:159:20)
at D:\Proyectos\Propios\craft-beer-store\node_modules\@angular\compiler-cli\src\ngtsc\indexer\src\transform.js:20:22
at D:\Proyectos\Propios\craft-beer-store\node_modules\@angular\compiler-cli\src\ngtsc\indexer\src\transform.js:10:17
at Object.<anonymous> (D:\Proyectos\Propios\craft-beer-store\node_modules\@angular\compiler-cli\src\ngtsc\indexer\src\transform.js:16:3)
at Module._compile (D:\Proyectos\Propios\craft-beer-store\node_modules\v8-compile-cache\v8-compile-cache.js:178:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (D:\Proyectos\Propios\craft-beer-store\node_modules\v8-compile-cache\v8-compile-cache.js:159:20)
at D:\Proyectos\Propios\craft-beer-store\node_modules\@angular\compiler-cli\src\ngtsc\program.js:31:23
at D:\Proyectos\Propios\craft-beer-store\node_modules\@angular\compiler-cli\src\ngtsc\program.js:10:17
at Object.<anonymous> (D:\Proyectos\Propios\craft-beer-store\node_modules\@angular\compiler-cli\src\ngtsc\program.js:16:3)
at Module._compile (D:\Proyectos\Propios\craft-beer-store\node_modules\v8-compile-cache\v8-compile-cache.js:178:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (D:\Proyectos\Propios\craft-beer-store\node_modules\v8-compile-cache\v8-compile-cache.js:159:20)
at D:\Proyectos\Propios\craft-beer-store\node_modules\@angular\compiler-cli\src\transformers\program.js:27:21
at D:\Proyectos\Propios\craft-beer-store\node_modules\@angular\compiler-cli\src\transformers\program.js:10:17
at Object.<anonymous> (D:\Proyectos\Propios\craft-beer-store\node_modules\@angular\compiler-cli\src\transformers\program.js:16:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! craft-beer-store@0.0.0 webpack: `node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js "--config" "webpack/webpack.prod.js" "--profile"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the craft-beer-store@0.0.0 webpack 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\jlopez\AppData\Roaming\npm-cache\_logs\2020-06-16T14_37_59_984Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! craft-beer-store@0.0.0 webpack:prod:main: `npm run webpack -- --config webpack/webpack.prod.js --profile`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the craft-beer-store@0.0.0 webpack:prod:main 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\jlopez\AppData\Roaming\npm-cache\_logs\2020-06-16T14_38_00_006Z-debug.log
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Может ли кто-нибудь помочь решить эту проблему? Мне нужен пу sh на новом сервере.