Skip to content

Running codemod for adoption-from-rbd-13 error 'Error loading transform module:' #217

@neil-buckley

Description

@neil-buckley

I have installed

"@atlaskit/codemod-cli": "^0.28.1",
    "@atlaskit/codemod-utils": "^4.2.5",
    "@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration": "^2.0.4",

But running:

npx @atlaskit/codemod-cli@latest --parser tsx --extensions ts,tsx,js ./src

Gives me

Running transform '0.1.0-adoption-from-rbd-13' over src...
Running filtering logic for module @atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration...
Could not filter source paths for @atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration, falling back to running over all specified paths. (See --no-filter-paths flag)
Transforming files matching these extensions 'ts,tsx,js'...
Error loading transform module: /Projects/react-kanban/node_modules/@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration/codemods/0.1.0-adoption-from-rbd-13.tsx. Skipping lifecycle hooks.
Processing 28 files... 
Spawning 8 workers...
Sending 4 files to free worker...
Sending 4 files to free worker...
Sending 4 files to free worker...
Sending 4 files to free worker...
Sending 4 files to free worker...
Sending 4 files to free worker...
Sending 4 files to free worker...
All done. 
Results: 
0 errors
28 unmodified
0 skipped
0 ok

Any ideas? Running node v22.15.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions