How to add any extra file in container if not added at npm run generate
See original GitHub issueDescription
If I add any file( eg. messages.js which I did not add while generating ) after I generated the container, I get linting errors. Is there a different way to add files?
Steps to reproduce
npm run generate
and select no in all options provided. Then try adding messages or constants file by simply clicking on create a file in vsCode. It will show linting errors and won’t be resolved no matter what you do(auto-fix won’t work as well).
Expected behavior I should not get the linting error when I add messages, actions, or constants files.
Screenshots
Versions
- React-Boilerplate: v4.0.0
- Node/NPM: Node@v10.16.3 and npm 6.9.0
- Browser: Not applicable
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
npm - Install node_modules inside Docker container and ...
The first thing is done: node_modules are installed automatically. The second thing is done too: node_modules are installed inside the Docker ...
Read more >Build and run a Node.js app in a container - Visual Studio Code
Open the project folder in VS Code. · Open the Command Palette (Ctrl+Shift+P) and use Docker: Add Docker Files to Workspace... command: ·...
Read more >Using Docker for Node.js in Development and Production
By simple, I mean that your code does not have any extra native dependencies or build logic. FROM node:10-alpine WORKDIR /usr/src/app COPY ...
Read more >Best practices for writing Dockerfiles - Docker Documentation
When you run an image and generate a container, you add a new writable layer (the “container layer”) ... without sending additional files...
Read more >9 Common Dockerfile Mistakes - Runnablog
Volumes in your image are added when you run your container, not when you build it. In a similar way to #5, you...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I always add file manually when working with RBP.
The VSCode usually will give you a hint for the errors by hovering at the “red error marks” Do you have prettier and eslint addons installed in your VSCode?
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.