You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2022/05/23 20:42:49 UTC

[GitHub] [accumulo] milleruntime commented on pull request #2720: Configure opportunistic formatting of JavaScript

milleruntime commented on PR #2720:
URL: https://github.com/apache/accumulo/pull/2720#issuecomment-1135119685

   I downloaded your branch, checked out a JS file from main so there would be something to format and then ran my usual `mvn clean verify -DskipTests -Dspotbugs.skip`. It looks like it is detecting the `npx` binary but when it runs I am getting the error:
   <pre>
   [INFO] --- exec-maven-plugin:3.0.0:exec (format-javascript) @ accumulo-monitor ---
   { Error: EEXIST: file already exists, mkdir '/home/mpmill4/workspace/accumulo/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js'
       at Object.fs.mkdirSync (fs.js:885:18)
       at writePretty (/usr/local/lib/node_modules/js-beautify/js/lib/cli.js:487:12)
       at makePretty (/usr/local/lib/node_modules/js-beautify/js/lib/cli.js:473:9)
       at Object.processInputSync (/usr/local/lib/node_modules/js-beautify/js/lib/cli.js:465:9)
       at Array.forEach (<anonymous>)
       at Object.exports.interpret (/usr/local/lib/node_modules/js-beautify/js/lib/cli.js:313:19)
       at Object.<anonymous> (/usr/local/lib/node_modules/js-beautify/js/bin/js-beautify.js:4:5)
       at Module._compile (module.js:652:30)
       at Object.Module._extensions..js (module.js:663:10)
       at Module.load (module.js:565:32)
     errno: -17,
     code: 'EEXIST',
     syscall: 'mkdir',
     path: '/home/mpmill4/workspace/accumulo/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js' }
   [ERROR] Command execution failed.
   org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
   </pre>


-- 
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: notifications-unsubscribe@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org