[ 
https://issues.apache.org/jira/browse/HDDS-2050?focusedWorklogId=303309&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-303309
 ]

ASF GitHub Bot logged work on HDDS-2050:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 29/Aug/19 00:23
            Start Date: 29/Aug/19 00:23
    Worklog Time Spent: 10m 
      Work Description: vivekratnavel commented on pull request #1374: 
HDDS-2050. Error while compiling ozone-recon-web
URL: https://github.com/apache/hadoop/pull/1374
 
 
   The following error was seen while compiling ozone-recon-web
   
   ```
   [INFO] Running 'yarn install' in 
/Users/nvadivelu/codebase/apache/hadoop/hadoop-ozone/ozone-recon/src/main/resources/webapps/recon/ozone-recon-web
   [INFO] yarn install v1.9.2
   [INFO] [1/4] Resolving packages...
   [INFO] [2/4] Fetching packages...
   [ERROR] (node:31190) [DEP0005] DeprecationWarning: Buffer() is deprecated 
due to security and usability issues. Please use the Buffer.alloc(), 
Buffer.allocUnsafe(), or Buffer.from() methods instead.
   [INFO] [3/4] Linking dependencies...
   [ERROR] warning " > [email protected]" has unmet peer dependency 
"webpack@^2.0.0 || ^3.0.0 || ^4.0.0".
   [INFO] [4/4] Building fresh packages...
   [ERROR] warning Error running install script for optional dependency: 
"/Users/nvadivelu/codebase/apache/hadoop/hadoop-ozone/ozone-recon/src/main/resources/webapps/recon/ozone-recon-web/node_modules/fsevents:
 Command failed.
   [ERROR] Exit code: 1
   [ERROR] Command: node install
   [ERROR] Arguments:
   [ERROR] Directory: 
/Users/nvadivelu/codebase/apache/hadoop/hadoop-ozone/ozone-recon/src/main/resources/webapps/recon/ozone-recon-web/node_modules/fsevents
   [ERROR] Output:
   [ERROR] node-pre-gyp info it worked if it ends with ok
   [INFO] info This module is OPTIONAL, you can safely ignore this error
   [ERROR] node-pre-gyp info using [email protected]
   [ERROR] node-pre-gyp info using [email protected] | darwin | x64
   [ERROR] node-pre-gyp WARN Using request for node-pre-gyp https download
   [ERROR] node-pre-gyp info check checked for 
\"/Users/nvadivelu/codebase/apache/hadoop/hadoop-ozone/ozone-recon/src/main/resources/webapps/recon/ozone-recon-web/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node\"
 (not found)
   [ERROR] node-pre-gyp http GET 
https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.8/fse-v1.2.8-node-v72-darwin-x64.tar.gz
   [ERROR] node-pre-gyp http 404 
https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.8/fse-v1.2.8-node-v72-darwin-x64.tar.gz
   [ERROR] node-pre-gyp WARN Tried to download(404): 
https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.8/fse-v1.2.8-node-v72-darwin-x64.tar.gz
   [ERROR] node-pre-gyp WARN Pre-built binaries not found for [email protected] 
and [email protected] (node-v72 ABI, unknown) (falling back to source compile with 
node-gyp)
   [ERROR] node-pre-gyp http 404 status code downloading tarball 
https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.8/fse-v1.2.8-node-v72-darwin-x64.tar.gz
   [ERROR] node-pre-gyp ERR! build error
   [ERROR] node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp clean' 
(Error: spawn node-gyp ENOENT)
   [ERROR] node-pre-gyp ERR! stack     at ChildProcess.<anonymous> 
(/Users/nvadivelu/codebase/apache/hadoop/hadoop-ozone/ozone-recon/src/main/resources/webapps/recon/ozone-recon-web/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:77:29)
   [ERROR] node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:196:13)
   [ERROR] node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit 
(internal/child_process.js:254:12)
   [ERROR] node-pre-gyp ERR! stack     at onErrorNT 
(internal/child_process.js:431:16)
   [ERROR] node-pre-gyp ERR! stack     at processTicksAndRejections 
(internal/process/task_queues.js:84:17)
   [ERROR] node-pre-gyp ERR! System Darwin 18.5.0
   [ERROR] node-pre-gyp ERR! command 
\"/Users/nvadivelu/codebase/apache/hadoop/hadoop-ozone/ozone-recon/target/node/node\"
 
\"/Users/nvadivelu/codebase/apache/hadoop/hadoop-ozone/ozone-recon/src/main/resources/webapps/recon/ozone-recon-web/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp\"
 \"install\" \"--fallback-to-build\"
   [ERROR] node-pre-gyp ERR! cwd 
/Users/nvadivelu/codebase/apache/hadoop/hadoop-ozone/ozone-recon/src/main/resources/webapps/recon/ozone-recon-web/node_modules/fsevents
   [ERROR] node-pre-gyp ERR! node -v v12.1.0
   [ERROR] node-pre-gyp ERR! node-pre-gyp -v v0.12.0
   [ERROR] node-pre-gyp ERR! not ok
   [ERROR] Failed to execute 'node-gyp clean' (Error: spawn node-gyp ENOENT)"
   [INFO] Done in 102.54s.
   ```
   
   I fixed these node-pre-gyp and fsevents install errors by rebuilding yarn 
cache and yarn lock file and updating the dependencies to latest versions.
   
   Tested in both ozone-0.4.1 and trunk branches and verified that these errors 
