Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't start the project If use pnpm 7.5 version for dependency installation #990

Open
dawangraoming opened this issue Jul 5, 2022 · 0 comments

Comments

@dawangraoming
Copy link

What is the problem?

Use blitz cli to create a project, and all options be recommend.

after blitz dev, will see a lot of Error.

Paste all your error logs here:

error - ./app/core/components/Form.tsx
Module not found: Can't resolve 'styled-jsx/style' in '/Users/jayden/Documents/remote.nosync/code/to-the-moon/aaaa/app/core/components'
event - build page: /_error
wait  - compiling...
error - ./app/core/components/Form.tsx
Module not found: Can't resolve 'styled-jsx/style' in '/Users/jayden/Documents/remote.nosync/code/to-the-moon/aaaa/app/core/components'

Paste all relevant code snippets here:

just use blitz cli to create a project

What are detailed steps to reproduce this?

  1. Update pnpm to version 7.5.0
  2. Use blitz new demo
  3. cd demo
  4. blitz dev

Run blitz -v and paste the output here:

macOS Monterey | darwin-x64 | Node: v16.14.0

blitz: 0.45.4 (global)
blitz: 0.45.4 (local)

  Package manager: npm
  System:
    OS: macOS 12.4
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 664.75 MB / 32.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.14.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 8.3.1 - /usr/local/bin/npm
    Watchman: Not Found
  npmPackages:
    @prisma/client: 3.16.0-integration-tmp-revert-node14.1 => 3.16.0-integration-tmp-revert-node14.1
    blitz: 0.45.4 => 0.45.4
    prisma: 3.16.0-integration-tmp-revert-node14.1 => 3.16.0-integration-tmp-revert-node14.1
    react: 18.0.0 => 18.0.0
    react-dom: 18.0.0 => 18.0.0
    typescript: ~4.5 => 4.5.5

Please include below any other applicable logs and screenshots that show your problem:

No response

@beerose beerose transferred this issue from blitz-js/blitz Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant