storefront icon indicating copy to clipboard operation
storefront copied to clipboard

pnpm dev not run

Open dxrvip opened this issue 2 years ago • 2 comments

  1. saleor storefront create
  2. cd saleor-demo
  3. pnpm i
  4. pnpm dev

prompt result

@saleor/ui-kit:build: cache miss, executing 7ba5720391a5d1d6
checkout-common:build: cache miss, executing 3a20dae411fcd75b
checkout-common:build:
checkout-common:build: > [email protected] build C:\Users\Administrator\code\saleor\saleor-demo\packages\checkout-common
checkout-common:build: > NODE_ENV=production rollup -c
checkout-common:build:
@saleor/ui-kit:build:
@saleor/ui-kit:build: > @saleor/[email protected] build C:\Users\Administrator\code\saleor\saleor-demo\packages\ui-kit
@saleor/ui-kit:build: > rollup -c
@saleor/ui-kit:build:
checkout-common:build: 'NODE_ENV' �����ڲ����ⲿ���Ҳ���ǿ����еij���
checkout-common:build: ���������ļ���
checkout-common:build:  ELIFECYCLE  Command failed with exit code 1.
checkout-common:build: ERROR: command finished with error: command (C:\Users\Administrator\code\saleor\saleor-demo\packages\checkout-common) pnpm run build exited (1)
@saleor/ui-kit:build:
@saleor/ui-kit:build: src/index.ts → dist/cjs/index.js, dist/esm/index.js...
@saleor/ui-kit:build: created dist/cjs/index.js, dist/esm/index.js in 12.3s
@saleor/ui-kit:build:
@saleor/ui-kit:build: ./dist/esm/index.d.ts → dist/index.d.ts...
@saleor/ui-kit:build: (!) Unresolved dependencies
@saleor/ui-kit:build: https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency
@saleor/ui-kit:build: @lib/globalTypes (imported by dist/esm/components/Checkbox/Checkbox.d.ts, dist/esm/components/Chip/Chip.d.ts, dist/esm/components/IconButton/IconButton.d.ts, dist/esm/components/InfoTip/InfoTip.d.ts, dist/esm/components/Radio/Radio.d.ts, dist/esm/components/Switch/Switch.d.ts, dist/esm/components/Select/Select.d.ts, dist/esm/components/TextInput/TextInput.d.ts)
@saleor/ui-kit:build: created dist/index.d.ts in 271ms
command (C:\Users\Administrator\code\saleor\saleor-demo\packages\checkout-common) pnpm run build exited (1)

dxrvip avatar Oct 01 '22 12:10 dxrvip

Hello @dxrvip 👋

Can you please provide more details about your environment? What is your pnpm and Node version?

peelar avatar Oct 03 '22 09:10 peelar

Please use the Bug Template when filing bugs. It makes it easier for us to reproduce the problems and, in effect, faster for you to see the fix released :) Thanks!

typeofweb avatar Oct 03 '22 19:10 typeofweb

Closed in favor of https://github.com/saleor/react-storefront/issues/510

typeofweb avatar Oct 10 '22 16:10 typeofweb