question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dist/index.js missing

See original GitHub issue

/node_modules/react-native-app-intro-slider/package.json was successfully found. However, this package itself specifies a main module field that could not be resolved…

indeed, no dist/index.js

image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
Jacsecommented, Apr 15, 2020

It looks like I somehow forgot to build the index.js-file before publishing to npm, really sorry! I’ve updated the scripts so that won’t be possible in the future. Please try with the latest version on npm.

2reactions
thubamambacommented, Apr 15, 2020

Thank you so much @Jacse , it works perfectly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Node.js only resolving dist/index.js other files in module are ...
Both packages compile successfully, but when I run web/dist/index.js I get Error: Cannot find module 'shared/other' .
Read more >
dist/index.js is not installed · Issue #5959 · yarnpkg/yarn - GitHub
The cache was missing the file. After removing the directory, everything works as expected. Sorry for the noise!
Read more >
How to fix Missing class properties transform with react ...
node_modules/react-sortablejs/dist/index.js: Missing class properties transform . I tried every solution suggested in this StackOverflow ...
Read more >
ts-node - npm
TypeScript execution environment and REPL for node.js, with source map support. ... Missing Types; npx, yarn dlx, and node_modules.
Read more >
Module not found with Node on App Service Linux -
_require.module.require (/usr/local/lib/node_modules/pm2/node_modules/require-in-the-middle/index.js:61:29) at require ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found