Comments (2)
googlemaps/google-maps-services-js#1194
from deno.
I get the same error in Node.js:
> cat index.js
const data = require("@googlemaps/google-maps-services-js");
> node index.js
node:internal/modules/cjs/loader:1152
throw err;
^
Error: Cannot find module 'core-js/modules/es.string.replace.js'
Require stack:
- V:\scratch\node_modules\@googlemaps\url-signature\dist\index.umd.js
- V:\scratch\node_modules\@googlemaps\google-maps-services-js\dist\serialize.js
- V:\scratch\node_modules\@googlemaps\google-maps-services-js\dist\directions.js
- V:\scratch\node_modules\@googlemaps\google-maps-services-js\dist\client.js
- V:\scratch\node_modules\@googlemaps\google-maps-services-js\dist\geolocate.js
- V:\scratch\node_modules\@googlemaps\google-maps-services-js\dist\index.js
- V:\scratch\index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1149:15)
at Module._load (node:internal/modules/cjs/loader:990:27)
at Module.require (node:internal/modules/cjs/loader:1237:19)
at require (node:internal/modules/helpers:176:18)
at V:\scratch\node_modules\@googlemaps\url-signature\dist\index.umd.js:1:79
at Object.<anonymous> (V:\scratch\node_modules\@googlemaps\url-signature\dist\index.umd.js:1:807)
at Module._compile (node:internal/modules/cjs/loader:1378:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1437:10)
at Module.load (node:internal/modules/cjs/loader:1212:32)
at Module._load (node:internal/modules/cjs/loader:1028:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'V:\\scratch\\node_modules\\@googlemaps\\url-signature\\dist\\index.umd.js',
'V:\\scratch\\node_modules\\@googlemaps\\google-maps-services-js\\dist\\serialize.js',
'V:\\scratch\\node_modules\\@googlemaps\\google-maps-services-js\\dist\\directions.js',
'V:\\scratch\\node_modules\\@googlemaps\\google-maps-services-js\\dist\\client.js',
'V:\\scratch\\node_modules\\@googlemaps\\google-maps-services-js\\dist\\geolocate.js',
'V:\\scratch\\node_modules\\@googlemaps\\google-maps-services-js\\dist\\index.js',
'V:\\scratch\\index.js'
]
}
from deno.
Related Issues (20)
- `mkdir()` incorrectly returns `undefined` and produces unexpected subsequent results
- Deprecate / Remove `--lock-write` HOT 1
- Way to resolve npm file imports like npm:lib/bin.wasm HOT 2
- `import.meta.resolve` does not resolve `npm:` specifiers that have not been loaded already but are in a package that is already loaded HOT 1
- `Deno.open` successfully opens folders on linux HOT 1
- Expose `zstd` compress to js code HOT 1
- Broken debugger HOT 5
- Bad Content-Length when use octokit upload asset with webStream
- thread 'main' panicked at runtime\worker.rs:701:7 HOT 3
- Some node api may be broken in 1.44.2 ? HOT 1
- Files deno.json and jsr.json are not complementary HOT 2
- Debugging in VsCode doesn't seem to work HOT 1
- Windows compilation error; `deno_permissions` is missing winapi feature flags HOT 3
- --watch behaves strangely HOT 2
- Node streams hang when using `@aws-sdk/client-s3`
- Ability to set start cwd of deno run HOT 3
- The `node:crypto` module doesn't support `TypedArray` like Node.js
- Deno test debug Fatal error in , line 0 when use Deno.run on windows HOT 4
- C++ Integration HOT 1
- Finding Definitions via LSP in Deno HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deno.