Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Missingurl dependency?#2014

Unanswered
frankcalise asked this question inQ&A
Discussion options

Using this package through a dependency in my React Native project, but seeing this error.

Android Bundling failed 285043ms src/entry.ts (4919 modules)Error: Unable to resolve module url from /builds/myproject/asdf/asdf-app/node_modules/mqtt/lib/connect/index.js: url could not be found within the project or in these directories:  node_modules/mqtt/node_modules  node_modules  3 | const MqttClient = require('../client')  4 | const Store = require('../store')> 5 | const url = require('url')    |                      ^  6 | const xtend = require('xtend')  7 | const debug = require('debug')('mqttjs')  8 |error Command failed with exit code 1.info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Installing this package in my dependencies clears it up, but should it be a dependency of this package?

You must be logged in to vote

Replies: 1 comment

Comment options

how are you importing mqtt into your project? Check docs

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
2 participants
@frankcalise@robertsLando

[8]ページ先頭

©2009-2025 Movatter.jp