yarn run build error

173 views
Skip to first unread message

Aleksei Podkopaev

unread,
Jun 25, 2023, 11:15:09 PM6/25/23
to cornerstone platform
Dear All
How solve this trouble? 

root@pacs:/opt/ohif# yarn run build
yarn run v1.22.19
$ lerna run build:viewer --stream
lerna notice cli v6.6.2

> @ohif/app:"build:viewer"

@ohif/app: $ cross-env NODE_ENV=production yarn run build
@ohif/app: $ node --max_old_space_size=4096 ./../../node_modules/webpack/bin/webpack.js --progress --config .webpack/webpack.pwa.js
@ohif/app: copy plugins []
@ohif/app: <s> [webpack.Progress] 0%
@ohif/app: <s> [webpack.Progress] 1% setup before run
@ohif/app: <s> [webpack.Progress] 1% setup before run NodeEnvironmentPlugin
@ohif/app: <s> [webpack.Progress] 1% setup before run
@ohif/app: <s> [webpack.Progress] 2% setup run
@ohif/app: <s> [webpack.Progress] 2% setup run webpack-cli
@ohif/app: <s> [webpack.Progress] 2% setup run
@ohif/app: <s> [webpack.Progress] 4% setup normal module factory
@ohif/app: <s> [webpack.Progress] 4% setup normal module factory
@ohif/app: <s> [webpack.Progress] 5% setup context module factory
@ohif/app: <s> [webpack.Progress] 5% setup context module factory
@ohif/app: <s> [webpack.Progress] 6% setup before compile
@ohif/app: <s> [webpack.Progress] 6% setup before compile ProgressPlugin
@ohif/app: <s> [webpack.Progress] 6% setup before compile
@ohif/app: <s> [webpack.Progress] 7% setup compile
@ohif/app: <s> [webpack.Progress] 7% setup compile ExternalsPlugin
@ohif/app: <s> [webpack.Progress] 7% setup compile
@ohif/app: <s> [webpack.Progress] 8% setup compilation
@ohif/app: <s> [webpack.Progress] 8% setup compilation CopyPlugin
@ohif/app: <s> [webpack.Progress] 8% setup compilation InjectManifest
@ohif/app: <s> [webpack.Progress] 8% setup compilation mini-css-extract-plugin
@ohif/app: <s> [webpack.Progress] 8% setup compilation ArrayPushCallbackChunkFormatPlugin
@ohif/app: <s> [webpack.Progress] 8% setup compilation JsonpChunkLoadingPlugin
@ohif/app: <s> [webpack.Progress] 8% setup compilation StartupChunkDependenciesPlugin
@ohif/app: <s> [webpack.Progress] 8% setup compilation ImportScriptsChunkLoadingPlugin
@ohif/app: <s> [webpack.Progress] 8% setup compilation FetchCompileWasmPlugin
@ohif/app: <s> [webpack.Progress] 8% setup compilation FetchCompileAsyncWasmPlugin
@ohif/app: <s> [webpack.Progress] 8% setup compilation WorkerPlugin
@ohif/app: <s> [webpack.Progress] 8% setup compilation SplitChunksPlugin
@ohif/app: <s> [webpack.Progress] 8% setup compilation ResolverCachePlugin
@ohif/app: <s> [webpack.Progress] 8% setup compilation HtmlWebpackPlugin
@ohif/app: <s> [webpack.Progress] 8% setup compilation
@ohif/app: <s> [webpack.Progress] 9% setup compilation
@ohif/app: <s> [webpack.Progress] 9% setup compilation ProgressPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation DefinePlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation DefinePlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation mini-css-extract-plugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation ChunkPrefetchPreloadPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation SourceMapDevToolPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation JavascriptModulesPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation JsonModulesPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation AssetModulesPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation EntryPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation RuntimePlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation InferAsyncModulesPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation DataUriPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation FileUriPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation CompatibilityPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation HarmonyModulesPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation AMDPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation RequireJsStuffPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation CommonJsPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation LoaderPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation LoaderPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation NodeStuffPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation APIPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation ExportsInfoApiPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation WebpackIsIncludedPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation ConstPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation UseStrictPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation RequireIncludePlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation RequireEnsurePlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation RequireContextPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation ImportPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation ImportMetaContextPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation SystemPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation ImportMetaPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation URLPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation DefaultStatsFactoryPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation DefaultStatsPresetPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation DefaultStatsPrinterPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation JavascriptMetaInfoPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation EnsureChunkConditionsPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation RemoveEmptyChunksPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation MergeDuplicateChunksPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation FlagIncludedChunksPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation FlagDependencyExportsPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation FlagDependencyUsagePlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation InnerGraphPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation MangleExportsPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation ModuleConcatenationPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation NoEmitOnErrorsPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation RealContentHashPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation WasmFinalizeExportsPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation DeterministicModuleIdsPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation DeterministicChunkIdsPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation DefinePlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation TerserPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation TemplatedPathPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation RecordIdsPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation WarnCaseSensitiveModulesPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation AddBuildDependenciesPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation AddBuildDependenciesPlugin
@ohif/app: <s> [webpack.Progress] 9% setup compilation
@ohif/app: <s> [webpack.Progress] 10% building
@ohif/app: <s> [webpack.Progress] 10% building 0/1 entries 0/0 dependencies 0/0 modules
@ohif/app: "extendDefaultPlugins" utility is deprecated.
@ohif/app: Use "preset-default" plugin with overrides instead.
@ohif/app: For example:
@ohif/app: {
@ohif/app:   name: 'preset-default',
@ohif/app:   params: {
@ohif/app:     overrides: {
@ohif/app:       // customize plugin options
@ohif/app:       convertShapeToPath: {
@ohif/app:         convertArcs: true
@ohif/app:       },
@ohif/app:       // disable plugins
@ohif/app:       convertPathData: false
@ohif/app:     }
@ohif/app:   }
@ohif/app: }
@ohif/app: node:internal/process/promises:288
@ohif/app:             triggerUncaughtException(err, true /* fromPromise */);
@ohif/app:             ^
@ohif/app: Error: [BABEL]: --- PLACEHOLDER PACKAGE ---
@ohif/app: This @babel/plugin-proposal-private-property-in-object version is not meant to
@ohif/app: be imported. Something is importing
@ohif/app: @babel/plugin-proposal-private-property-in-object without declaring it in its
@ohif/app: dependencies (or devDependencies) in the package.json file.
@ohif/app: Add "@babel/plugin-proposal-private-property-in-object" to your devDependencies
@ohif/app: to work around this error. This will make this message go away.
@ohif/app:  (While processing: /opt/ohif/node_modules/@babel/plugin-proposal-private-property-in-object/lib/index.js)
@ohif/app:     at Object.<anonymous> (/opt/ohif/node_modules/@babel/plugin-proposal-private-property-in-object/lib/index.js:28:7)
@ohif/app:     at Module._compile (node:internal/modules/cjs/loader:1256:14)
@ohif/app:     at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
@ohif/app:     at Module.load (node:internal/modules/cjs/loader:1119:32)
@ohif/app:     at Module._load (node:internal/modules/cjs/loader:960:12)
@ohif/app:     at Module.require (node:internal/modules/cjs/loader:1143:19)
@ohif/app:     at require (node:internal/modules/cjs/helpers:110:18)
@ohif/app:     at startHiding - secret - don't use this - v1 (/opt/ohif/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js:54:12)
@ohif/app:     at loadCjsDefault (/opt/ohif/node_modules/@babel/core/lib/config/files/module-types.js:114:69)
@ohif/app:     at loadCodeDefault (/opt/ohif/node_modules/@babel/core/lib/config/files/module-types.js:54:18)
@ohif/app: Node.js v18.16.1
@ohif/app: error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@ohif/app: error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

 ————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————

 >  Lerna (powered by Nx)   Running target build:viewer for project @ohif/app failed

   Failed tasks:
   
   - @ohif/app:build:viewer
   
   Hint: run the command with --verbose for more details.

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Reply all
Reply to author
Forward
0 new messages