Could not extract the Node archive on OSX
See original GitHub issueDo you want to request a feature or report a bug? Bug
What is the current behavior? Fails to download node on OSX with following error:
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.7.6:install-node-and-npm (install node and npm) on project *********: Could not extract the Node archive: Could not extract archive: '/Users/*****/.m2/repository/com/github/eirslett/node/10.15.3/node-10.15.3-darwin-x64.tar.gz': Expanding node-v10.15.3-darwin-x64/ would create file outside of /tmp/node/tmp -> [Help 1]
If the current behavior is a bug, please provide the steps to reproduce.
On OSX run mvn install
What is the expected behavior? npm will be installed and run build
Please mention your frontend-maven-plugin and operating system version. Plugin version: frontend-maven-plugin:1.7.6 OS: OSX 18.5.0 Darwin Kernel Version 18.5.0
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Why does maven install give this error with npm?
1 Answer 1 ... It seems that npm tar.gz was corrupted during the download. Share. Share a link to this answer.
Read more >Installer could not extract files from th… - Apple Community
I just got a brand new OSX 10.5.6 DVD disk direct from Apple. Tried to install it (archive & install, saving preferences and...
Read more >Trouble extracting zip file in macOS - Apple Stack Exchange
That explains why unzip may have failed to extract the files from the compressed archive. However, when attempting to extract via built-in ...
Read more >Running Visual Studio Code on macOS
Open the browser's download list and locate the downloaded app or archive. If archive, extract the archive contents. Use double-click for some browsers...
Read more >How to Install Node.js on a Mac - Webucator
Node.js is required for using many JavaScript tools and for creating server-side ... If you do not have Node.js installed, it will output...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ve just installed node v14.3.0 and it looks fixed now. I did it via
install-node-and-yarn
.Darwin 19.4.0 Darwin Kernel Version 19.4.0: Wed Mar 4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64 x86_64
I have exactly the same issue on Windows 10 OS. It works fine with
Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.7.5:install-node-and-npm (+++ install node and npm into core +++) on project test-project: Could not extract the npm archive: Could not extract archive: 'C:\Users\Administrator\.m2\repository\com\github\eirslett\npm\6.9.0\npm-6.9.0.tar.gz': Expanding package/package.json would create file outside of c:\Jenkins\workspace\Test Project\test-project\src\main\frontend\src\test\node\node_modules