A simple PNPM monorepo template. Vite, Pretter, ESLint, Turbo, included.
pnpm-workspace-monorepo's Introduction
pnpm-workspace-monorepo's People
Forkers
xieren58 fadedweiss zjtt suiyi8760 inspired-best-practise zidandirk hiliyongke liyw-liyw lei1996 mr3w taokouzi folex magic857pnpm-workspace-monorepo's Issues
`pnpm run dev:web`: No package.json found in 'run'
Describe the bug
I've cloned this repo, and then without any modifications, I do the following
pnpm i
– All is ok,Done in 5.4s
pnpm run dev:web
– Gives an error:No package.json ... was found in .../run
% pnpm run dev:web
> monorepo@ dev:web /Users/folex/Development/pnpm-workspace-monorepo
> concurrently --kill-others "pnpm -C run dev packages/web" "pnpm -C run watch packages/ui" "pnpm -C run watch packages/utils"
[1] ERR_PNPM_NO_IMPORTER_MANIFEST_FOUND No package.json (or package.yaml, or package.json5) was found in "/Users/folex/Development/pnpm-workspace-monorepo/run".
[2] ERR_PNPM_NO_IMPORTER_MANIFEST_FOUND No package.json (or package.yaml, or package.json5) was found in "/Users/folex/Development/pnpm-workspace-monorepo/run".
[0] ERR_PNPM_NO_IMPORTER_MANIFEST_FOUND No package.json (or package.yaml, or package.json5) was found in "/Users/folex/Development/pnpm-workspace-monorepo/run".
[1] pnpm -C run watch packages/ui exited with code 1
--> Sending SIGTERM to other processes..
[0] pnpm -C run dev packages/web exited with code 1
--> Sending SIGTERM to other processes..
[2] pnpm -C run watch packages/utils exited with code 1
ELIFECYCLE Command failed with exit code 1.
Thanks in advance!
Reproduction
1. git clone [email protected]:Innei/pnpm-workspace-monorepo.git
2. pnpm i
3. pnpm run dev:web
System Info
% pnpm --version
7.25.0
% node --version
v16.13.2
% uname -a
Darwin mac.local 21.6.0 Darwin Kernel Version 21.6.0: ... arm
Used Package Manager
pnpm
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.
how to build and publish @test/ui and @test/utils
hi @Innei , in this pnpm monorepo template, how do we build and publish the @test/ui
and @test/utils
packages, so other projects can install and use them?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.