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

小程序开发相关产品技术讨论,包括面板、智能小程序、React Native、Ray跨端框架、Panel SDK、微信小程序、小程序开发工具(IDE)及其他开发技术相关等话题


Post Reply
soso138
Posts: 1

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"
]
}
}

报错如下:

Attachments
企业微信截图_17164598861993.png

Tags:
lshinylee
Posts: 298

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

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

:D :D :D

lshinylee
Posts: 298

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

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

:D :D :D

Post Reply