Hi Stefan, Richard, I have moved to kirkstone release and I'm now using the npmsw fetcher instead of manually using npm install in my recipe.
But I have an issue, It seems that the npmsw fetcher doesn't add node_modules in the PATH. So my recipe is now failing saying that "vite is not found" vite is present in node_modules/vite/bin/vite.js My recipe looks like this (not mine but 99% identical): https://github.com/linux-automation/meta-lxatac/blob/langdale/meta-lxatac-software/recipes-webadmin/tacd-webinterface/tacd-webinterface_git.bb And the package.json configure "build": "vite build" Changing the "npm run build" to "node node_modules/vite/bin/vite.js build" Fix my issue, but is it expected that node_modules aren't present in the PATH? Or am I doing something wrong? Thanks for your help, Regards
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#102064): https://lists.openembedded.org/g/openembedded-devel/message/102064 Mute This Topic: https://lists.openembedded.org/mt/98217869/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
