We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Locally, everything is working fine. I have an express server which uses the mapbox geocoding API for text-based location search.
I have the following installed in my package.json
package.json
"dependencies": { "@mapbox/mapbox-sdk": "^0.16.1", }, "devDependencies": { "@types/mapbox__mapbox-sdk": "^0.16.0", }
and this entry in my tsconfig.json:
tsconfig.json
"types": [ "jest", "@types/mapbox__mapbox-sdk" ]
However, as I run the server in production, I am getting this error:
Cannot find module '/node_modules/@mapbox/mapbox-sdk/services/geocoding' imported from /src/api/search/map-search.controller.js
mapbox is the only package which does not appear to work here. Note, that I am using TypeScript throughout my application here.
TypeScript
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Locally, everything is working fine. I have an express server which uses the mapbox geocoding API for text-based location search.
I have the following installed in my
package.json
and this entry in my
tsconfig.json
:However, as I run the server in production, I am getting this error:
mapbox is the only package which does not appear to work here. Note, that I am using
TypeScript
throughout my application here.The text was updated successfully, but these errors were encountered: