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

[Bug] "yarn start" fails to start #78

Open
yaojingguo opened this issue Feb 25, 2024 · 0 comments
Open

[Bug] "yarn start" fails to start #78

yaojingguo opened this issue Feb 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@yaojingguo
Copy link
Contributor

yaojingguo commented Feb 25, 2024

$ node --version
v18.19.0
$ yarn --version
1.22.21
$ yarn start
yarn run v1.22.21
$ lerna run start --stream --parallel
lerna notice cli v3.22.1
lerna info Executing command in 2 packages: "yarn run start"
dev: $ node ./esbuild.config.mjs --dev tsc --watch
perfect-freehand: $ node scripts/dev & tsc --watch --incremental --emitDeclarationOnly --declarationMap --outDir dist/types
dev:
dev: Serving 🍛
dev:
dev: Local → http://localhost:5420
dev:
dev: Network → http://10.0.0.3:5420
dev:
dev:  > src/state/shapes/draw.tsx:14:26: error: Could not resolve "perfect-freehand" (mark it as external to exclude it from the bundle)
dev:     14 │ import { getStroke } from 'perfect-freehand'
dev:        ╵                           ~~~~~~~~~~~~~~~~~~
dev:    ../../node_modules/perfect-freehand/package.json:28:16: note: The module "./dist/esm/index.mjs" was not found on the file system
dev:     28 │       "import": "./dist/esm/index.mjs"
dev:        ╵                 ~~~~~~~~~~~~~~~~~~~~~~
perfect-freehand:
9:35:41 PM - Starting compilation in watch mode...
dev: error Command failed with exit code 1.
dev: info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
lerna ERR! yarn run start exited 1 in 'dev'
lerna WARN complete Waiting for 1 child process to exit. CTRL-C to exit immediately.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

commit 315d598

@yaojingguo yaojingguo added the bug Something isn't working label Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant