error on require arcgis

I try to experiment arcgis in observable …
so i call
arc = require("arcgis-js-api@4.14.0")
and get

[Error] Refused to execute as script because “X-Content-Type: nosniff” was given and its Content-Type is not a script MIME type.

Is there a way to pass out this error ??


It looks like that package is designed for building your own custom ArcGIS client, so it isn’t meant to be required directly.

1 Like

ah yes i see it’s probably not the good package lol … will try to make more simple way …