StephenChou1017 / react-big-scheduler

A scheduler and resource planning component built for React and made for modern browsers (IE10+)
https://stephenchou1017.github.io/scheduler/#/
MIT License
754 stars 414 forks source link

:bug: Clone the enviroment but cannot run on localhost. #111

Open Summer-andy opened 5 years ago

Summer-andy commented 5 years ago

On install, have some errors.

hglbrg commented 5 years ago

I, too, have issues trying to make a local demo.

`Username>@<Machine MINGW64 ~/code $ git clone https://github.com/StephenChou1017/react-big-scheduler.git Cloning into 'react-big-scheduler'... remote: Enumerating objects: 15, done. remote: Counting objects: 100% (15/15), done. remote: Compressing objects: 100% (12/12), done. remote: Total 835 (delta 3), reused 6 (delta 3), pack-reused 820 Receiving objects: 100% (835/835), 610.65 KiB | 1.17 MiB/s, done. Resolving deltas: 100% (595/595), done.

@ MINGW64 ~/code $ cd react-big-scheduler/ @ MINGW64 ~/code/react-big-scheduler (master) $ npm i npm WARN tarball tarball data for url-parse@1.3.0 (sha512-zPvPA3T7P6M+0iNsgX+iAcAz4GshKrowtQBHHc/28tVsBc8jK7VRCNX+2GEcoE6zDB6XqXhcyiUWPVZY6C70Cg==) seems to be corrupted. Trying one more time. npm ERR! code EINTEGRITY npm ERR! sha512-zPvPA3T7P6M+0iNsgX+iAcAz4GshKrowtQBHHc/28tVsBc8jK7VRCNX+2GEcoE6zDB6XqXhcyiUWPVZY6C70Cg== integrity checksum failed when using sha512: wanted sha512-zPvPA3T7P6M+0iNsgX+iAcAz4GshKrowtQBHHc/28tVsBc8jK7VRCNX+2GEcoE6zDB6XqXhcyiUWPVZY6C70Cg== but got sha512-rh+KuAW36YKo0vClhQzLLveoj8FwPJNu65xLb7Mrt+eZht0IPT0IXgSv8gcMegZ6NvjJUALf6Mf25POlMwD1Fw==. (13865 bytes) npm WARN tarball tarball data for mime@1.4.1 (sha1-Eh+evEnjdm8xGnbh+hyAA8SwOqY=) seems to be corrupted. Trying one more time. npm ERR! code EINTEGRITY npm ERR! sha1-x6vpzIuHwLqodrGf3oP9RkeX44w= integrity checksum failed when using sha1: wanted sha1-x6vpzIuHwLqodrGf3oP9RkeX44w= but got sha512-VdxFOIEY3mNO5PtSRkkle/hPJDHvQhK21oa73K4yAc9qmp6N429gAyF1gZMOTMeS0/AYzaV/2Trcef+NaIonSA== sha1-01SQAw6091eN4pLObfsEqRoSiSM=. (4401 bytes) npm WARN tarball tarball data for mime@1.3.6 (sha1-WR2E02U6awtKO5343lqoEI5y5eA=) seems to be corrupted. Trying one more time. npm WARN tarball tarball data for lodash@4.17.4 (sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=) seems to be corrupted. Trying one more time. npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\jsx-ast-utils-2b620435\lib\values\expressions\ArrayExpression.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\intersperse-bb360d8c\test\test.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\jsx-ast-utils-2b620435\lib\values\expressions\FunctionExpression.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\jsx-ast-utils-2b620435\lib\values\expressions\Identifier.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\jsx-ast-utils-2b620435\lib\values\expressions\LogicalExpression.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\jsx-ast-utils-2b620435\lib\values\expressions\MemberExpression.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\@babel\types-9a637ac8\lib\constants\generated\index.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\jsx-ast-utils-2b620435\lib\values\expressions\ConditionalExpression.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\jsx-ast-utils-2b620435\lib\values\expressions\ObjectExpression.js' npm WARN tar ENOENT: no such file or directory, lstat 'C:\Users\\code\react-big-scheduler\node_modules\.staging\node-sass-8e681754\test\fixtures\watcher\main\partials' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\jsx-ast-utils-2b620435\lib\values\expressions\TaggedTemplateExpression.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\jsx-ast-utils-2b620435\lib\values\expressions\TemplateLiteral.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\jsx-ast-utils-2b620435\lib\values\expressions\ThisExpression.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\jsx-ast-utils-2b620435\lib\values\expressions\UnaryExpression.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\jsx-ast-utils-2b620435\lib\values\expressions\CallExpression.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\ipaddr.js-d0b9e0b2\test\ipaddr.test.coffee' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\jsx-ast-utils-2b620435\lib\values\expressions\UpdateExpression.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\jsx-ast-utils-2b620435\lib\values\expressions\BinaryExpression.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\es-abstract-d0f6b09d\test\helpers\values.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\jsx-ast-utils-2b620435\lib\values\expressions\index.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\es-abstract-d0f6b09d\test\index.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\jsx-ast-utils-2b620435\lib\values\expressions\NewExpression.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\es-abstract-d0f6b09d\test\tests.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\@babel\types-9a637ac8\lib\definitions\core.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\less-547f1148\test\css\modifyVars\extended.css' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\ajv-40a2ab5b\lib\compile\_rules.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\ajv-40a2ab5b\lib\compile\equal.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\ajv-40a2ab5b\lib\compile\formats.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\ajv-40a2ab5b\lib\compile\index.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\ajv-40a2ab5b\lib\compile\resolve.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\ajv-40a2ab5b\lib\compile\rules.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\ajv-40a2ab5b\lib\compile\schema_obj.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\ajv-40a2ab5b\lib\compile\ucs2length.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\ajv-40a2ab5b\lib\compile\util.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\ajv-40a2ab5b\lib\compile\validation_error.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\less-547f1148\test\css\rootpath-rewrite-urls-all\rootpath-rewrite-urls-all.css' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\less-547f1148\test\less-bom\import\css-import.less' npm ERR! Maximum call stack size exceeded npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\less-547f1148\test\less-bom\legacy\legacy.less' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\less-547f1148\test\less-bom\static-urls\urls.less' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\antd-9d80f9df\es\badge\index.d.ts' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\antd-9d80f9df\es\badge\index.js' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\antd-9d80f9df\es\badge\ScrollNumber.d.ts' npm WARN tar ENOENT: no such file or directory, open 'C:\Users\\code\react-big-scheduler\node_modules\.staging\antd-9d80f9df\es\badge\ScrollNumber.js' npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\\AppData\Roaming\npm-cache\_logs\2019-03-27T08_57_21_120Z-debug.log `
Summer-andy commented 5 years ago

I have the same problems as you. @pierrehagelberg

desilvaNSP commented 5 years ago

@sixiaodong123 and @pierrehagelberg , Get checkout to this commit and go around the scheduler until fix the issue. That commit worked to me.

amansor788 commented 5 years ago

@desilvaNSP wich commit is the working one to clone the repo now? last one is still not working (same errors mention above

MedAmineBenyettou commented 5 years ago

FIX : delete "pachage-lock.json" then do 'npm install' .