Comments (4)
It appears the issue here is at least partially this one: pnpm/pnpm#5340
Since we get a fully new lockfile with ember-try, pnpm throws. This relates to another issue with pnpm for which I have not found an open issue: once the lockfile has printed an error/warning for a missing peer-dep once, it will not do so again until significant enough changes to the lock have occurred. This means that without ember-try, this issue is not observable because the lockfile is somehow suppressing the error.
from ember-try.
Looks as though the root cause here is the above plus incompatibility of fastboot with pnpm when using hoist=false
. Fastboot currently expects that all whitelisted fastboot dependencies are resolvable from the parent project which may not be true if declared by an addon.
from ember-try.
Thoughts here @NullVoxPopuli ?
from ember-try.
@runspired's investigation makes sense -- fastboot hasn't been updated in a long while, and I wouldn't put it past that project to have slightly incorrect deps.
It's a little hard to debug with the ember-data repo for me because it's big enough where it's not always clear what's a config issue and what's a pnpm issue.
minimal repos using the v2 addon blueprint are my go-to for debugging these sorts of things.
from ember-try.
Related Issues (20)
- Ember beta or Ember Data beta donβt get properly installed after e12c4ca HOT 1
- CI is broken HOT 1
- Table output vanished
- Ember-try doesn't read config location from package.json
- Ember Data config not working HOT 1
- Ember Try scenario failing on Travis with a Segmentation fault HOT 22
- `ember try:reset` with workspaces HOT 1
- Dependencies can leak between scenarios HOT 4
- Stop using `--no-lockfile` / `--no-shrinkwrap` by default? π€ HOT 3
- Stop backing up `node_modules`? π€ HOT 4
- Move backups to system tmp directory (instead of in project)
- Yarn Berry (v2 & v3) is not supported: Unsupported option name ("--no-lockfile") HOT 1
- `pnpm` or generic package manager support HOT 1
- Error: Cannot copy '../semver/bin/semver.js' to a subdirectory of itself HOT 11
- Support test reporters for CI HOT 3
- ember try:ember seems to be doing a bit too much HOT 7
- Yarn workspaces HOT 3
- pnpm workspace support
- ember-try seems to be broken in Ember beta/canary HOT 2
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 ember-try.