Error while I try generate a project
See original GitHub issueHi!, I installed vue-init following steps that describes at vue-init respositories, but when I run vue init webpack example
or vue init
I get the next error:
module.js:457
throw err;
^
Error: Cannot find module './src/init'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/usr/lib/node_modules/vue-cli/node_modules/gulp-sourcemaps/index.js:4:9)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
Ubuntu: 16.04 64-bit, Proccessor: Intel® Core™ i5 CPU M 460 @ 2.53GHz × 4 Node: 6.7.0 npm: 3.10.3
Thanks!
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
UE5 C++ Error while trying to generate project - World Creation
An error occurred while trying to generate project files. Running D:/UE_5.0EA/Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.exe - ...
Read more >Getting an error while creating a new project in VS2019
After integration with ClearCase, when we create a new project, we are getting a error message dialog of Visual Studio. The error says...
Read more >Error when building project - Ask - GameDev.tv Community
Try right-clicking on ObstacleAssault.uproject and select “Generate Visual Studio project files”. I'm using Visual Studio so my context menu ...
Read more >Error thrown when creating a new project Visual Studio
I've recently uninstalled and reinstalled Visual Studio Community 2015 and now when I try to create a new project this error is thrown:....
Read more >Error while trying to run project: Unable to start program ...
Error while trying to run project: Unable to start program. Refresh the process list before attempting another attach.
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 FreeTop 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
Top GitHub Comments
TEMPORARY SOLUTION
There is an issue with the gulp-sourcemaps module that is installed with vue-cli. Please see the issue here: https://github.com/floridoo/gulp-sourcemaps/issues/242
I fixed the issue finally after manually downloading the gulp-sourcemaps repository and placing its contents in the gulp-sourcemaps folder found in the node_modules of your vue-cli installation.
When installing vue-cli, the “src” folder for gulp-sourcemaps was not installed. By copying the repository which includes the “src” folder, I was able to get it running.
same issue with mac … any workaround? Would love to know what version of vue-cli and vue and node with npm versions are stupposed to work properly…
@Phunky were you able to find a workaround ? If so, do you mind sharing with us? Thanks!