fix crash when project contains a package.json
with "type: "module"
#1274
Loading
package.json
with "type: "module"
#1274