siemprecollective / online-town-public-release Goto Github PK
View Code? Open in Web Editor NEWLicense: The Unlicense
License: The Unlicense
I wasnt sure what the correct NPM version was. The install broke on 8.10 provided by 18.04 LTS' repos.
npm install
loadDep:webpack-copy-plug ▐ ╢███████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
loadDep:webpack-copy-plug ▄ ╢███████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
WARN engine [email protected]: wanted: {"node":"^8.13.0 || >=10.10.0"} (current: {"node":"8.10.0",npm WARN deprecated [email protected]: versions < v5.0.0 do not handle NUL in passwords properly
loadDep:webpack-copy-plug ▀ ╢███████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
WARN engine [email protected]: wanted: {"node":"^8.13.0 || >=10.10.0"} (current: {"node":"8.10.0","npm":npm WARN deprecated [email protected]: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410
npm WARN deprecated [email protected]: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
loadDep:@firebase/util → ▀ ╢███████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
WARN engine @firebase/[email protected]: wanted: {"node":"^8.13.0 || >=10.10.0"} (current: {"node":"8.1loadDep:node-fetch → requ ▄ ╢███████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
WARN engine @grpc/[email protected]: wanted: {"node":"^8.13.0 || >=10.10.0"} (current: {"node":"8.10.0","nloadDep:semver → request ▀ ╢███████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
WARN engine [email protected]: wanted: {"node":">=10"} (current: {"node":"8.10.0","npm":"3.5.2loadDep:semver → addNamed ▐ ╢███████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
loadDep:lru-cache → reque ▐ ╢███████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
WARN engine [email protected]: wanted: {"node":">=10"} (current: {"node":"8.10.0","npm":"3.5.2"})
WARN engine [email protected]: wanted: {"node":">=10"} (current: {"node":"8.10.0","npm":"3.5.2"})
loadDep:bignumber.js ▐ ╢███████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
loadDep:@google-cloud/sto ▄ ╢███████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
WARN engine @google-cloud/[email protected]: wanted: {"node":"^8.13.0 || >=10.10.0"} (current: {"node":"npm ERR! Linux 4.15.0-135-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code EMISSINGARG
npm ERR! typeerror Error: Missing required argument #1
npm ERR! typeerror at andLogAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:31:3)
npm ERR! typeerror at fetchPackageMetadata (/usr/share/npm/lib/fetch-package-metadata.js:51:22)
npm ERR! typeerror at resolveWithNewModule (/usr/share/npm/lib/install/deps.js:456:12)
npm ERR! typeerror at /usr/share/npm/lib/install/deps.js:457:7
npm ERR! typeerror at /usr/share/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror at /usr/share/npm/lib/fetch-package-metadata.js:37:12
npm ERR! typeerror at addRequestedAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:82:5)
npm ERR! typeerror at returnAndAddMetadata (/usr/share/npm/lib/fetch-package-metadata.js:117:7)
npm ERR! typeerror at pickVersionFromRegistryDocument (/usr/share/npm/lib/fetch-package-metadata.js:134:20)
npm ERR! typeerror at /usr/share/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror This is an error with npm itself. Please report this error at:
npm ERR! typeerror <http://github.com/npm/npm/issues>
npm ERR! Linux 4.15.0-135-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code EMISSINGARG
npm ERR! typeerror Error: Missing required argument #1
npm ERR! typeerror at andLogAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:31:3)
npm ERR! typeerror at fetchPackageMetadata (/usr/share/npm/lib/fetch-package-metadata.js:51:22)
npm ERR! typeerror at resolveWithNewModule (/usr/share/npm/lib/install/deps.js:456:12)
npm ERR! typeerror at /usr/share/npm/lib/install/deps.js:457:7
npm ERR! typeerror at /usr/share/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror at /usr/share/npm/lib/fetch-package-metadata.js:37:12
npm ERR! typeerror at addRequestedAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:82:5)
npm ERR! typeerror at returnAndAddMetadata (/usr/share/npm/lib/fetch-package-metadata.js:117:7)
npm ERR! typeerror at pickVersionFromRegistryDocument (/usr/share/npm/lib/fetch-package-metadata.js:134:20)
npm ERR! typeerror at /usr/share/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror This is an error with npm itself. Please report this error at:
npm ERR! typeerror <http://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /opt/online-town/online-town-public-release/npm-debug.log
I upgraded to a newer LTS version:
curl -sL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
sudo apt-get install -y nodejs
node -v
v14.15.5
After upgrading to v14.15.5 I get the following error?
This doesnt appear to be a dependency issue, or atleast not obviously...
npm install
> [email protected] install /opt/online-town/online-town-public-release/node_modules/bufferutil
> node-gyp-build
> [email protected] install /opt/online-town/online-town-public-release/node_modules/utf-8-validate
> node-gyp-build
> [email protected] install /opt/online-town/online-town-public-release/node_modules/bcrypt
> node-pre-gyp install --fallback-to-build
node-pre-gyp WARN Using needle for node-pre-gyp https download
node-pre-gyp WARN Pre-built binaries not installable for [email protected] and [email protected] (node-v83 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error Remote end closed socket abruptly.
make: Entering directory '/opt/online-town/online-town-public-release/node_modules/bcrypt/build'
CC(target) Release/obj.target/nothing/../node-addon-api/src/nothing.o
AR(target) Release/obj.target/../node-addon-api/src/nothing.a
COPY Release/nothing.a
CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o
CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o
CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o
SOLINK_MODULE(target) Release/obj.target/bcrypt_lib.node
COPY Release/bcrypt_lib.node
COPY /opt/online-town/online-town-public-release/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node
TOUCH Release/obj.target/action_after_build.stamp
make: Leaving directory '/opt/online-town/online-town-public-release/node_modules/bcrypt/build'
> [email protected] postinstall /opt/online-town/online-town-public-release/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
> [email protected] postinstall /opt/online-town/online-town-public-release/node_modules/protobufjs
> node scripts/postinstall
> [email protected] postinstall /opt/online-town/online-town-public-release/node_modules/nodemon
> node bin/postinstall || exit 0
Love nodemon? You can now support the project via the open collective:
> https://opencollective.com/nodemon/donate
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/nodemon/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 1204 packages from 684 contributors and audited 1275 packages in 56.245s
51 packages are looking for funding
run `npm fund` for details
found 280 vulnerabilities (268 low, 2 moderate, 10 high)
run `npm audit fix` to fix them, or `npm audit` for details
Then:
npm run build
> [email protected] build /opt/online-town/online-town-public-release
> npm run build-client && npm run build-server
> [email protected] build-client /opt/online-town/online-town-public-release
> webpack --config webpack.dev.js
Hash: 44bd0c3c9ed41f7f640e
Version: webpack 4.42.1
Child
Hash: 44bd0c3c9ed41f7f640e
Time: 5325ms
Built at: 02/09/2021 10:32:48 PM
Asset Size Chunks Chunk Names
bundle.js 9.43 KiB main [emitted] main
bundle.js.map 3.53 KiB main [emitted] [dev] main
favicon.ico 1.12 KiB [emitted]
images/characters/james.png 2.25 KiB [emitted]
images/characters/player_0.png 2.71 KiB [emitted]
images/characters/player_1.png 2.87 KiB [emitted]
images/characters/player_10.png 2.74 KiB [emitted]
images/characters/player_11.png 2.7 KiB [emitted]
images/characters/player_12.png 2.79 KiB [emitted]
images/characters/player_13.png 2.87 KiB [emitted]
images/characters/player_14.png 2.67 KiB [emitted]
images/characters/player_15.png 2.61 KiB [emitted]
images/characters/player_2.png 2.61 KiB [emitted]
images/characters/player_3.png 3 KiB [emitted]
images/characters/player_4.png 2.63 KiB [emitted]
images/characters/player_5.png 2.65 KiB [emitted]
images/characters/player_6.png 2.74 KiB [emitted]
images/characters/player_7.png 2.77 KiB [emitted]
images/characters/player_8.png 2.69 KiB [emitted]
images/characters/player_9.png 2.75 KiB [emitted]
images/characters/player_bike_0.png 3.98 KiB [emitted]
images/characters/player_bike_6.png 3.55 KiB [emitted]
images/characters/player_bike_7.png 3.62 KiB [emitted]
images/maps/nyc/nyc_apartment.png 79.3 KiB [emitted]
images/maps/nyc/nyc_black_chairs.png 1.16 MiB [emitted]
images/maps/nyc/nyc_office.png 91.5 KiB [emitted]
images/maps/nyc/times_square.png 2.26 MiB [emitted]
images/maps/preview/preview-apartment.png 11.2 KiB [emitted]
images/maps/preview/preview-black_chairs.png 51.6 KiB [emitted]
images/maps/preview/preview-conference.png 59.4 KiB [emitted]
images/maps/preview/preview-golden.png 64.8 KiB [emitted]
images/maps/preview/preview-office.png 5.71 KiB [emitted]
images/maps/preview/preview-times_square.png 37.1 KiB [emitted]
images/maps/shared/fireplace_animation/fireplace1.png 1.89 KiB [emitted]
images/maps/shared/fireplace_animation/fireplace2.png 1.88 KiB [emitted]
images/maps/shared/fireplace_animation/fireplace3.png 1.88 KiB [emitted]
images/maps/shared/fireplace_animation/fireplace4.png 1.89 KiB [emitted]
images/maps/standalone/apartment.png 22.6 KiB [emitted]
images/maps/standalone/black_chairs.png 539 KiB [emitted]
images/maps/standalone/conference_entrance.png 26.2 KiB [emitted]
images/maps/standalone/keynote.png 21.8 KiB [emitted]
images/maps/standalone/ml_conference.png 1.74 MiB [emitted]
images/maps/standalone/office.png 27.8 KiB [emitted]
images/site/All.png 7.73 KiB [emitted]
images/site/Gather_Black_Logo.png 3.88 KiB [emitted]
images/site/Siempre_Black_Logo.png 17.3 KiB [emitted]
images/site/Siempre_Magma_Logo.png 70.7 KiB [emitted]
images/site/YC.png 8.3 KiB [emitted]
images/site/demo.gif 5.59 MiB [emitted]
images/site/enter.png 11 KiB [emitted]
images/site/friends-cleaned.png 159 KiB [emitted]
images/site/friendship.jpg 53.3 KiB [emitted]
images/site/hn-cleaned.png 729 KiB [emitted]
images/site/interact.svg 190 bytes [emitted]
images/site/logo.png 29.4 KiB [emitted]
images/site/mashable.png 13.2 KiB [emitted]
images/site/og-preview.png 682 KiB [emitted]
images/site/pcgamer.png 37.7 KiB [emitted]
images/site/plus.png 164 bytes [emitted]
images/site/reddit.png 163 KiB [emitted]
images/site/return.png 13.9 KiB [emitted]
images/site/twitter.png 12.5 KiB [emitted]
images/site/webrtc-logo.png 19 KiB [emitted]
images/site/wired.svg 1.24 KiB [emitted]
images/site/xr1.png 383 KiB [emitted]
images/site/xr2.png 906 KiB [emitted]
sounds/bagpipes.wav 48.5 MiB [emitted]
sounds/beepboop.wav 4.07 MiB [emitted]
sounds/fireplace.wav 11.1 MiB [emitted]
sounds/nyc-ambience.wav 82.6 MiB [emitted]
sounds/outdoors.wav 47.3 MiB [emitted]
sounds/steam.wav 15.2 MiB [emitted]
sounds/wave1.wav 81.8 MiB [emitted]
sounds/wave2.wav 17 MiB [emitted]
sounds/woof.wav 233 KiB [emitted]
Entrypoint main = bundle.js bundle.js.map
[./src/client/main.jsx] 5.65 KiB {main} [built] [failed] [1 error]
ERROR in ./src/client/main.jsx
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: /opt/online-town/online-town-public-release/src/client/main.jsx: Unexpected token (60:4)
58 |
59 | return (
> 60 | <BrowserRouter>
| ^
61 | <Switch>
62 | <Route path='/' exact component={Homepage} />
63 | <Route path="/help" exact component={Help} />
at Parser._raise (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:742:17)
at Parser.raiseWithData (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:735:17)
at Parser.raise (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:729:17)
at Parser.unexpected (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:8757:16)
at Parser.parseExprAtom (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:10052:20)
at Parser.parseExprSubscripts (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:9602:23)
at Parser.parseMaybeUnary (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:9582:21)
at Parser.parseExprOps (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:9452:23)
at Parser.parseMaybeConditional (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:9425:23)
at Parser.parseMaybeAssign (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:9380:21)
at Parser.parseParenAndDistinguishExpression (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:10193:28)
at Parser.parseExprAtom (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:9947:21)
at Parser.parseExprSubscripts (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:9602:23)
at Parser.parseMaybeUnary (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:9582:21)
at Parser.parseExprOps (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:9452:23)
at Parser.parseMaybeConditional (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:9425:23)
at Parser.parseMaybeAssign (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:9380:21)
at Parser.parseExpression (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:9332:23)
at Parser.parseReturnStatement (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:11448:28)
at Parser.parseStatementContent (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:11129:21)
at Parser.parseStatement (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:11081:17)
at Parser.parseBlockOrModuleBlockBody (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:11656:25)
at Parser.parseBlockBody (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:11642:10)
at Parser.parseBlock (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:11626:10)
at Parser.parseFunctionBody (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:10634:24)
at Parser.parseArrowExpression (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:10603:10)
at Parser.parseParenAndDistinguishExpression (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:10221:12)
at Parser.parseExprAtom (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:9947:21)
at Parser.parseExprSubscripts (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:9602:23)
at Parser.parseMaybeUnary (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:9582:21)
at Parser.parseExprOps (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:9452:23)
at Parser.parseMaybeConditional (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:9425:23)
at Parser.parseMaybeAssign (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:9380:21)
at Parser.parseVar (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:11740:26)
at Parser.parseVarStatement (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:11549:10)
at Parser.parseStatementContent (/opt/online-town/online-town-public-release/node_modules/@babel/parser/lib/index.js:11148:21)
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build-client: `webpack --config webpack.dev.js`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] build-client 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:
npm ERR! /home/online-town/.npm/_logs/2021-02-10T05_32_49_151Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build: `npm run build-client && npm run build-server`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] build 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:
npm ERR! /home/online-town/.npm/_logs/2021-02-10T05_32_49_276Z-debug.log
Hi,
I am trying to create a room, for eg. office. But when I click on "Create Space", it gives me an error that
'Cloud Firestore API has not been used in project before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/firestore.googleapis.com/overview?project=<> then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.',
The API has already been enabled but still it shows the same error after 1 hr also.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.