react-static-plate icon indicating copy to clipboard operation
react-static-plate copied to clipboard

build failed

Open briteming opened this issue 1 year ago • 0 comments

hi,

12799@DESKTOP-B6LK9IO MINGW64 ~/react-static-plate (master) $ yarn build yarn run v1.22.22 $ npm run clean && npm run build:bundle && npm run build:static

[email protected] clean rimraf build

[email protected] build:bundle cross-env NODE_ENV=production webpack --config ./tools/webpack.prod.config.js

(node:8692) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created)

client/components/layout/style.css undefined [undefined] undefined [undefined]

C:\Users\12799\react-static-plate\node_modules\webpack-isomorphic-tools\babel-transpiled-modules\plugin\write assets.js:303 throw _iteratorError; ^

TypeError: util.isRegExp is not a function at Object. (C:\Users\12799\react-static-plate\node_modules\require-hacker\babel-transpiled-modules\tools\serialize-javascript.js:46:18) at Object.stringify () at stringify (C:\Users\12799\react-static-plate\node_modules\core-js\library\fn\json\stringify.js:4:26) at serialize (C:\Users\12799\react-static-plate\node_modules\require-hacker\babel-transpiled-modules\tools\serialize-javascript.js:41:35) at Object.to_javascript_module_source (C:\Users\12799\react-static-plate\node_modules\require-hacker\babel-transpiled-modules\require hacker.js:332:66) at C:\Users\12799\react-static-plate\node_modules\webpack-isomorphic-tools\babel-transpiled-modules\plugin\write assets.js:275:76 at Array.reduce () at _loop (C:\Users\12799\react-static-plate\node_modules\webpack-isomorphic-tools\babel-transpiled-modules\plugin\write assets.js:250:7) at populate_assets (C:\Users\12799\react-static-plate\node_modules\webpack-isomorphic-tools\babel-transpiled-modules\plugin\write assets.js:289:4) at write_assets (C:\Users\12799\react-static-plate\node_modules\webpack-isomorphic-tools\babel-transpiled-modules\plugin\write assets.js:74:2) at Compiler. (C:\Users\12799\react-static-plate\node_modules\webpack-isomorphic-tools\babel-transpiled-modules\plugin\plugin.js:213:45) at Compiler.applyPlugins (C:\Users\12799\react-static-plate\node_modules\tapable\lib\Tapable.js:26:37) at Compiler. (C:\Users\12799\react-static-plate\node_modules\webpack\lib\Compiler.js:193:12) at Compiler.emitRecords (C:\Users\12799\react-static-plate\node_modules\webpack\lib\Compiler.js:282:37) at Compiler. (C:\Users\12799\react-static-plate\node_modules\webpack\lib\Compiler.js:187:11) at C:\Users\12799\react-static-plate\node_modules\webpack\lib\Compiler.js:275:11 at Compiler.applyPluginsAsync (C:\Users\12799\react-static-plate\node_modules\tapable\lib\Tapable.js:60:69) at Compiler.afterEmit (C:\Users\12799\react-static-plate\node_modules\webpack\lib\Compiler.js:272:8) at Compiler. (C:\Users\12799\react-static-plate\node_modules\webpack\lib\Compiler.js:267:14) at C:\Users\12799\react-static-plate\node_modules\async\lib\async.js:52:16 at done (C:\Users\12799\react-static-plate\node_modules\async\lib\async.js:246:17) at C:\Users\12799\react-static-plate\node_modules\async\lib\async.js:44:16 at C:\Users\12799\react-static-plate\node_modules\graceful-fs\graceful-fs.js:61:14 at FSReqCallback.oncomplete (node:fs:188:23)

Node.js v23.3.0 error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

12799@DESKTOP-B6LK9IO MINGW64 ~/react-static-plate (master) $

hwo to fix it? thank u very much

briteming avatar Jan 17 '25 02:01 briteming