Code Monkey home page Code Monkey logo

Comments (9)

dahyuk0413 avatar dahyuk0413 commented on May 24, 2024

And here is the log when I tried to run 'npm run deploy'

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'deploy' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'predeploy', 'deploy', 'postdeploy' ]
5 info lifecycle [email protected]predeploy: [email protected]
6 info lifecycle [email protected]
deploy: [email protected]
7 verbose lifecycle [email protected]deploy: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]
deploy: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/dahyuk/Beatbump/node_modules/.bin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
9 verbose lifecycle [email protected]deploy: CWD: /Users/dahyuk/Beatbump
10 silly lifecycle [email protected]
deploy: Args: [ '-c', 'npm run build && wrangler publish' ]
11 silly lifecycle [email protected]deploy: Returned: code: 1 signal: null
12 info lifecycle [email protected]
deploy: Failed to exec deploy script
13 verbose stack Error: [email protected] deploy: npm run build && wrangler publish
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:400:28)
13 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:400:28)
13 verbose stack at maybeClose (internal/child_process.js:1055:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
14 verbose pkgid [email protected]
15 verbose cwd /Users/dahyuk/Beatbump
16 verbose Darwin 18.7.0
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "deploy"
18 verbose node v14.17.4
19 verbose npm v6.14.14
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] deploy: npm run build && wrangler publish
22 error Exit status 1
23 error Failed at the [email protected] deploy script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

from beatbump.

dahyuk0413 avatar dahyuk0413 commented on May 24, 2024

[load-fallback] Could not load /Users/dahyuk/Beatbump/src/lib/_parsers (imported by src/lib/stores/list.ts): ENOENT: no such file or directory, open '/Users/dahyuk/Beatbump/src/lib/_parsers'

Could not load /Users/dahyuk/Beatbump/src/lib/_parsers (imported by src/lib/stores/list.ts): ENOENT: no such file or directory, open '/Users/dahyuk/Beatbump/src/lib/_parsers'
Error: Could not load /Users/dahyuk/Beatbump/src/lib/_parsers (imported by src/lib/stores/list.ts): ENOENT: no such file or directory, open '/Users/dahyuk/Beatbump/src/lib/_parsers'

Is this the error occured by src/lib/_parsers?

from beatbump.

dahyuk0413 avatar dahyuk0413 commented on May 24, 2024

html:/Users/dahyuk/Beatbump/src/lib/components/Icon/Icon.svelte:6:17: error: Expected ";" but found ":"
6 │ export let width: string | number = 0

html:/Users/dahyuk/Beatbump/src/lib/components/Player/Player.svelte:54:18: error: Expected ";" but found ":"
54 │ let DropdownItems: Array

Also found this error.

from beatbump.

dahyuk0413 avatar dahyuk0413 commented on May 24, 2024

html:/Users/dahyuk/Beatbump/src/lib/components/Icon/Icon.svelte:6:17: error: Expected ";" but found ":"
6 │ export let width: string | number = 0
Error occured in export let width : < this :

html:/Users/dahyuk/Beatbump/src/lib/components/Player/Player.svelte:24:13: error: Expected ";" but found ":"
24 │ const player: HTMLAudioElement = new Audio()
const player: < this :

from beatbump.

dahyuk0413 avatar dahyuk0413 commented on May 24, 2024

@snuffyDev Is there any fixes right now?

from beatbump.

snuffyDev avatar snuffyDev commented on May 24, 2024

@snuffyDev Is there any fixes right now?

Yes my bad for the late reply, thank you for the issue. The problem is a file I accidentally privated. Let me verify my latest commit and I’ll get back to you as soon as I get this sorted

from beatbump.

snuffyDev avatar snuffyDev commented on May 24, 2024

I just did a full deploy on a fresh Cloudflare account, with a cloned repo and it deployed for me. There was a file I did have privated but has since been deleted as of a few commits ago. For the fresh repo I used to test, this is the wrangler.toml I used.

name = "beatbump"
type = 'webpack'
account_id = '###'
route = ''
zone_id = ''
usage_model = ''
workers_dev = true
target_type = "webpack"

[site]
bucket = "./build"
entry-point = "./workers-site"

Note the bucket being "./build", as I see yours is "./static". Perhaps that was the issue? As for the other errors I didn't get those as far as I can tell during the deployment.

The docs are still a work in progress, but don't forget to read the note at the top about the .env setup. It's an important step as well, because it's for the Content-Security Policy.

Feel free to let me know if there are any further issues, or if this problem persists. Appreciate you trying out Beatbump!

from beatbump.

snuffyDev avatar snuffyDev commented on May 24, 2024

Assuming the problem was resolved I’m going to close this, feel free to open another if anything comes up!

from beatbump.

snuffyDev avatar snuffyDev commented on May 24, 2024

As a follow up, I just now realized what was causing those errors, and I can't believe I overlooked them entirely! Got so used to Typescript I forgot to update some old components to have <script lang="ts">. I apologize about that! Should have a commit pushed within the next hour or so with a bunch of updates and a for-sure fix!

from beatbump.

Related Issues (20)

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.