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
editor=/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code
then on npm edit
➜ npm edit read
npm ERR! code ENOENT
npm ERR! syscall spawn /Applications/Sublime
npm ERR! path /Applications/Sublime
npm ERR! errno -2
npm ERR! enoent spawn /Applications/Sublime ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
So, when i saw this i thought about 2 possibles issue:
the npmrc ini syntax was not supporting the empty space
spawn was not able to deal with the empty space
npmrc npm/ini
I've tried in runkit and seems fine
var ini = require("ini")
const a = ini.decode("editor=/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl")
in
.npmrc
add a path to an editor with an empty space in itor
then on
npm edit
So, when i saw this i thought about 2 possibles issue:
npmrc npm/ini
I've tried in runkit and seems fine
spawn
I've tried in node and seems fine too
Thus I believe this to be the line that cause the issue as it's looking for
\s+
cli/lib/commands/edit.js
Line 52 in 2273183
The text was updated successfully, but these errors were encountered: