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

Can not create frontend module when using NVM #354

Open
drew-corporate-creations opened this issue Jan 12, 2021 · 1 comment
Open

Can not create frontend module when using NVM #354

drew-corporate-creations opened this issue Jan 12, 2021 · 1 comment

Comments

@drew-corporate-creations

Environment

  • Platform version: 7.2.4

Description of the bug or enhancement

When following through the docs to create a frontend module from within Cuba studio (and Intellij with the studio plugin), the following error occurs:

2:21 PM	Error running front generator
					bash: node: command not found
					

2:21 PM	Studio Error
					java.util.concurrent.CompletionException: java.lang.RuntimeException: Unable to generate component
					See log file for details (/Users/xyz/Library/Logs/Haulmont/CubaStudio2020.2/idea.log)

I use NVM to manage node versions.
If I make a symlink from /usr/local/node to the current node version I am using (i.e. /Users/xyz/.nvm/versions/node/v14.15.4/bin/node), the process to create a frontend module works.

The Gradle tasks succeeds, but the event log in Intellij reports this error.
When the error occurs I am unable to create frontend components.

@web-devel web-devel transferred this issue from cuba-platform/cuba Jan 13, 2021
@a616101
Copy link

a616101 commented Mar 9, 2021

I have same issue..
Is there a solution?

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

2 participants