Я устанавливаю на gpm-й ионный код записи consolejs console и эту ошибку, как я могу исправить. Я одна неделя, эта проблема и каждое решение пытаются. nodejs -v 6.4 НОГО 3.10.6 Cordova 6.3 1) Проблема ионной версияnpm install ERR! код ENOENT
C:\Users\jhon>ionic --version
Caught exception:
Error: Cannot find module 'lodash/assign'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (C:\Users\jhon\AppData\Roaming\npm\node_modules\ionic\node_modules\xmlbuilder\lib\index.js:5:12)
at Object.<anonymous> (C:\Users\jhon\AppData\Roaming\npm\node_modules\ionic\node_modules\xmlbuilder\lib\index.js:14:4)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
Mind letting us know? https://github.com/driftyco/ionic-cli/issues
2) Проблема НОЙ установки -g ионного **
C:\Users\jhon>npm install -g ionic
npm WARN deprecated [email protected]: cross-spawn no longer requires a build toolchain, use it instead!
npm WARN deprecated [email protected]: [email protected]<3.0.0 is no longer maintained. Upgrade to [email protected]^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]: [email protected]<3.0.0 is no longer maintained. Upgrade to [email protected]^4.0.0.
npm WARN deprecated [email protected]: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to [email protected]^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
C:\Users\jhon\AppData\Roaming\npm
`-- (empty)
npm WARN In [email protected] replacing bundled version of semver with [email protected]
npm WARN In [email protected] replacing bundled version of ionic-app-lib with [email protected]
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\jhon\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "ionic"
npm ERR! node v6.4.0
npm ERR! npm v3.10.6
npm ERR! path C:\Users\jhon\AppData\Roaming\npm\node_modules\.staging\ansi-6308e9d7
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 'C:\Users\jhon\AppData\Roaming\npm\node_modules\.staging\ansi-6308e9d7' -> 'C:\Users\jhon\AppData\Roaming\npm\node_modules\ionic\node_modules\cordova-lib\node_modules\ansi'
npm ERR! enoent ENOENT: no such file or directory, rename 'C:\Users\jhon\AppData\Roaming\npm\node_modules\.staging\ansi-6308e9d7' -> 'C:\Users\jhon\AppData\Roaming\npm\node_modules\ionic\node_modules\cordova-lib\node_modules\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\jhon\npm-debug.log
npm ERR! code 1
**
вы работаете за прокси – Aravind
спасибо, как я могу остановить прокси? –
Пробовал ли это? Это работает или какая ошибка вы получаете – Aravind