Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cesium.js doesn't exist #2

Open
cagnulein opened this issue Jun 6, 2022 · 0 comments
Open

Cesium.js doesn't exist #2

cagnulein opened this issue Jun 6, 2022 · 0 comments

Comments

@cagnulein
Copy link

Hi, as referenced here cagnulein/qdomyos-zwift#824 , would be very fun to have a sort of integration from QZ to trainerjs. I was trying to make it up and running but i got this error on npm start

Am I missing something?

ERROR in ./src/index.ts 12:15-34
Module not found: Error: Can't resolve './Cesium' in 'C:\Users\violarob\Downloads\trainerjs-main\src'
resolve './Cesium' in 'C:\Users\violarob\Downloads\trainerjs-main\src'
  using description file: C:\Users\violarob\Downloads\trainerjs-main\package.json (relative path: ./src)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: C:\Users\violarob\Downloads\trainerjs-main\package.json (relative path: ./src/Cesium)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        C:\Users\violarob\Downloads\trainerjs-main\src\Cesium doesn't exist
      .tsx
        Field 'browser' doesn't contain a valid alias configuration
        C:\Users\violarob\Downloads\trainerjs-main\src\Cesium.tsx doesn't exist
      .ts
        Field 'browser' doesn't contain a valid alias configuration
        C:\Users\violarob\Downloads\trainerjs-main\src\Cesium.ts doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        C:\Users\violarob\Downloads\trainerjs-main\src\Cesium.js doesn't exist
      as directory
        C:\Users\violarob\Downloads\trainerjs-main\src\Cesium doesn't exist

ERROR in C:\Users\violarob\Downloads\trainerjs-main\src\index.ts
./src/index.ts 5:28-38
[tsl] ERROR in C:\Users\violarob\Downloads\trainerjs-main\src\index.ts(5,29)
      TS2307: Cannot find module './Cesium' or its corresponding type declarations.

webpack 5.73.0 compiled with 2 errors in 22762 ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant