S
S
SLaMeeR2017-10-03 20:26:13
Android
SLaMeeR, 2017-10-03 20:26:13

How to fix ionic cordova run error?

What is this error and how to fix it?

C:\Users\Никита\app\YM>ionic cordova build --release android

The mistake itself
Error: Cannot find module 'C:\Users\Никита\app\YM\node_modules\@ionic\app-scripts'
    at Function.Module._resolveFilename (module.js:527:15)
    at Function.Module._load (module.js:476:23)
    at Module.require (module.js:568:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (C:\Users\Никита\AppData\Roaming\npm\node_modules\ionic\node_modules\@ionic\cli-utils\lib\ionic-angular\utils.js:39:16)
    at Generator.next (<anonymous>)
    at C:\Users\Никита\AppData\Roaming\npm\node_modules\ionic\node_modules\tslib\tslib.js:96:75
    at Promise (<anonymous>)
    at Object.__awaiter (C:\Users\Никита\AppData\Roaming\npm\node_modules\ionic\node_modules\tslib\tslib.js:92:16)
    at Object.importAppScripts (C:\Users\Никита\AppData\Roaming\npm\node_modules\ionic\node_modules\@ionic\cli-utils\lib\ionic-angular\utils.js:37:20)

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question