Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notes from setting up my development environment #1448

Merged
merged 1 commit into from
Jul 18, 2021
Merged

Conversation

zmbc
Copy link
Contributor

@zmbc zmbc commented Jul 14, 2021

Not sure if these are helpful, but here's some documentation of additional steps I found on the way to setting up a development environment.

Not sure if these are helpful, but here's some documentation of additional steps I found on the way to setting up a development environment.
@vercel
Copy link

vercel bot commented Jul 14, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/kantord/libre-lingo/46TsUYGqapGG9LFRWEvcRhKAHuJf
✅ Preview: https://libre-lingo-git-fork-zmbc-patch-1-kantord.vercel.app

@sonarcloud
Copy link

sonarcloud bot commented Jul 14, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@@ -46,9 +46,12 @@ cd LibreLingo

### Web app

You will need [Node](https://nodejs.org/en/). Note that this project is not yet compatible with Node v16.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How come it's not compatible with node 16 yet?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Install dependencies:

```sh
yarn set version classic
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this necessary to do? 🤔

Copy link
Contributor Author

@zmbc zmbc Jul 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On my machine, yes. Maybe you can check if this reproduces for you:

~/src/LibreLingo$ yarn set version berry
➤ YN0000: Downloading https://github.com/yarnpkg/berry/raw/master/packages/yarnpkg-cli/bin/yarn.js
➤ YN0000: Saving the new release in .yarn/releases/yarn-2.4.2.cjs
➤ YN0000: Done in 1s 395ms

~/src/LibreLingo$ yarn
...

~/src/LibreLingo$ yarn web dev
/home/zeb/src/LibreLingo/.pnp.js:29908
  return Object.defineProperties(new Error(message), {
                                 ^

Error: Your application tried to access svelte-preprocess, but it isn't declared in your dependencies; this makes the require call ambiguous and unsound.

Required package: svelte-preprocess (via "svelte-preprocess")
Required by: /home/zeb/src/LibreLingo/apps/web/

Require stack:
- /home/zeb/src/LibreLingo/apps/web/webpack.config.js
- /home/zeb/src/LibreLingo/.yarn/$$virtual/sapper-virtual-474baa3db7/0/cache/sapper-npm-0.29.1-7c84c0fa20-214bf74633.zip/node_modules/sapper/dist/create_manifest_data.js
- /home/zeb/src/LibreLingo/.yarn/$$virtual/sapper-virtual-474baa3db7/0/cache/sapper-npm-0.29.1-7c84c0fa20-214bf74633.zip/node_modules/sapper/dist/dev.js
- /home/zeb/src/LibreLingo/.yarn/$$virtual/sapper-virtual-474baa3db7/0/cache/sapper-npm-0.29.1-7c84c0fa20-214bf74633.zip/node_modules/sapper/dist/cli.js
- /home/zeb/src/LibreLingo/.yarn/$$virtual/sapper-virtual-474baa3db7/0/cache/sapper-npm-0.29.1-7c84c0fa20-214bf74633.zip/node_modules/sapper/sapper
    at internalTools_makeError (/home/zeb/src/LibreLingo/.pnp.js:29908:34)
    at resolveToUnqualified (/home/zeb/src/LibreLingo/.pnp.js:30867:23)
    at resolveRequest (/home/zeb/src/LibreLingo/.pnp.js:30965:29)
    at Object.resolveRequest (/home/zeb/src/LibreLingo/.pnp.js:31043:26)
    at Function.external_module_.Module._resolveFilename (/home/zeb/src/LibreLingo/.pnp.js:30141:34)
    at Function.external_module_.Module._load (/home/zeb/src/LibreLingo/.pnp.js:30006:48)
    at Module.require (node:internal/modules/cjs/loader:996:19)
    at require (node:internal/modules/cjs/helpers:92:18)
    at Object.<anonymous> (/home/zeb/src/LibreLingo/apps/web/webpack.config.js:6:28)
    at Module._compile (node:internal/modules/cjs/loader:1092:14)

docs/index.md Show resolved Hide resolved
@kantord kantord merged commit bd451de into kantord:main Jul 18, 2021
@kantord
Copy link
Owner

kantord commented Jul 18, 2021

Thanks @zmbc !!

@allcontributors please add @zmbc for docs

@allcontributors
Copy link
Contributor

@kantord

I've put up a pull request to add @zmbc! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants