Comments (5)
You may need to add fusion-plugin-universal-events to your project
That fixed it! Should be added when you run yarn create fusion-app my-fusion-app
peer dependency was missing so I added it
Perfect!
from fusion-cli.
This is most likely caused by being on yarn >1.10.0 and not on the latest version of fusion-cli
You can fix this by running either uber-web upgrade --match fusion --force (to upgrade all fusion packages in lockstep), yarn upgrade fusion-cli (to upgrade only fusion-cli), or downgrading yarn (via brew, but not recommended since new machines may not have brew formulas for older yarn versions)
(From FusionJS - fusion dev EADDRINUSE)
Could you give that a try and let us know if that resolves it?
from fusion-cli.
I cant access the instance of Stack Overflow (its probably for Uber employees).
uber-web upgrade --match fusion --force
I dont have uber-web
. Is this an uber internal cli?
yarn upgrade fusion-cli
Just ran this, and it blew up (when I run yarn dev
):
error: (client) ./node_modules/fusion-plugin-react-router/dist/browser.es2017.es.js
Module not found: Error: Can't resolve 'fusion-plugin-universal-events' in '/Users/user/Development/fusion-app/node_modules/fusion-plugin-react-router/dist'
from fusion-cli.
Ah yeah, uber-web upgrade
is an internal CLI utility we use to upgrade Fusion dependencies (built on top of yarn upgrade
).
Ideally you are on the latest versions for all fusion-*
packages (which that tool would help with). Does yarn upgrade
-ing all of the Fusion.js packages resolve this?
You may need to add fusion-plugin-universal-events
to your project if you do not have it already, as fusion-plugin-react-router
has a peerDependency
on it.
from fusion-cli.
error: (client) ./node_modules/fusion-plugin-react-router/dist/browser.es2017.es.js
Module not found: Error: Can't resolve 'fusion-plugin-universal-events' in '/Users/user/Development/fusion-app/node_modules/fusion-plugin-react-router/dist'
I actually ran into this myself recently, the peer dependency was missing so I added it: fusionjs/fusion-plugin-react-router@7c9ffb4. But this hasn't been published in a new version just yet.
from fusion-cli.
Related Issues (20)
- Add support for uglifyOptions HOT 3
- Sourcemap is corrupted for injected dependencies HOT 2
- Improved Translation API via Hooks HOT 1
- Don't generate vendor chunks for async chunks
- No html escape for developer error
- Unable to resolve "core-js/modules/es7.promise.finally" HOT 1
- Cannot build fusion app when attempting to use globalize
- Add Support for web workers HOT 3
- Unable to debug with --watch HOT 5
- --no-hmr does not watch files
- Better release notes or changelog HOT 1
- Support non-literal translation keys for i18n HOT 9
- Fusion-cli support for HTTP2 HOT 5
- Add file list in package.json HOT 1
- Ability to disable/enable assumptions regarding sideEffectfulness for node_modules and project code independently HOT 2
- Add an option to avoid compiling for non-evergreen browser targets
- Allow configuring 'source-map' instead of 'hidden-source-map' for production builds. HOT 1
- When using a Service Worker I get "Module not found: Error: Can't resolve 'fs'" HOT 1
- Update enzyme-adapter-react-16 HOT 1
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 fusion-cli.