Error on latest version installation
npm install -g [email protected]
npm WARN deprecated [email protected]: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0. npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated [email protected]: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0. npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail o n node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible . Use 'npm ls graceful-fs' to find it in the tree. C:\Users\DELL\AppData\Roaming\npm `-- (empty)
npm WARN In [email protected] replacing bundled version of semver with semver@4
.2.0
npm WARN In [email protected] replacing bundled version of ionic-app-lib with i
[email protected]
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs
node_modules\npm\bin\npm-cli.js" "install" "-g" "[email protected]"
npm ERR! node v6.3.1
npm ERR! npm v3.10.3
npm ERR! path C:\Users\DELL\AppData\Roaming\npm\node_modules.staging
ansi-0e9facce
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 'C:\Users\DELL \AppData\Roaming\npm\node_modules.staging\ansi-0e9facce' -> 'C:\Users\DELL\AppData\Roaming\npm\node_modules\ionic\node_modules\cordova-lib\node_mod ules\ansi' npm ERR! enoent ENOENT: no such file or directory, rename 'C:\Users\DELL\AppData\Roaming\npm\node_modules.staging\ansi-0e9facce' -> 'C:\Users\DELL\AppData\Roaming\npm\node_modules\ionic\node_modules\cordova-lib\node_mod ules\ansi' npm ERR! enoent This is most likely not a problem with npm itself npm ERR! enoent and is related to npm not being able to find a file. npm ERR! enoent
npm ERR! Please include the following file with any support request: npm ERR! C:\Users\DELL\npm-debug.log npm ERR! code 1
latest version gives the above error... kindly suggest the stable version...
Following helps me: updated npm to the latest version, deleted node_modules and install everything from the scratch.
@bazigatabassum could you try the following to get the latest.
npm uninstall -g ionic
npm install -g [email protected]
Let me know if this works for you. Thanks!
Thanks for the issue! This issue appears to be associated with an old version of the Ionic CLI. Please update to the latest CLI version, which supports all versions of the Ionic Framework. If the issue is relevant and if it persists after updating to the latest CLI version, please create a new issue.
Thank you for using Ionic!