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

Error: I am then unable to build (rebuild) the library/editor by calling npm run build #93

Open
dbattin opened this issue Nov 28, 2022 · 3 comments
Assignees

Comments

@dbattin
Copy link

dbattin commented Nov 28, 2022

[BABEL] Note: The code generator has deoptimised the styling of /Users/db/Desktop/GIBBER_NEW/gibber/node_modules/gibberish-dsp/dist/gibberish.js as it exceeds the max of 500KB.
Error: Can't walk dependency graph: Cannot find module 'serialize-javascript' from 'node_modules/gibber.audio.lib/js/clock.js'
required by /Users/db/Desktop/GIBBER_NEW/gibber/node_modules/gibber.audio.lib/js/clock.js
at /Users/db/Desktop/GIBBER_NEW/gibber/node_modules/esmify/esmify.js:47:19
at /Users/db/Desktop/GIBBER_NEW/gibber/node_modules/browser-resolve/index.js:265:24
at /Users/db/Desktop/GIBBER_NEW/gibber/node_modules/resolve/lib/async.js:139:17
at processDirs (/Users/db/Desktop/GIBBER_NEW/gibber/node_modules/resolve/lib/async.js:290:39)
at isdir (/Users/db/Desktop/GIBBER_NEW/gibber/node_modules/resolve/lib/async.js:297:32)
at /Users/db/Desktop/GIBBER_NEW/gibber/node_modules/resolve/lib/async.js:25:69
at FSReqCallback.oncomplete (node:fs:198:21)

Can you help me or fix it? Many Thanks.

@charlieroberts charlieroberts self-assigned this Nov 30, 2022
@charlieroberts
Copy link
Collaborator

I can confirm this is a problem when I do a fresh install.

@dbattin
Copy link
Author

dbattin commented Nov 30, 2022

Many thanks for the quick response. Is it a complicated problem? Is it a complicated problem or can you help me?

@doctorbling
Copy link

@charlieroberts I just made a fork with the aspiration of updating dependencies ; a vague sub-aspiration was to address this issue, by using a later serialize-javascript version say.

However I just noticed that you committed as recently as September and it made me wonder whether there is a workaround? Eg run off the original source files rather than bundle.js ?

(my apologies if I'm being inadvertantly heretical! I'm new to web development)

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

No branches or pull requests

3 participants