Comments (8)
Running out of ideas. Building a more recent version of node.js (v18.16.0) than what's provided by apt
(v10.19.0). Some installation documentation would be quite lovely.
from flu_frequencies.
Ran npm install
in web
folder, since it contains a package.json
file. Console spammed with messages like this:
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
I'm guessing the version of Node.js supplied by apt
is too ancient. Looking into using nvm to install a newer version alongside the existing one.
from flu_frequencies.
- Ran install script for nvm and restarted terminal
nvm install 18.14.0
which node
andwhich npm
now point to folder within/home/art/.nvm
from flu_frequencies.
npm install
ran much more smoothly with newer version.package.json
has nomain
defined, I have no idea how to start this app
from flu_frequencies.
Got app up and running with cp .env.example .env
and yarn dev
(thanks @rneher).
I'm going to erase my local copy of the repo and start all over again, and write some installation docs.
from flu_frequencies.
Resetting system:
rm -rf flu_frequencies/
sudo npm uninstall --global yarn
sudo apt remove npm
rm -rf .npm
rm -rf .nvm
from flu_frequencies.
Running into new problems with second install attempt:
art@Kestrel:~/git/flu_frequencies/web$ npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"18.2.0" from the root project
npm ERR! peer react@"^16.8.0 || ^17.0.0 || ^18.0.0" from @react-spring/[email protected]
npm ERR! node_modules/@react-spring/konva
npm ERR! @react-spring/konva@"9.6.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"16.8.x" from [email protected]
npm ERR! node_modules/react-konva
npm ERR! peer react-konva@"^16.8.0 || ^17.0.0" from @react-spring/[email protected]
npm ERR! node_modules/@react-spring/konva
npm ERR! @react-spring/konva@"9.6.1" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
from flu_frequencies.
Maybe v18.14.0 is too new?
art@Kestrel:~/git/flu_frequencies/web$ npm install --legacy-peer-deps
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '14.x || 16.x || 18.x', npm: '8.x' },
npm WARN EBADENGINE current: { node: 'v18.14.0', npm: '9.3.1' }
npm WARN EBADENGINE }
from flu_frequencies.
Related Issues (9)
- Suggested modifications to web interface HOT 2
- Tooltip needs to switch location relative to mouse by context HOT 14
- Plot width does not return to shorter scale on window resize HOT 1
- All variant frequencies for South Asia region are 1 HOT 1
- Increase plot margins by one week so that points are not cutoff HOT 1
- Remove '?' countries and regions
- China region vs China country HOT 2
- Unexpected polars panic exception when creating day count column in `fit_single_frequencies.py` 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 flu_frequencies.