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

Having trouble building from master #345

Open
bennlich opened this issue Nov 19, 2024 · 0 comments
Open

Having trouble building from master #345

bennlich opened this issue Nov 19, 2024 · 0 comments

Comments

@bennlich
Copy link

After a fresh clone and npm install, I try to npm run build and get:

> build
> lerna exec --ignore=troika-examples -- rollup -c \$LERNA_ROOT_PATH/rollup.config.js

lerna notice cli v4.0.0
lerna notice filter excluding "troika-examples"
lerna info filter [ '!troika-examples' ]
lerna info Executing command in 12 packages: "rollup -c $LERNA_ROOT_PATH/rollup.config.js"

src/index.js → dist/troika-three-utils.esm.js...

src/index.js → dist/troika-worker-utils.esm.js...

src/index.js → dist/troika-animation.esm.js...
created dist/troika-three-utils.esm.js in 29ms

src/index.js → dist/troika-three-utils.umd.js...
created dist/troika-animation.esm.js in 30ms

src/index.js → dist/troika-animation.umd.js...
created dist/troika-worker-utils.esm.js in 43ms

src/index.js → dist/troika-worker-utils.umd.js...
created dist/troika-animation.umd.js in 21ms

src/index.js → dist/troika-animation.umd.min.js...
created dist/troika-three-utils.umd.js in 30ms

src/index.js → dist/troika-three-utils.umd.min.js...
created dist/troika-worker-utils.umd.js in 30ms

src/index.js → dist/troika-worker-utils.umd.min.js...
[!] (plugin closure-compiler) TypeError: The "file" argument must be of type string. Received undefined
TypeError: The "file" argument must be of type string. Received undefined
    at new NodeError (node:internal/errors:387:5)
    at validateString (node:internal/validators:162:11)
    at normalizeSpawnArguments (node:child_process:528:3)
    at spawn (node:child_process:726:13)
    at Compiler.run (/Users/bennlich/Documents/projects/troika/node_modules/google-closure-compiler/lib/node/closure-compiler.js:76:26)
    at /Users/bennlich/Documents/projects/troika/node_modules/@ampproject/rollup-plugin-closure-compiler/dist/index.js:1564:18
    at new Promise (<anonymous>)
    at compiler (/Users/bennlich/Documents/projects/troika/node_modules/@ampproject/rollup-plugin-closure-compiler/dist/index.js:1554:12)
    at Object.renderChunk (/Users/bennlich/Documents/projects/troika/node_modules/@ampproject/rollup-plugin-closure-compiler/dist/index.js:1837:33)
    at Chunk$1.render (/Users/bennlich/Documents/projects/troika/node_modules/rollup/dist/shared/rollup.js:11615:20)

[!] (plugin closure-compiler) TypeError: The "file" argument must be of type string. Received undefined
lerna ERR! rollup -c $LERNA_ROOT_PATH/rollup.config.js exited 1 in 'troika-animation'
lerna ERR! rollup -c $LERNA_ROOT_PATH/rollup.config.js exited 1 in 'troika-animation'
lerna WARN complete Waiting for 2 child processes to exit. CTRL-C to exit immediately.

npm version is 8.19.4
node version is 16.20.0

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

1 participant