error on require arcgis

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

[Error] Refused to execute https://cdn.jsdelivr.net/npm/arcgis-js-api@4.14.0/index.js 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 ??

Thanks

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 …