Coder Social home page Coder Social logo

rodgerlai / nodejs-nedb-excel Goto Github PK

View Code? Open in Web Editor NEW
30.0 2.0 10.0 4.63 MB

基于nodejs+webpack,以nosql轻量级嵌入式数据库nedb作为存储,页面渲染采用react+redux,样式框架为ant design,实现了excel表格上传导出以及可视化

License: Apache License 2.0

JavaScript 92.87% CSS 6.80% HTML 0.34%
nodejs react redux nedb excel webpack ant-design

nodejs-nedb-excel's Issues

npm run prod编译后

请问,npm run prod编译到dist目录后,怎么能正常运行dist下的index.html,怎么和真是库连接,谢谢!

npm install 报错了。。。

C:\Users\ly\Desktop\nodejs-nedb-excel-master>npm install
npm ERR! Windows_NT 10.0.15063
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v6.11.1
npm ERR! npm v3.10.10

npm ERR! shasum check failed for C:\Users\ly\AppData\Local\Temp\npm-10868-02b6314a\registry.npmjs.org\esprima-fb-\esprima-fb-3001.0001.0000-dev-harmony-fb.tgz
npm ERR! Expected: b77d37abcd38ea0b77426bb8bc2922ce6b426411
npm ERR! Actual: f786688836761070e16680250d4c4f6997f20b65
npm ERR! From: https://registry.npmjs.org/esprima-fb/-/esprima-fb-3001.0001.0000-dev-harmony-fb.tgz
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\ly\Desktop\nodejs-nedb-excel-master\npm-debug.log

npm run dev 访问http://localhost:8080地址 报跨域错误

请问,npm run dev 访问http://localhost:8080地址 报跨域错误 http://localhost:8080访问不起来吗?
错误如下:
Failed to load http://localhost:3000/api/getCurrentUser: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8080' is therefore not allowed access.
Logger.js:178 App: getCurrentUser error, Error: Request has been terminated
Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.
at Request.crossDomainError (client.js:702)
at XMLHttpRequest.xhr.onreadystatechange (client.js:770)

谢谢!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.