'string-css' does not contain an export named 'css'

Open
#1 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

No source file or test is named. Start by reproducing the named import in a small React JavaScript project, then trace how string-css exposes its package exports. Done means the reported import no longer produces the missing-export error, with a regression test covering the import if the repository has a test setup.

Written by the indexing model from the issue text.

Description

When import the package in a React (JavaScript) project by

import { css } from 'string-css';

Got this error

'string-css' does not contain an export named 'css'

Dominant language
JavaScript
Stars
10
Forks
2
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.