[AC-6511] Cannot find module './util/assign'
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2020-03-24T10:51:20.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Appcelerator CLI |
| Labels | n/a |
| Reporter | john adamis |
| Assignee | Abir Mukherjee |
| Created | 2020-03-23T08:38:54.000+0000 |
| Updated | 2020-03-24T10:51:20.000+0000 |
Description
After upgrading to the latest version (8.0.0) running the command appc I now get the following error:
Cannot find module './util/assign'
I uninstalled and installed cli again with the same results.
I am using a Mac version 10.14.6 with node 10.19 installed.
[~peaceofmind7] could you try the following: * Update npm
[sudo] npm install npm -g* Reinstall the CLI usingappc use latestI updated npm with npm install npm and reinstalled cli with appc use latest but this didn't work still getting the same exception. I also tried to uninstall and install appcelerator again with npm uninstall -g appcelerator npm install -g appcelerator Still getting the same error. If I set cli back to 7.1.2 version everything works fine. My npm version is 6.14.3 by the way.
Sorry John, in my previous comment I missed out the
--forceflag that forces a reinstall of the CLI soappc use latest --forceThanks Ewan, this is working now.
Awesome, thanks for confirming John and sorry for the issues!