are not thrown during ozone-recon-web compilation.
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

            Worklog Id:     (was: 303309)
    Remaining Estimate: 0h
            Time Spent: 10m

> Error while compiling ozone-recon-web
> -------------------------------------
>
>                 Key: HDDS-2050
>                 URL: https://issues.apache.org/jira/browse/HDDS-2050
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: Ozone Recon
>            Reporter: Nanda kumar
>            Assignee: Vivek Ratnavel Subramanian
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The following error is seen while compiling {{ozone-recon-web}}
> {noformat}
> [INFO] Running 'yarn install' in 
> /Users/nvadivelu/codebase/apache/hadoop/hadoop-ozone/ozone-recon/src/main/resources/webapps/recon/ozone-recon-web
> [INFO] yarn install v1.9.2
> [INFO] [1/4] Resolving packages...
> [INFO] [2/4] Fetching packages...
> [ERROR] (node:31190) [DEP0005] DeprecationWarning: Buffer() is deprecated due 
> to security and usability issues. Please use the Buffer.alloc(), 
> Buffer.allocUnsafe(), or Buffer.from() methods instead.
> [INFO] [3/4] Linking dependencies...
> [ERROR] warning " > [email protected]" has unmet peer dependency 
> "webpack@^2.0.0 || ^3.0.0 || ^4.0.0".
> [INFO] [4/4] Building fresh packages...
> [ERROR] warning Error running install script for optional dependency: 
> "/Users/nvadivelu/codebase/apache/hadoop/hadoop-ozone/ozone-recon/src/main/resources/webapps/recon/ozone-recon-web/node_modules/fsevents:
>  Command failed.
> [ERROR] Exit code: 1
> [ERROR] Command: node install
> [ERROR] Arguments:
> [ERROR] Directory: 
> /Users/nvadivelu/codebase/apache/hadoop/hadoop-ozone/ozone-recon/src/main/resources/webapps/recon/ozone-recon-web/node_modules/fsevents
> [ERROR] Output:
> [ERROR] node-pre-gyp info it worked if it ends with ok
> [INFO] info This module is OPTIONAL, you can safely ignore this error
> [ERROR] node-pre-gyp info using [email protected]
> [ERROR] node-pre-gyp info using [email protected] | darwin | x64
> [ERROR] node-pre-gyp WARN Using request for node-pre-gyp https download
> [ERROR] node-pre-gyp info check checked for 
> \"/Users/nvadivelu/codebase/apache/hadoop/hadoop-ozone/ozone-recon/src/main/resources/webapps/recon/ozone-recon-web/node_modules/fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node\"
>  (not found)
> [ERROR] node-pre-gyp http GET 
> https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.8/fse-v1.2.8-node-v72-darwin-x64.tar.gz
> [ERROR] node-pre-gyp http 404 
> https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.8/fse-v1.2.8-node-v72-darwin-x64.tar.gz
> [ERROR] node-pre-gyp WARN Tried to download(404): 
> https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.8/fse-v1.2.8-node-v72-darwin-x64.tar.gz
> [ERROR] node-pre-gyp WARN Pre-built binaries not found for [email protected] and 
> [email protected] (node-v72 ABI, unknown) (falling back to source compile with 
> node-gyp)
> [ERROR] node-pre-gyp http 404 status code downloading tarball 
> https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.8/fse-v1.2.8-node-v72-darwin-x64.tar.gz
> [ERROR] node-pre-gyp ERR! build error
> [ERROR] node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp clean' 
> (Error: spawn node-gyp ENOENT)
> [ERROR] node-pre-gyp ERR! stack     at ChildProcess.<anonymous> 
> (/Users/nvadivelu/codebase/apache/hadoop/hadoop-ozone/ozone-recon/src/main/resources/webapps/recon/ozone-recon-web/node_modules/fsevents/node_modules/node-pre-gyp/lib/util/compile.js:77:29)
> [ERROR] node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:196:13)
> [ERROR] node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit 
> (internal/child_process.js:254:12)
> [ERROR] node-pre-gyp ERR! stack     at onErrorNT 
> (internal/child_process.js:431:16)
> [ERROR] node-pre-gyp ERR! stack     at processTicksAndRejections 
> (internal/process/task_queues.js:84:17)
> [ERROR] node-pre-gyp ERR! System Darwin 18.5.0
> [ERROR] node-pre-gyp ERR! command 
> \"/Users/nvadivelu/codebase/apache/hadoop/hadoop-ozone/ozone-recon/target/node/node\"
>  
> \"/Users/nvadivelu/codebase/apache/hadoop/hadoop-ozone/ozone-recon/src/main/resources/webapps/recon/ozone-recon-web/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp\"
>  \"install\" \"--fallback-to-build\"
> [ERROR] node-pre-gyp ERR! cwd 
> /Users/nvadivelu/codebase/apache/hadoop/hadoop-ozone/ozone-recon/src/main/resources/webapps/recon/ozone-recon-web/node_modules/fsevents
> [ERROR] node-pre-gyp ERR! node -v v12.1.0
> [ERROR] node-pre-gyp ERR! node-pre-gyp -v v0.12.0
> [ERROR] node-pre-gyp ERR! not ok
> [ERROR] Failed to execute 'node-gyp clean' (Error: spawn node-gyp ENOENT)"
> [INFO] Done in 102.54s.
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to