VirtualBox

Opened 4 years ago

Last modified 4 years ago

#19545 new defect

Regression related to shared folders, npm install

Reported by: keb Owned by:
Component: shared folders Version: VirtualBox 6.1.6
Keywords: ENOENT npm install Cc:
Guest type: Linux Host type: Mac OS X

Description

After upgrading from 5.x to 6.x, I get the following error related to a shared filesystem when running npm install:

npm ERR! enoent ENOENT: no such file or directory, open '/home/kyle/share/devel/test/node_modules/argparse/node_modules/sprintf-js/package.json.226652263' npm ERR! enoent This is related to npm not being able to find a file.

Steps to reproduce:

On the linux guest, in a shared folder:

mkdir test cd test npm init -y npm install grunt --save-dev

On 5.x VB, I would see an error like this when I did not have guest symlinks properly enabled so I think it might be related to a problem with symlinks. But I can create symlinks in 6.x from within the guest manually and they seem to work, at least from the command line.

I revert to VB 5.x and the problem goes away. Unfortunately VB 5.x doesn't work on MacOS Catalina so trying to get this working under 6.x now.

Attachments (1)

lux0-2020-04-30-21-21-28.log (140.4 KB ) - added by keb 4 years ago.
Log file

Download all attachments as: .zip

Change History (3)

by keb, 4 years ago

Log file

comment:1 by keb, 4 years ago

Steps to reproduce (formatted):

mkdir test
cd test
npm init -y
npm install grunt --save-dev
Last edited 4 years ago by keb (previous) (diff)

comment:2 by evilpenguin, 4 years ago

Issue still present on 6.1.14

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy