You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Laurent Zubiaur (JIRA)" <ji...@apache.org> on 2016/02/28 08:39:20 UTC
[jira] [Created] (CB-10722) Cannot find module 'semver' (OSX
platform)
Laurent Zubiaur created CB-10722:
------------------------------------
Summary: Cannot find module 'semver' (OSX platform)
Key: CB-10722
URL: https://issues.apache.org/jira/browse/CB-10722
Project: Apache Cordova
Issue Type: Bug
Components: CLI, OSX
Affects Versions: 6.0.0
Environment: OSX 10.11.2
Xcode 7.2.1
node 5.7.0
npm 3.6.0
Reporter: Laurent Zubiaur
Assignee: Tobias Bocanegra
When adding OSX platform I get the following error (Cannot find module 'semver') although semver is installed.
$ cordova platform add osx
Adding osx project...
Running command: /Users/lzubiaur/.cordova/lib/npm_cache/cordova-osx/4.0.0/package/bin/create /Users/lzubiaur/Dev/projects/node/tests/platforms/osx io.cordova.hellocordova HelloCordova
module.js:341
throw err;
^
Error: Cannot find module 'semver'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object.<anonymous> (/Users/lzubiaur/.cordova/lib/npm_cache/cordova-osx/4.0.0/package/bin/node_modules/cordova-common/src/ConfigChanges/ConfigChanges.js:37:14)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
Error: /Users/lzubiaur/.cordova/lib/npm_cache/cordova-osx/4.0.0/package/bin/create: Command failed with exit code 1
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org