Continuous Builds Demo - Error Loading


I’m new using StealJS.
Trying the demo “Continuous Builds” using:
steal-tools --watch
I got some problems.

With the second step:

var can = require("can");

after adding the components/hello/hello.js and components/hello/hello.stache, I got the following error:

Potentially unhandled rejection [14] Error: Error loading "components/hello/hello.stache" at file::/path/to/project/components/hello/hello.stache.js

Error loading “components/hello/hello.stache” from “main” at file:/path/to/project/main.js`

project path directory tree is the following:

├── components
│   └── hello
│       ├── hello.js
│       └── hello.stache
├── dist
│   └── bundles
│       ├── main.js
│       └── src
├── index.html
├── main.js
├── node_modules
│   ├── can
│   ├── http-server
│   └── steal   
└── package.json

Any suggestions?
Thank you!



Enviroment problems. For me worked only with:

"dependencies": {
    "can": "^2.3.27",
    "jquery": "^2.2.4",
    "steal": "^0.16.41"

However, I got a new error, in the browser:

GET 404 (Not Found) steal.js:2656 
Error loading "can" at steal.js:6363 
Error loading "can" from "main" at
Not Found: undefined
GET 404 (Not Found) steal.js:2656 
GET 404 (Not Found) steal.js:2656 
GET 404 (Not Found) steal.js:2656

This isseus will be solved only if remove the attribute env=“production” in the tag of the index.html, but i don’t think this is the correct procedure(*).

(*) Need to build the project with steal-tools manually (continuous build fails sometimes), and change the tag in the index.html with.

<script src="./node_modules/steal/steal.production.js env="production" main="main"></script>