Comments (7)
As a temporary fix for this, I suggest adding a --skip-install
option (the angular-cli has it and I think the ember-cli). Users can just skip installation and manually use pnpm
from create-cycle-app.
@zkochan Thanks for taking a look.
By default it runs npm to install. And I found when I then run pnpm install
it seemed to move things around to be the pnpm config. But I was concerned it was not 'officially' supported. However I found a couple of files were then not found when trying to run the webpack dev server so is not a good solution
Re the error. I rummaged around but got lost. However a better solution is to use the eject
script so it does no such resolving lookups.
I'll leave this open for others to comment on adding pnpm support. I'd like to use it. I know @staltz has been using it for his work and also likes it.
from create-cycle-app.
@zkochan Ah, I was told it does! Thanks for correction.
from create-cycle-app.
So you suggest to run yarn first and then pnpm? pnpm will move folders created by yarn into node_modules/.ignored
. pnpm won't reuse anything that was installed by yarn, so this solution would be not optimal.
Regarding the error, I don't know what can be the reason, I need to have a deeper look into it.
from create-cycle-app.
Closing as the advantage of pnpn is it links to a local cache of packages and latest npm does the same.
from create-cycle-app.
No, npm does not link from the cache. And unlikely will. It copies packages from the cache, like Yarn
from create-cycle-app.
I had discussions about this with the npm team. They are not planning to support linking from the cache
from create-cycle-app.
Related Issues (20)
- [CCA Diversity] better integrations test coverage HOT 4
- [CCA-Diversity] Move back to webpack CLI HOT 3
- Typescript & Javascript prompt for cycle-scripts HOT 2
- Bring cycle-scripts-one-fits-all flavor in CCA monorepo HOT 1
- Port documented as 8000, listens on 8080 HOT 2
- 3.0.8 fails to install on Windows cmd HOT 2
- Publish new version of create-cycle-app HOT 2
- Duplicate versions of xstream HOT 2
- Documentation for internal work
- Duplicate meta tags for favicon HOT 2
- npm run test fails on v4.0.0 HOT 2
- Incorrect DOMSource type imported for Most.js and RxJs streamLib types
- Reload not working HOT 4
- create-cycle-app always create typescript version
- Is it safe to enable `strictFunctionTypes`? HOT 1
- create-cycle-app throws an error
- create-cycle-app has problems with css-loader HOT 1
- Warn & error when npm start HOT 2
- create-cycle-app
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.
from create-cycle-app.