Skip to content
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

Platform module not found #1

Open
basurahan opened this issue Sep 5, 2018 · 0 comments
Open

Platform module not found #1

basurahan opened this issue Sep 5, 2018 · 0 comments

Comments

@basurahan
Copy link

Whenever i install this plugin i will get an compilation error

(node:4280) UnhandledPromiseRejectionWarning: Error: Cannot find module '../cordova/platform_metadata' at Function.Module._resolveFilename (module.js:547:15) at Function.Module._load (module.js:474:25) at Module.require (module.js:596:17) at require (internal/module.js:11:18) at Context.requireCordovaModule (C:\Users\Frank\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\Context.js:77:12) at module.exports (C:\Users\Frank\Desktop\Software Engineering\App\plugins\cordova-plugin-add-swift-support\src\add-swift-support.js:23:34) at runScriptViaModuleLoader (C:\Users\Frank\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\HooksRunner.js:188:18) at runScript (C:\Users\Frank\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\HooksRunner.js:164:16) at C:\Users\Frank\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\HooksRunner.js:132:20 at _fulfilled (C:\Users\Frank\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\q\q.js:787:54) (node:4280) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:4280) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant