clasp: TypeError: dotf is not a function

Expected Behavior

Being able to run clasp

Actual Behavior

Gets an error message on any execution of the clasp command

Steps to Reproduce the Problem

  1. Installing clasp like instructed

  2. Running “clasp” or “clasp login” results in the following:

    …AppData\Roaming\npm\node_modules@google\clasp\src\dotfile.js:89 RC: dotf(exports.DOT.RC.DIR, exports.DOT.RC.NAME), ^ TypeError: dotf is not a function

Specifications

  • Node version (node -v): v10.14.1
  • Version (clasp -v): Clasp -v failes
  • OS (Mac/Linux/Windows): Windows 10

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 1
  • Comments: 16 (2 by maintainers)

Most upvoted comments

@dermidgen : I just released dotf@1.4.2 which should address this issue

@robfordww there is an issue with the dotf package

A PR to fix it has been produced, for @grant to review and re-publish.

Meanwhile, the workaround is to edit Clasp package.json so that it does not use dotf@1.3.0

    "dotf": "~1.2.0",