Can not build ios

I execute “exp build: ios” command, and get following error messages.

[exp] Error validating credentials. You may need to clear them (with -c) and try again.
[exp] Request failed with status code 500

How do I solve this?

Update exp and try again please

1 Like

How do I update my exp?

npm i -g exp
1 Like

Many thanks for your reply, however, I get following error message when executing the command.

module.js:538
    throw err;
    ^

Error: Cannot find module '../lib/utils/unsupported.js'
    at Function.Module._resolveFilename (module.js:536:15)
    at Function.Module._load (module.js:466:25)
    at Module.require (module.js:579:17)
    at require (internal/module.js:11:18)
    at /usr/local/lib/node_modules/npm/bin/npm-cli.js:19:21
    at Object.<anonymous> (/usr/local/lib/node_modules/npm/bin/npm-cli.js:92:3)
    at Module._compile (module.js:635:30)
    at Object.Module._extensions..js (module.js:646:10)
    at Module.load (module.js:554:32)
    at tryModuleLoad (module.js:497:12)

01

something is wrong with your npm installation. Fix it, most likely you installed with brew via node.

brew reinstall node
1 Like

Thank you very, I slove the issue after download and installed the Node.js .pkg file.

I guess this happens after I installed macOS High Sierra 10.13.3 Update.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.