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
Having some issues with the Widget with assets lesson whereby brfs doesn't seem to be run over my widget.js file.
I execute browserify -t brfs -d -r ./widget.js:widget | browserify-adventure verify as per the description but when I load the given URL in the browser there are JS errors and upon inspection the widget.js code still has the untransformed fs.readFileSync statements.
If I run browserify directly on widget.js as follows: browserify -t brfs -d -widget.js > bundle.js then it correctly transforms.
Is there a flag missing from the call to browserify in the lesson description or something? I don't understand what (if anything) I'm doing wrong.
The text was updated successfully, but these errors were encountered:
Having some issues with the Widget with assets lesson whereby
brfs
doesn't seem to be run over mywidget.js
file.I execute
browserify -t brfs -d -r ./widget.js:widget | browserify-adventure verify
as per the description but when I load the given URL in the browser there are JS errors and upon inspection thewidget.js
code still has the untransformedfs.readFileSync
statements.If I run browserify directly on
widget.js
as follows:browserify -t brfs -d -widget.js > bundle.js
then it correctly transforms.Is there a flag missing from the call to browserify in the lesson description or something? I don't understand what (if anything) I'm doing wrong.
The text was updated successfully, but these errors were encountered: