Giter Club home page Giter Club logo

drive-proxy's Introduction

Once upon a time I was an environmental entrepreneur


React Docker TypeScript Apollo GraphQL NestJs Nodejs

Stewart's Stats

drive-proxy's People

Contributors

stewartmcgown avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

drive-proxy's Issues

error

tried deploying with cloudflare pages

Run npm run lint --if-present

> @stewartmcgown/[email protected] lint /home/runner/work/CDN/CDN
> eslint . --ext .ts,.tsx


/home/runner/work/CDN/CDN/src/cache.ts
Error:    1:31  error    Identifier 'drive_v3' is not in camel case  @typescript-eslint/camelcase
Error:    1:31  error    Identifier 'drive_v3' is not in camel case  @typescript-eslint/camelcase
Warning:   86:33  warning  Unexpected any. Specify a different type    @typescript-eslint/no-explicit-any
Warning:   88:16  warning  Unexpected any. Specify a different type    @typescript-eslint/no-explicit-any

โœ– 4 problems (2 errors, 2 warnings)

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @stewartmcgown/[email protected] lint: `eslint . --ext .ts,.tsx`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @stewartmcgown/[email protected] lint 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/runner/.npm/_logs/2021-07-25T16_49_18_602Z-debug.log
Error: Process completed with exit code 1.

Missing module?

Hello,

I'm in no way a coder, but more a copy/paster and would love to share some files from Google Drive on my site without making their download location visible, so your script looks perfect to do this.

On my (shared) host, I installed yarn v1.22.17 and node.js node-v17.3.0 in the root. Then I copied the drive-proxy script into the root of a subdomain and did the yarn/yarn start thing which resulted in some warnings and an error.

`[sdasds@jkjkjdskfjsd ~]$ cd subdomain.mysite.com
[sdasds@jkjkjdskfjsd subdomain.mysite.com]$ yarn
yarn install v1.22.17
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
warning " > @typescript-eslint/[email protected]" has incorrect peer dependency "eslint@^5.0.0 || ^6.0.0".
warning " > @typescript-eslint/[email protected]" has incorrect peer dependency "eslint@^5.0.0 || ^6.0.0".
[4/4] Building fresh packages...
Done in 60.13s.
[sdasds@jkjkjdskfjsd subdomain.mysite.com]$ yarn start
yarn run v1.22.17
$ node build/src/main.js
internal/modules/cjs/loader.js:584
throw err;
^

Error: Cannot find module '/home5/xxxx/subdomain.mysite.com/build/src/main.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)
at Function.Module._load (internal/modules/cjs/loader.js:508:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:754:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[sdasds@jkjkjdskfjsd subdomain.mysite.com]$`

In the directory of my subdomain, I now find a new directory node_modules which contains a lot of folders.

Any idea what went wrong?

Best regards,
Alex

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.