Titanium JIRA Archive
Appcelerator Community (AC)

[AC-6511] Cannot find module './util/assign'

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2020-03-24T10:51:20.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAppcelerator CLI
Labelsn/a
Reporterjohn adamis
AssigneeAbir Mukherjee
Created2020-03-23T08:38:54.000+0000
Updated2020-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.

Comments

  1. Ewan Harris 2020-03-23

    [~peaceofmind7] could you try the following: * Update npm [sudo] npm install npm -g * Reinstall the CLI using appc use latest
  2. john adamis 2020-03-24

    I 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.
  3. Ewan Harris 2020-03-24

    Sorry John, in my previous comment I missed out the --force flag that forces a reinstall of the CLI so appc use latest --force
  4. john adamis 2020-03-24

    Thanks Ewan, this is working now.
  5. Ewan Harris 2020-03-24

    Awesome, thanks for confirming John and sorry for the issues!

JSON Source