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