Comments (9)
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]deploy: [email protected]
6 info lifecycle [email protected]
7 verbose lifecycle [email protected]deploy: unsafe-perm in lifecycle truedeploy: 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
8 verbose lifecycle [email protected]
9 verbose lifecycle [email protected]deploy: CWD: /Users/dahyuk/Beatbumpdeploy: Args: [ '-c', 'npm run build && wrangler publish' ]
10 silly lifecycle [email protected]
11 silly lifecycle [email protected]deploy: Returned: code: 1 signal: nulldeploy: Failed to exec deploy script
12 info lifecycle [email protected]
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.
[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.
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.
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.
@snuffyDev Is there any fixes right now?
from beatbump.
@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.
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.
Assuming the problem was resolved I’m going to close this, feel free to open another if anything comes up!
from beatbump.
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)
- [BUG] Default HLS proxy doesn't work on Firefox
- [BUG] Triple dots icon not working in search section "Videos"
- [BUG] Song's previous button doesn't start song from the beginning
- [FEAT] When clicked on a searched playlist or album, you get access to a list of songs to choose from HOT 1
- [BUG] Favorite songs don't sync while being searched
- [FEAT] Artists can be marked as favorites
- [BUG] (Not all) opened albums from Home or Trending pages don't load
- [BUG] "Looks like you hit a dead end" screen doesn't redirect
- [FEAT] Search song by YouTube's song ID HOT 1
- [BUG] Fail to build docker image (maybe add suport for arm64?) HOT 5
- [FEAT] Leave search string in search field HOT 2
- [FEAT] Delete song in a playlist
- Predirect extension for redirecting to alternative frontends HOT 5
- not able to change song
- [BUG] HOT 4
- [BUG] Recently, a lot of errors while playing HOT 1
- [BUG] Recently - TypeError: n.playabilityStatus is undefined
- [BUG] Music doesn’t play. HOT 2
- [FEAT] Multiple language support HOT 1
- [BUG] Error 500 from the API not letting to play any song
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 beatbump.