Skip to main content
Latest news: [[ newestAnnouncement.title ]] Learn more
InVision Support Home Page
Sign in
InVision ambassador ambassador
Nien-Hua Gu
Nien-Hua Gu Updated

Integration errors

Hello Invision team,

I encountered this error when I integrate DSM. Could you provide some supports? Thanks in advance.

Regards,
Nien-Hua


--------------------------------------------------- DSM Log Start ---------------------------------------------------
Error message: Could not verify @invisionapp/dsm-storybook version. Please check your connection

Created Date: 3/29/2021, 6:11:38 PM
Story file path: No story file path
Component file path: Not found in "in-dsm"

### FILE: package.json

{
"pkg": {
"name": "react-components",
"version": "0.1.0",
"private": true,
"dependencies": {
"@invisionapp/dsm-storybook": "^0.0.142",
"@material-ui/core": "^4.11.3",
"@material-ui/styles": "^4.11.3",
"@storybook/addon-actions": "^6.1.18",
"@storybook/addon-essentials": "^6.1.18",
"@storybook/addon-knobs": "^6.1.20",
"@storybook/addon-links": "^6.1.18",
"@storybook/addon-options": "^5.3.21",
"@storybook/addons": "^6.1.20",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@types/jest": "^26.0.15",
"@types/node": "^12.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"node-sass": "4.14.1",
"react": "16.10.0",
"react-dom": "16.10.0",
"react-scripts": "4.0.3",
"typescript": "^4.1.2",
"web-vitals": "^1.0.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"storybook": "start-storybook -p 6006 -s public",
"build-storybook": "build-storybook -s public",
"dsm-storybook:publish": "dsm-storybook publish",
"dsm-storybook:preview": "dsm-storybook preview"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest",
"@bloomreach/eslint-config",
"prettier"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@bloomreach/eslint-config": "^0.1.0",
"@storybook/node-logger": "^6.1.18",
"@storybook/preset-create-react-app": "^3.1.6",
"@storybook/react": "^6.1.18",
"eslint": "^7.20.0",
"eslint-config-prettier": "^8.0.0",
"prettier": "^2.2.1"
},
"readme": "ERROR: No README data found!",
"_id": "react-components@0.1.0"
},
"path": "/Users/nien-hua.gu/repos/bloomreach-frontend-component-library/react-components/package.json"
}

### FILE: '.dsmrc'

{
"dsmHost": "bloomreach.invisionapp.com",
"organization": "bloomreach",
"outputDir": ".dsm",
"storyPath": "src/**/*.stories.tsx"
}

#### STORYBOOK CONFIG /Users/nien-hua.gu/repos/bloomreach-frontend-component-library/react-components/.storybook/*

### FILE: /Users/nien-hua.gu/repos/bloomreach-frontend-component-library/react-components/.storybook/main.js

module.exports = {
"stories": [
"../src/**/*.stories.mdx",
"../src/**/*.stories.@(js|jsx|ts|tsx)"
],
"addons": [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/preset-create-react-app",
'@storybook/addon-knobs',
"@invisionapp/dsm-storybook"
]
};

,
### FILE: /Users/nien-hua.gu/repos/bloomreach-frontend-component-library/react-components/.storybook/manager.js

import { addons } from '@storybook/addons';
import { getDsmOptions } from "@invisionapp/dsm-storybook";

addons.setConfig({
...getDsmOptions(process.env.STORYBOOK_DSM)
});

,
### FILE: /Users/nien-hua.gu/repos/bloomreach-frontend-component-library/react-components/.storybook/preview.js

import React from 'react';
import { ThemeProvider } from '@material-ui/styles';
import { withDsm } from '@invisionapp/dsm-storybook';

import mainTheme from '../src/themes/main.theme';

export const parameters = {
actions: { argTypesRegex: "^on[A-Z].*" },
};

const themeDecor = (story) => (
<ThemeProvider theme={mainTheme}>{story()}</ThemeProvider>
);

export const decorators = [ withDsm, themeDecor ];


--------------------------------------------------- DSM Log End -----------------------------------------------------

This post is associated with a known feature request: [[ problemTicketSubject ]]. Let our Product team know that you’re interested in this feature.

Sign in to add your vote

Thanks for taking the time to share your feedback about making our product better. We’ve let our Product team know that you’re interested in this feature so they can factor that into their product strategy.

0

comments

Sort by

Raynor B
InVision ambassador Raynor B , InVision Employee , ambassador

Hi Nien-Hua,

I've opened a ticket on your behalf based of a previous message about this on another thread. I've gone ahead and added these log details to that ticket, but please keep an eye out for an email from me regarding this and requesting further details. 

Thanks, Nien-Hua!

Best,
Raynor

0

join the conversation

To comment, sign up or sign in.