LarocChen opened a new issue #6696:
URL: https://github.com/apache/dolphinscheduler/issues/6696


   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   Hello, everyone
   I tried to build dolphinscheduler-2.0.0-alpha binaries on win10 and had the 
following problems:
   [INFO] ----------< org.apache.dolphinscheduler:dolphinscheduler-ui 
>-----------
   [INFO] Building dolphinscheduler-ui 2.0.0-alpha                         
[26/35]
   [INFO] --------------------------------[ jar 
]---------------------------------
   [INFO]
   [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ 
dolphinscheduler-ui ---
   [INFO] Deleting 
C:\Users\...\Desktop\dolphinscheduler-2.0.0-alpha\dolphinscheduler-ui\target
   [INFO]
   [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ 
dolphinscheduler-ui ---
   [INFO]
   [INFO] --- maven-remote-resources-plugin:1.5:process 
(process-resource-bundles) @ dolphinscheduler-ui ---
   [INFO]
   [INFO] --- frontend-maven-plugin:1.6:install-node-and-npm (install node and 
npm) @ dolphinscheduler-ui ---
   [INFO] Node v12.20.2 is already installed.
   [INFO] NPM 6.14.11 is already installed.
   [INFO]
   [INFO] --- frontend-maven-plugin:1.6:npm (npm install node-sass 
--unsafe-perm) @ dolphinscheduler-ui ---
   [INFO] Running 'npm install node-sass --unsafe-perm' in 
C:\Users\...\Desktop\dolphinscheduler-2.0.0-alpha\dolphinscheduler-ui
   [WARNING] npm WARN registry Unexpected warning for 
https://registry.npmjs.org/: Miscellaneous Warning EACCES: request to 
https://registry.npmjs.org/node-sass failed, reason: connect EACCES 
104.16.17.35:443
   [WARNING] npm WARN registry Using stale data from 
https://registry.npmjs.org/ due to a request error during revalidation.
   [WARNING] npm WARN deprecated [email protected]: request has been deprecated, 
see https://github.com/request/request/issues/3142
   [WARNING] npm WARN deprecated [email protected]: this library is no longer 
supported
   [WARNING] npm WARN deprecated [email protected]: Please upgrade  to version 7 or 
higher.  Older versions may use Math.random() in certain circumstances, which 
is known to be problematic.  See https://v8.dev/blog/math-random for details.
   [INFO]
   [INFO] > [email protected] install 
C:\Users\...\Desktop\dolphinscheduler-2.0.0-alpha\dolphinscheduler-ui\node_modules\node-sass
   [INFO] > node scripts/install.js
   [INFO]
   [INFO] Cached binary found at 
C:\Users\...\AppData\Roaming\npm-cache\node-sass\4.14.1\win32-x64-72_binding.node
   [INFO]
   [INFO] > [email protected] postinstall 
C:\Users\...\Desktop\dolphinscheduler-2.0.0-alpha\dolphinscheduler-ui\node_modules\node-sass
   [INFO] > node scripts/build.js
   [INFO]
   [INFO] Binary found at 
C:\Users\...\Desktop\dolphinscheduler-2.0.0-alpha\dolphinscheduler-ui\node_modules\node-sass\vendor\win32-x64-72\binding.node
   [INFO] Testing binary
   [INFO] Binary is fine
   [INFO] + [email protected]
   [INFO] removed 1309 packages and updated 1 package in 13.248s
   [INFO]
   [INFO] 1 package is looking for funding
   [INFO]   run `npm fund` for details
   [INFO]
   [INFO]
   [INFO] --- frontend-maven-plugin:1.6:npm (npm install) @ dolphinscheduler-ui 
---
   [INFO] Running 'npm install' in 
C:\Users\...\Desktop\dolphinscheduler-2.0.0-alpha\dolphinscheduler-ui
   [WARNING] npm WARN registry Unexpected warning for 
https://registry.npmjs.org/: Miscellaneous Warning EACCES: request to 
https://registry.npmjs.org/acorn failed, reason: connect EACCES 104.16.17.35:443
   [WARNING] npm WARN registry Using stale data from 
https://registry.npmjs.org/ due to a request error during revalidation.
   [WARNING] npm WARN deprecated [email protected]: This loader has been 
deprecated. Please use eslint-webpack-plugin
   [WARNING] npm WARN deprecated [email protected]: 3.x is no longer 
supported
   [WARNING] npm WARN deprecated [email protected]: Critical security vulnerability 
fixed in v0.21.1. For more information, see 
https://github.com/axios/axios/pull/3410
   [WARNING] npm WARN deprecated [email protected]: core-js@<3.3 is no longer 
maintained and not recommended for usage due to the number of issues. Because 
of the V8 engine whims, feature detection in old core-js versions could cause a 
sl
   owdown up to 100x even if nothing is polyfilled. Please, upgrade your 
dependencies to the actual version of core-js.
   [WARNING] npm WARN deprecated [email protected]: Chokidar 2 will break on node 
v14+. Upgrade to chokidar 3 with 15x less dependencies.
   [WARNING] npm WARN deprecated [email protected]: Deprecated due to 
CVE-2021-21366 resolved in 0.5.0
   [WARNING] npm WARN deprecated [email protected]: fsevents 1 will break on node 
v14+ and could be using insecure binaries. Upgrade to fsevents 2.
   [WARNING] npm WARN deprecated [email protected]: The querystring API is 
considered Legacy. new code should use the URLSearchParams API instead.
   [WARNING] npm WARN deprecated [email protected]: Browserslist 2 could fail 
on reading Browserslist >3.0 config used in other tools.
   [WARNING] npm WARN deprecated [email protected]: 
https://github.com/lydell/resolve-url#deprecated
   [WARNING] npm WARN deprecated [email protected]: Please see 
https://github.com/lydell/urix#deprecated
   [INFO]
   [INFO] > [email protected] preinstall 
C:\Users\...\Desktop\dolphinscheduler-2.0.0-alpha\dolphinscheduler-ui\node_modules\cssnano-preset-default\node_modules\coa
   [INFO] > start /B node compile.js & node compile.js
   [INFO]
   [ERROR] internal/modules/cjs/loader.js:818
   [ERROR]   throw err;
   [ERROR]   ^
   [ERROR]
   [ERROR] Error: Cannot find module 
'C:\Users\...\Desktop\dolphinscheduler-2.0.0-alpha\dolphinscheduler-ui\node_modules\cssnano-preset-default\node_modules\coa\compile.js'
   [ERROR]     at Function.Module._resolveFilename 
(internal/modules/cjs/loader.js:815:15)
   [ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:667:27)
   [ERROR]     at Function.executeUserEntryPoint [as runMain] 
(internal/modules/run_main.js:60:12)
   [ERROR]     at internal/main/run_main_module.js:17:47 {
   [ERROR]   code: 'MODULE_NOT_FOUND',
   [ERROR]   requireStack: []
   [ERROR] }
   [ERROR] internal/modules/cjs/loader.js:818
   [ERROR]   throw err;
   [ERROR]   ^
   [ERROR]
   [ERROR] Error: Cannot find module 
'C:\Users\...\Desktop\dolphinscheduler-2.0.0-alpha\dolphinscheduler-ui\node_modules\cssnano-preset-default\node_modules\coa\compile.js'
   [ERROR]     at Function.Module._resolveFilename 
(internal/modules/cjs/loader.js:815:15)
   [ERROR]     at Function.Module._load (internal/modules/cjs/loader.js:667:27)
   [ERROR]     at Function.executeUserEntryPoint [as runMain] 
(internal/modules/run_main.js:60:12)
   [ERROR]     at internal/main/run_main_module.js:17:47 {
   [ERROR]   code: 'MODULE_NOT_FOUND',
   [ERROR]   requireStack: []
   [ERROR] }
   [WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 
(node_modules\chokidar\node_modules\fsevents):
   [WARNING] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform 
for [email protected]: wanted {"os":"darwin","arch":"any"} (current: 
{"os":"win32","arch":"x64"})
   [WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 
(node_modules\watchpack-chokidar2\node_modules\chokidar\node_modules\fsevents):
   [WARNING] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform 
for [email protected]: wanted {"os":"darwin","arch":"any"} (current: 
{"os":"win32","arch":"x64"})
   [WARNING] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.7 
(node_modules\webpack-dev-server\node_modules\chokidar\node_modules\fsevents):
   [WARNING] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform 
for [email protected]: wanted {"os":"darwin","arch":"any"} (current: 
{"os":"win32","arch":"x64"})
   [ERROR]
   [ERROR] npm ERR! code ELIFECYCLE
   [ERROR] npm ERR! errno 1
   [ERROR] npm ERR! [email protected] preinstall: `start /B node compile.js & node 
compile.js`
   [ERROR] npm ERR! Exit status 1
   [ERROR] npm ERR!
   [ERROR] npm ERR! Failed at the [email protected] preinstall script.
   [ERROR] npm ERR! This is probably not a problem with npm. There is likely 
additional logging output above.
   [ERROR]
   [ERROR] npm ERR! A complete log of this run can be found in:
   [ERROR] npm ERR!     
C:\Users\***\AppData\Roaming\npm-cache\_logs\2021-11-05T01_57_17_340Z-debug.log
   
   
   ### What you expected to happen
   
   Maybe it's the network environment
   
   ### How to reproduce
   
   Try building DS on different environments
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to