-
-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix install error on windows #207
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I get this with your source
PS C:\Users\herna\Desktop\Desarrollo\delegacionDeportes> ionic cordova plugin add cordova-plugin-fcm-with-dependecy-updated
cordova.cmd plugin add cordova-plugin-fcm-with-dependecy-updated
Installing "cordova-plugin-fcm-with-dependecy-updated" for android
Subproject Path: CordovaLib
Subproject Path: app
Running hook: C:\Users\herna\Desktop\Desarrollo\delegacionDeportes\plugins\cordova-plugin-fcm-with-dependecy-updated\scripts\install_ionic_dependencies.bat C:\Users\herna\Desktop\Desarrollo\delegacionDeportes
El sistema no puede encontrar la ruta especificada.
El sistema no puede encontrar la ruta especificada.
internal/modules/cjs/loader.js:883
throw err;
^
Error: Cannot find module 'C:\Users\herna\Desktop\Desarrollo\delegacionDeportes\node_modules\install_ionic_dependencies.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
internal/modules/cjs/loader.js:883
throw err;
^
Error: Cannot find module 'C:\Users\herna\Desktop\Desarrollo\delegacionDeportes\node_modules\install_ionic_dependencies.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
internal/modules/cjs/loader.js:883
throw err;
^
Error: Cannot find module 'C:\Users\herna\Desktop\Desarrollo\delegacionDeportes\node_modules\install_ionic_dependencies.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Failed to install 'cordova-plugin-fcm-with-dependecy-updated': Error: Command failed with exit code 1: C:\Users\herna\Desktop\Desarrollo\delegacionDeportes\plugins\cordova-plugin-fcm-with-dependecy-updated\scripts\install_ionic_dependencies.bat C:\Users\herna\Desktop\Desarrollo\delegacionDeportes
at makeError (C:\Users\herna\AppData\Roaming\npm\node_modules\cordova\node_modules\execa\lib\error.js:59:11)
at handlePromise (C:\Users\herna\AppData\Roaming\npm\node_modules\cordova\node_modules\execa\index.js:114:26)
Command failed with exit code 1: C:\Users\herna\Desktop\Desarrollo\delegacionDeportes\plugins\cordova-plugin-fcm-with-dependecy-updated\scripts\install_ionic_dependencies.bat C:\Users\herna\Desktop\Desarrollo\delegacionDeportes
at processTicksAndRejections (internal/process/task_queues.js:93:5)
[ERROR] An error occurred while running subprocess cordova.
cordova.cmd plugin add cordova-plugin-fcm-with-dependecy-updated exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.
Hi @Herna1994 I think it might be something with the local installation. A piece of package.json:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job!
I'll finish tests and have it released
Fix #195