Skip to content Skip to sidebar Skip to footer

Gulp Throwing "is Read-only While Parsing File" Error While Running Gulp Task

I'm trying to create ES6 module in JavaScript and I get error like: Line 20: 'NotFound' is read-only while parsing file. The NotFound is the name of my module. 'use strict'; impor

Solution 1:

Ok, it looks like I had defined a variable before calling import. The variable name was exactly the same as the imported module name. That was the root of the issue.


Post a Comment for "Gulp Throwing "is Read-only While Parsing File" Error While Running Gulp Task"