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
Fork express-ws
Include your fork via its GitHub URL in your project (e.g., github:aral/express-ws#referential-routes – this will actually demonstrate the problem)
github:aral/express-ws#referential-routes
Run your app/tests.
It should work.
…/node_modules/express-ws/index.js:1 Error: Cannot find module './src/index'`
There is an .npmignore file that ignored the src/ directory.
.npmignore
src/
There’s a pre-publish process that uses Babel that’s not documented or captured in the repository.
Document build process and add any necessary configuration / dev-dependencies to the repository.
Delete the .npmignore file.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
To reproduce
Fork express-ws
Include your fork via its GitHub URL in your project (e.g.,
github:aral/express-ws#referential-routes
– this will actually demonstrate the problem)Run your app/tests.
What should happen
It should work.
What actually happens
Why it happens
There is an
.npmignore
file that ignored thesrc/
directory.The actual issue
There’s a pre-publish process that uses Babel that’s not documented or captured in the repository.
Suggested fix
Document build process and add any necessary configuration / dev-dependencies to the repository.
Workaround
Delete the
.npmignore
file.The text was updated successfully, but these errors were encountered: