You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import Slider from 'react-slider-light';里提示以下信息:
module "c:/budiler/kaiyuanzyWeb/ky-web/node_modules/react-slider-light/lib/index"
无法找到模块“react-slider-light”的声明文件。“c:/budiler/kaiyuanzyWeb/ky-web/node_modules/react-slider-light/lib/index.js”隐式拥有 "any" 类型。
Try npm install @types/react-slider-light if it exists or add a new declaration (.d.ts) file containing declare module 'react-slider-light';ts(7016)
C:\budiler\kaiyuanzyWeb\ky-web\scripts\start.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:797:15)
at Function.Module._load (internal/modules/cjs/loader.js:690:27)
at Module.require (internal/modules/cjs/loader.js:852:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (C:\budiler\kaiyuanzyWeb\ky-web\config\webpack.config.js:6:17)
at Module._compile (internal/modules/cjs/loader.js:959:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Function.Module._load (internal/modules/cjs/loader.js:727:14)
at Module.require (internal/modules/cjs/loader.js:852:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'C:\budiler\kaiyuanzyWeb\ky-web\config\webpack.config.js',
'C:\budiler\kaiyuanzyWeb\ky-web\scripts\start.js'
]
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.21.1iyuanzyWeb\ky-web> yarn move react-slider-light
error Command "move" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.`
import Slider from 'react-slider-light';里提示以下信息:
module "c:/budiler/kaiyuanzyWeb/ky-web/node_modules/react-slider-light/lib/index"
无法找到模块“react-slider-light”的声明文件。“c:/budiler/kaiyuanzyWeb/ky-web/node_modules/react-slider-light/lib/index.js”隐式拥有 "any" 类型。
Try
npm install @types/react-slider-light
if it exists or add a new declaration (.d.ts) file containingdeclare module 'react-slider-light';
ts(7016)请问这个要怎么弄,是按提示输入npm install @types/react-slider-light`这个指令吗?
The text was updated successfully, but these errors were encountered: