cssinjs / cssinjs/jss

[cli] stripUnit(...).replace is not a function

Open
#1,385 4 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
JavaScript
Stars
7.1k
Forks
386
PR merge metrics
No merged PRs in 30d

Description

I'm running `npx jss-cli convert myfile.css -e es6` and I get this error:
```
stripUnit(...).replace is not a function
```

Is anyone else having this issue?

I'm doing some further investigation now.

Contributor guide

Open the contributing guide

Research direction

Reproduce the reported `npx jss-cli convert myfile.css -e es6` command and trace where the `stripUnit(...).replace` error occurs. Confirm the expected ES6 conversion behavior and verify that the command completes without this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.