Question T11124
Visible to All Users

Problem finding CSS file when upgrading

created 2 years ago

Hi,

We at Enento Group / Suomen Asiakastieto (Finland) are using the SurveyJS for creating surveys and gathering information form customers.

I got the task to upgrade the version from 1.9.8 to 1.9.54 by upgrading the dependencies in package.json like this:

from

Code
"survey-core": "^1.9.8",     "survey-creator-react": "^1.9.8-beta.1",     "survey-pdf": "^1.9.8",     "survey-react": "^1.9.8",

to

Code
"survey-core": "^1.9.54",     "survey-creator-react": "^1.9.54",     "survey-pdf": "^1.9.54",     "survey-react": "^1.9.54",

After that our surveys seem to work quite fine (no errors found yet) but the Survey Creator on the other hand throws this:

Module not found: Can't resolve 'survey-creator-react/survey-creator-react.min.css'

when we try to import the file in our custom code.

Do you have any clue where that find ended up?

Best regards,
Ronnie Snellman

Answers approved by surveyjs Support

created 2 years ago

Hell Ronnie,
Please use "survey-creator-core/survey-creator-core.min.css".
I suggest to use "defaultV2" theme. You can find examples of using it in our examples and documentation.

Thank you,
Andrew
SurveyJS Team

    Comments (2)

      Hi Andrew,

      I knew it couldn't be hard to solve and the survey-creator-core module works fine. Actually it seems like we are using the defaultV2 theme.

      Thanks a lot for the quick answer!
      Regards,
      Ronnie

        Hello Ronnie,
        You are very welcome!

        Andrew
        SurveyJS Team