Comments (4)
Hey @koji , It looks like sharp dep is broken on node 12:
[Sharp] Nodejs 12 API makes gatsby broken
will follow up it soon
from ml5-website.
updated
"gatsby-plugin-sharp": "^2.6.10",
"gatsby-transformer-sharp": "^2.5.4",
There is another issue on gatsby-transformer-documentationjs
lol
gatsbyjs/gatsby#24592
from ml5-website.
Will this be fixed any time soon?
When I try to run gatsby on nodejs 12, getting an error:
fatal error: too many errors emitted, stopping now [-ferror-limit=]
2 warnings and 20 errors generated.
make: *** [Release/obj.target/sharp/src/common.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Darwin 19.4.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/gatsbyjs/WebstormProjects/infographopedia/node_modules/sharp
gyp ERR! node -v v12.18.0
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN [email protected] requires a peer of gatsby@^2.12.1 but none is installed. You must install peer dependencies yourself.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
from ml5-website.
@markvital
I think I could find out the solution for nodev12.
Can you try yarn
or npm i
after remove yarn.lock
/ package-lock.json
?
My PR has been merged, so now you just need to pull
and yarn
or npm i
from ml5-website.
Related Issues (20)
- Scroll position doesn't reset after page transitions HOT 2
- New PoseNet ml5.neuralNetwork() tutorial placement? HOT 2
- [Website Design] Tundi's Design Proposal
- Quickstart example for NeuralNetwork not working HOT 2
- Plan to translate this site into other languages? HOT 12
- [devOps] Change branch name from master -> main HOT 2
- inputLabels must be an array (sketch: line 46)
- Links to "getting started" and "docs" on homepage are not working - they don't point to the right page HOT 3
- p5js link is broken https://editor.p5js.org/ml5/sketches/ml5_boilerplate HOT 1
- Update the links in the community page
- BLM overlay is too large on mobile HOT 1
- Hamburger menu bottom-aligned on Reference (Docs) pages.
- Update BLMSolidarityModal to remove inline styles
- Background and foreground colors do not have a sufficient contrast ratio
- Delete docs folder HOT 2
- Code of Conduct missing on website
- Organization of ml5 examples HOT 9
- Outdated dependencies
- RIP Atom - Update to Hello ml5.js - A gentle introduction to ml5 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 ml5-website.