Page 1 of 1

物料品台安装插件@ray-js/lamp-step-slider编译报错

Posted: 2024年 May 23日 18:25
by soso138

joson如下
-{
"name": "public-sdm-template",
"version": "1.0.1",
"description": "Panel SDM Template",
"main": "index.js",
"private": true,
"author": "Tuya.inc",
"license": "MIT",
"scripts": {
"start": "ray start --target tuya --bundler=webpack",
"build": "ray build --target tuya --bundler=webpack",
"lint": "eslint src --ext .js,.jsx,.ts,.tsx --fix"
},
"dependencies": {
"@ray-js/lamp-step-slider": "0.0.1",
"@ray-js/panel-sdk": "1.10.0",
"@ray-js/ray": "1.4.45",
"@ray-js/ray-error-catch": "0.0.23",
"@reduxjs/toolkit": "1.9.3",
"clsx": "1.2.1",
"react-redux": "7.2.1",
"redux-logger": "3.0.6"
},
"devDependencies": {
"@commitlint/cli": "7.2.1",
"@commitlint/config-conventional": "9.0.1",
"@ray-js/cli": "1.4.45",
"@types/lodash-es": "4.17.6",
"@types/react": "17.0.24",
"@types/react-dom": "17.0.9",
"core-js": "3.29.1",
"eslint-config-tuya-panel": "0.4.1",
"husky": "1.2.0",
"lint-staged": "10.2.11",
"typescript": "4.4.3"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS --config commitlint.config.js",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
".{ts,tsx,js,jsx}": [
"eslint --fix",
"git add"
],
"
.{json,md,yml,yaml}": [
"prettier --write",
"git add"
]
}
}

报错如下:


Re: 物料品台安装插件@ray-js/lamp-step-slider编译报错

Posted: 2024年 May 23日 18:57
by lshinylee

可以打开完整编辑器,把 package-lock.json 发到附件里提供一下。


Re: 物料品台安装插件@ray-js/lamp-step-slider编译报错

Posted: 2024年 May 23日 18:57
by lshinylee

可以打开完整编辑器,把 package-lock.json 发到附件里提供一下。