Comments (6)
Okay seems like a bug. Will fix it
from adonis-cli.
Are you sure it's coz of that, since the error stack doesn't has much info
from adonis-cli.
C:\test\with space\nospace\test>adonis serve --dev
┌──────────────────────┐
│ │
│ Started server │
│ Watcher: On │
│ Debugger: Off │
│ │
└──────────────────────┘
module.js:473
throw err;
^
Error: Cannot find module 'C:\test\with space\nospace\test\"C:\test\with'
at Function.Module._resolveFilename (module.js:527:15)
at Function.Module._load (module.js:453:25)
at Function.Module.runMain (module.js:665:10)
at startup (bootstrap_node.js:201:16)
at bootstrap_node.js:626:3
Application crashed, make sure to kill all related running process, fix the issue and re-run the app
Error: Cannot find module 'C:\test\with space\nospace\test"C:\test\with'
now i rename "with space" to "withspace"
C:\test\withspace\nospace\test>adonis serve --dev
┌──────────────────────┐
│ │
│ Started server │
│ Watcher: On │
│ Debugger: Off │
│ │
└──────────────────────┘
2017-11-10T10:06:18.117Z - info: serving app on http://127.0.0.1:3333
from adonis-cli.
Hey @cannap! 👋
Which version of Node.js
& npm
are you using?
This is an issue with Chokidar which I've not had time to send a PR to fix. It thinks the directory with a space is a regexp...
Related:
from adonis-cli.
npm 5.3.0
node 8.5.0
from adonis-cli.
The issue is with nodemon directly. I am afraid, cannot help much here
from adonis-cli.
Related Issues (20)
- adonis make:model model
- fs.pathExists is not a function HOT 10
- Ability to log commands and get exit code HOT 5
- Allow watch override ignore directories HOT 2
- Npm install fails when creating new project HOT 6
- Watching files for changes not working on special characters path HOT 1
- CommandNotFoundException HOT 4
- Adonis Cannot find module HOT 9
- Adonis command doesn't recognize my project in Staging environment HOT 4
- Link to Documentation Installing in README.md is broken HOT 1
- adonis serve --dev fails without error information if fs.inotify.max_user_watches=8192 HOT 3
- Could not install Adonis using NPM HOT 6
- Cannot read property 'major' of null HOT 2
- deprecated warnings HOT 1
- [Question] - Custom Generators
- Fix broken anchor links and improve contribution guidelines HOT 1
- not watching for file change on wsl
- Adonis Cli fails to install HOT 1
- Clarify difference between `adonis serve` with and without --dev flag HOT 1
- repl breaks on Node v15.0.0 TypeError: Cannot set property 'history' of undefined
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 adonis-cli.