G
G
GaserV2022-03-05 11:24:29
typescript
GaserV, 2022-03-05 11:24:29

How to fix Failed to resolve scss error in Parcel?

Such a problem. Instead of react-scripts, I decided to implement Parcel. Faced a problem:

@parcel/core: Failed to resolve 'assets/style.scss' from './src/index.tsx'

Maybe something with the paths? .parcelrc has this:
{
  "extends": "@parcel/config-default",
  "transformers": {
    "*.{ts,tsx}": ["@parcel/transformer-typescript-tsc"]
  }
}


this still pops up:
Can't resolve 'react/jsx-runtime

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question