question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not extract the Node archive on OSX

See original GitHub issue

Do 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:open
  • Created 4 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
davidnewcombcommented, May 23, 2020

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

1reaction
aozolincommented, Sep 3, 2019

I have exactly the same issue on Windows 10 OS. It works fine with

frontend-maven-plugin:1.6 But doesn’t work with 1.7.x and 1.8.0 Could you fix it please?

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found