FLUID-6496: Running grunt tasks throws error with new grunt versions

Metadata

Source
FLUID-6496
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Ned Zimmerman
Reporter
Cindy Li
Created
2020-05-12T11:44:54.856-0400
Updated
2020-10-29T13:17:26.364-0400
Versions
N/A
Fixed Versions
  1. 3.0
Component
  1. Infrastructure

Description

1. At the root directory of the infusion project, open a terminal and run "npm install";
2. Grunt version 1.1.0 will be installed;
3. Run "grunt distributions" or "sudo grunt distributions", this warning will be thrown:

Unable to write "dist/assets/src/components/switch/css/stylus/../Switch.css" file (Error code: ENOENT). Use --force to continue

4. This warning will go way by following this instruction to downgrade the grunt version to 1.0.2.

Comments