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
While working on #505, @klewis-sfdc discovered that if a LWC project hasn't had its dependencies installed (npm install) that when compileSource() calls transform(source, fileName, options) (in compiler.ts), that it silently fails.
It seems like this should fail, but this is a known issue and difficult to tell, so we probably should look for this condition, and then warn the user.
The text was updated successfully, but these errors were encountered:
jeffb-sfdc
changed the title
compileSource() fails fir node modules haven't been installed, and we should ail in a graceful way
compileSource() fails if node modules haven't been installed, and we should fail in a graceful way
Jun 14, 2022
Summary
While working on #505, @klewis-sfdc discovered that if a LWC project hasn't had its dependencies installed (
npm install
) that whencompileSource()
callstransform(source, fileName, options)
(in compiler.ts), that it silently fails.It seems like this should fail, but this is a known issue and difficult to tell, so we probably should look for this condition, and then warn the user.
The text was updated successfully, but these errors were encountered: