You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm trying to build troika from source (on windows 11) but I'm having problems and I'm not sure if its an issue with the library or my setup.
I can run 'npm install' but when I try to build using 'npm run build' I get the following error:
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"
[!] [!] Error: Could not resolve entry module (../../../../../../$LERNA_ROOT_PATH/rollup.config.js).Error: Could not resolve entry module (../../../../../../$LERNA_ROOT_PATH/rollup.config.js).
[!] Error: Could not resolve entry module (../../../../../../$LERNA_ROOT_PATH/rollup.config.js).
Error: Could not resolve entry module (../../../../../../$LERNA_ROOT_PATH/rollup.config.js).
at error (E:\Prog\public_html\libs\troika2\node_modules\rollup\dist\shared\rollup.js:198:30)Error: Could not resolve entry module (../../../../../../$LERNA_ROOT_PATH/rollup.config.js).
at ModuleLoader.loadEntryModule (E:\Prog\public_html\libs\troika2\node_modules\rollup\dist\shared\rollup.js:22306:20) at error (E:\Prog\public_html\libs\troika2\node_modules\rollup\dist\shared\rollup.js:198:30)
at async Promise.all (index 0) at ModuleLoader.loadEntryModule (E:\Prog\public_html\libs\troika2\node_modules\rollup\dist\shared\rollup.js:22306:20)
at async Promise.all (index 0)
Error: Could not resolve entry module (../../../../../../$LERNA_ROOT_PATH/rollup.config.js).
at error (E:\Prog\public_html\libs\troika2\node_modules\rollup\dist\shared\rollup.js:198:30)
at ModuleLoader.loadEntryModule (E:\Prog\public_html\libs\troika2\node_modules\rollup\dist\shared\rollup.js:22306:20)
at async Promise.all (index 0)
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I'm trying to build troika from source (on windows 11) but I'm having problems and I'm not sure if its an issue with the library or my setup.
I can run 'npm install' but when I try to build using 'npm run build' I get the following error:
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"
[!] [!] Error: Could not resolve entry module (../../../../../../$LERNA_ROOT_PATH/rollup.config.js).Error: Could not resolve entry module (../../../../../../$LERNA_ROOT_PATH/rollup.config.js).
[!] Error: Could not resolve entry module (../../../../../../$LERNA_ROOT_PATH/rollup.config.js).
Error: Could not resolve entry module (../../../../../../$LERNA_ROOT_PATH/rollup.config.js).
at error (E:\Prog\public_html\libs\troika2\node_modules\rollup\dist\shared\rollup.js:198:30)Error: Could not resolve entry module (../../../../../../$LERNA_ROOT_PATH/rollup.config.js).
at ModuleLoader.loadEntryModule (E:\Prog\public_html\libs\troika2\node_modules\rollup\dist\shared\rollup.js:22306:20) at error (E:\Prog\public_html\libs\troika2\node_modules\rollup\dist\shared\rollup.js:198:30)
at async Promise.all (index 0) at ModuleLoader.loadEntryModule (E:\Prog\public_html\libs\troika2\node_modules\rollup\dist\shared\rollup.js:22306:20)
at async Promise.all (index 0)
Error: Could not resolve entry module (../../../../../../$LERNA_ROOT_PATH/rollup.config.js).
at error (E:\Prog\public_html\libs\troika2\node_modules\rollup\dist\shared\rollup.js:198:30)
at ModuleLoader.loadEntryModule (E:\Prog\public_html\libs\troika2\node_modules\rollup\dist\shared\rollup.js:22306:20)
at async Promise.all (index 0)
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.
Does anybody have any ideas?
Beta Was this translation helpful? Give feedback.
All reactions