Welcome!
This community is for professionals and enthusiasts of the Genio platform.
Share your questions and challenges, and help your partners!
How to fix this error: (npm run build) on client-side solution
Since yesterday, when i try to run webadmin i get this error (npm run build) on client-side solution.
I installed node.js and run vue cli on cmd as administrator.
Hi,
This can be related to an actual error compiling the solution (besides some miss-config regarding Vue or NodeJs).
To know for sure, you'll have to check what's being displayed on "Output" window (the error message is telling you to do) and see what's about.
Once it has happened to me and "Output" was showing an error that cannot ran correctly using latest NodeJs version, had to rollback it to the version before, 13.9:
Regards,
Thanks all of you, Its Working Now.
i had to rollback it to the version before, 13.9 and update node-proper-lockfile (https://github.com/moxystudio/node-proper-lockfile.git)
I am working on "NightlyGenio289.30".
I tried rollback and reinstale node.js and Vue Cli, but still not working.
I think the problem is with Vue Cli Service Build
ITs NOT EXPECTED THAT GENIO CREATE IT ON GENERATION?
I get this error on Output:
2> ERROR Error: Cannot find module '@vue/babel-preset-app' from 'C:\QUIDGEST\GENIO_DEV\PROJECTS\SRP\GEN_SIRP\WebAdmin\Administration\ClientApp'
2> Error: Cannot find module '@vue/babel-preset-app' from 'C:\QUIDGEST\GENIO_DEV\PROJECTS\SRP\GEN_SIRP\WebAdmin\Administration\ClientApp'
2> at Function.module.exports [as sync] (C:\Users\quidg\Documents\Genio\PROJECTS\SRP\GEN_SIRP\WebAdmin\Administration\ClientApp\node_modules\.pnpm\registry.npmjs.org\resolve\1.14.2\node_modules\resolve\lib\sync.js:72:15)
My thoughts on this:
- Clean ClientApp directory (there might be old unwanted files kept there that are leading to this error); If still doesn't work, delete the client generation folder.
- I assume that you're now using Node.Js version 13.9, if not, try working with this version, im running it without any problems;
- Is any of your modules with the name empty? This should be enough to not work properly.
Keep Informed
About the Community
Question tools
Stats
Asked: 21/4/2020 下午2:15 |
Seen: 4250 times |
Last updated: 24/8/2020 下午2:18 |
Please show the error message on the Output tab. To activate this tab, in Visual Studio choose on the toolbar at the top: View -> Output.