You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed my Node.JS in D:\Node\v6.9.1 , then I use Yarn install the global package successfully:
yarn install webpack
However, when I run it:
λ webpack The filename, directory name, or volume label syntax is incorrect.
I discovered that Yarn install global package at C:\Users\Wenris\AppData\Local\Yarn\config\global instead of C:\Users\Wenris\AppData\Roaming\npm , where my NPM choose.
That's all right, but Yarn installed a wrong startup script webpack.cmd in my Node.JS root dir:
This is a bug with cmd-shim when Node.js is on a different hard-drive than Yarn's cache: npm/cmd-shim#21. It should be fixed in cmd-shim. Once a new version is available, we can update the dependency in Yarn.
I installed my Node.JS in D:\Node\v6.9.1 , then I use Yarn install the global package successfully:
yarn install webpack
However, when I run it:
λ webpack
The filename, directory name, or volume label syntax is incorrect.
I discovered that Yarn install global package at C:\Users\Wenris\AppData\Local\Yarn\config\global instead of C:\Users\Wenris\AppData\Roaming\npm , where my NPM choose.
That's all right, but Yarn installed a wrong startup script webpack.cmd in my Node.JS root dir:
λ cat webpack.cmd
@"%~dp0\C:\Users\Wenris\AppData\Local\Yarn\config\global\node_modules\.bin\webpack.cmd" %*
So?
The text was updated successfully, but these errors were encountered: