Git Product home page Git Product logo

Comments (5)

SaltFish001 avatar SaltFish001 commented on July 17, 2024

我在mabookpro上能成功启动

from electron-react-tpl.

SaltFish001 avatar SaltFish001 commented on July 17, 2024

我解决问题了, 在 /src/render/layouts/index.ts

 ...
 // import store from '@utils/Store/'
 import store from '../utils/store'
 ...

不知道是不是linux下不支持 ‘@utils/Store' 这种语法导致。webpack 打包的时候会把它当成一个依赖,找不到,然后导致构建失败。没有生成相应的文件。就会有上面的报错

from electron-react-tpl.

SaltFish001 avatar SaltFish001 commented on July 17, 2024

能确定是因为你'@utils/Store'大写了 S 因为wsl2大小写敏感,导致路径识别错误。macOS大小写不敏感 所以能正常运行。建议修改一下

from electron-react-tpl.

SaltFish001 avatar SaltFish001 commented on July 17, 2024

@qld-cf

from electron-react-tpl.

qld-cf avatar qld-cf commented on July 17, 2024

能确定是因为你'@utils/Store'大写了 S 因为wsl2大小写敏感,导致路径识别错误。macOS大小写不敏感 所以能正常运行。建议修改一下

收到 感谢指正

from electron-react-tpl.

Related Issues (17)

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.