lanjingling0510 / react-mobile-datepicker

🙊 👻 look a demo, Please imitate mobile environment.
https://codepen.io/lanjingling0510/pen/LRpOYp?editors=1010
MIT License
301 stars 145 forks source link

npm could not install this package #22

Open ming2xiao opened 6 years ago

ming2xiao commented 6 years ago

npm ERR! path D:\ReactNavigation\H5\node_modules\react-mobile-datepicker npm ERR! code ENOENT npm ERR! errno -4058 npm ERR! syscall rename npm ERR! enoent ENOENT: no such file or directory, rename 'D:\ReactNavigation\H5\node_modules\react-mobile-datepicker' -> 'D:\ReactNavigation\H5\node_modules.react-mobile-datepicker.DELETE' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\xiaooming\AppData\Roaming\npm-cache_logs\2018-03-08T07_56_01_675Z-debug.log

lanjingling0510 commented 6 years ago

@dingxiaoming521 Please provide your node and npm versions.

ming2xiao commented 6 years ago

@lanjingling0510 the package has installed and there are some other mistakes. I use it by: import DatePicker from 'react-mobile-datepicker'; but the browser throw error: Uncaught Error: Cannot find module "react-mobile-datepicker" at webpackMissingModule (index.js:11) at Object.363 (index.js:11) at __webpack_require__ (bootstrap eae4790207c938601450:52) at route-config.js:62 at webpackJsonpCallback (bootstrap eae4790207c938601450:20) at transactionDetailsComponent.js:1