I recently added the @tokens-studio/configurator package from NPM to my project. However, upon importing it as instructed, I encountered the following error:
Failed to resolve module specifier "@tokens-studio/configurator".
Relative references must start with either "/", "./", or "../".
Below is a snippet of my HTML file where I attempted to import the package:
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="module">
import '@tokens-studio/configurator';
</script>
</head>
<body>
<main>
<configurator-element>
<div style="height: 100%" slot="monaco-config"></div>
<div style="height: 100%" slot="monaco-output"></div>
</configurator-element>
</main>
</body>
Can anyone point out what mistake I might be making here?