node-linux-x64@11.13.0
added 1 package in 0.621s
found 0 vulnerabilities
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN node No description
npm WARN node No repository field.
npm WARN node No license field.
node@11.13.0
added 2 packages from 1 contributor and audited 2 packages in 1.338s
found 0 vulnerabilities
Test/node> ls -l node_modules/.bin/
total 0
lrwxrwxrwx 1 gke users 16 Apr 11 09:59 node -> ../node/bin/node
Please mention your node.js, yarn and operating system version.
Test/node> node -v
v8.15.0
Test/node> npm -v
6.4.1
Test/node> npx yarn -v
npx: installed 1 in 0.754s
1.15.2
OS: x86_64 opensuse 13.1 or opensuse tumbleweed, actually it doesn't matter.
Do you want to request a feature or report a bug? Report a bug.
What is the current behavior? When yarn installs node the symlink node_modules/.bin/node to the installed node binary is missing.
If the current behavior is a bug, please provide the steps to reproduce. Test/node> ls -l total 0
Test/node> npx yarn add node npx: installed 1 in 0.759s yarn add v1.15.2 info No lockfile found. [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... [4/4] Building fresh packages... success Saved lockfile. success Saved 2 new dependencies. info Direct dependencies └─ node@11.13.0 info All dependencies ├─ node-bin-setup@1.0.6 └─ node@11.13.0 Done in 1.17s.
Test/node> ls -l node_modules/.bin/ total 0
What is the expected behavior? as in using npm instead of yarn the symlink should be installed:
Test/node> ls -l total 0 Test/node> echo "{}" >package.json Test/node> npm install node --save
npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN node No description npm WARN node No repository field. npm WARN node No license field.
Test/node> ls -l node_modules/.bin/ total 0 lrwxrwxrwx 1 gke users 16 Apr 11 09:59 node -> ../node/bin/node
Please mention your node.js, yarn and operating system version. Test/node> node -v v8.15.0 Test/node> npm -v 6.4.1 Test/node> npx yarn -v npx: installed 1 in 0.754s 1.15.2
OS: x86_64 opensuse 13.1 or opensuse tumbleweed, actually it doesn't matter.